pull_requests: 1295123787
This data as json
id | node_id | number | state | locked | title | user | body | created_at | updated_at | closed_at | merged_at | merge_commit_sha | assignee | milestone | draft | head | base | author_association | auto_merge | repo | url | merged_by |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1295123787 | PR_kwDOAMm_X85NMgVL | 7698 | open | 0 | Use read1 instead of read to get magic number | 10678620 | Addresses #7697. I changed the isinstance check because neither `read` nor `read1` are provided by IOBase. Only RawIOBase and BufferedIOBase provide `read` and `read1` respectively. I think that there is little benefit to using `.tell()`. I suggest the following: ```python filename_or_obj.seek(0) magic_number = filename_or_obj.read1(count) filename_or_obj.seek(0) ``` | 2023-03-29T18:57:23Z | 2023-04-18T22:36:30Z | fadc9b6bc1551d86c606c3304bad80d7ba378da1 | 0 | 085d7f3dde51f2af517f5922725bde1ee06405d2 | 44488288fd8309e3468ee45a5f7408d75a21f493 | FIRST_TIME_CONTRIBUTOR | 13221727 | https://github.com/pydata/xarray/pull/7698 |
Links from other tables
- 3 rows from pull_requests_id in labels_pull_requests