Title: Incorrect docstring for `Unpacker.read_size` · Issue #697 · msgpack/msgpack-python · GitHub
Open Graph Title: Incorrect docstring for `Unpacker.read_size` · Issue #697 · msgpack/msgpack-python
X Title: Incorrect docstring for `Unpacker.read_size` · Issue #697 · msgpack/msgpack-python
Description: Docs say: :param int read_size: Used as `file_like.read(read_size)`. (default: `min(16*1024, max_buffer_size)`) Code say: read_size = min(max_buffer_size, 1024**2)
Open Graph Description: Docs say: :param int read_size: Used as `file_like.read(read_size)`. (default: `min(16*1024, max_buffer_size)`) Code say: read_size = min(max_buffer_size, 1024**2)
X Description: Docs say: :param int read_size: Used as `file_like.read(read_size)`. (default: `min(16*1024, max_buffer_size)`) Code say: read_size = min(max_buffer_size, 1024**2)
Opengraph URL: https://github.com/msgpack/msgpack-python/issues/697
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Incorrect docstring for `Unpacker.read_size`","articleBody":"Docs say:\n```\n:param int read_size:\n Used as `file_like.read(read_size)`. (default: `min(16*1024, max_buffer_size)`)\n```\n\nCode say:\n```python\nread_size = min(max_buffer_size, 1024**2)\n```","author":{"url":"https://github.com/senyai","@type":"Person","name":"senyai"},"datePublished":"2026-06-17T11:11:08.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/697/msgpack-python/issues/697"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c04aeffc-3998-552d-c512-5a3a3dabd8d3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D084:50FD4:3F4DCDB:57C7595:6A4F59EF |
| html-safe-nonce | 6f61d5fb08abb0c74a961bc23ced12148e5f461f60d92b0a513b484df94efcfb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDg0OjUwRkQ0OjNGNERDREI6NTdDNzU5NTo2QTRGNTlFRiIsInZpc2l0b3JfaWQiOiI2MzYzMTQ5MDg2MjQyMDY4OTc1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | edcd9ff736bed8300721d6cd550c8aca219d3f2b8524e3df190347410f2a6136 |
| hovercard-subject-tag | issue:4682668498 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/msgpack/msgpack-python/697/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4a67f5a537f32127edb07c3e96a8c175106606bb12db6eced3f71fb93d58494c/msgpack/msgpack-python/issues/697 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4a67f5a537f32127edb07c3e96a8c175106606bb12db6eced3f71fb93d58494c/msgpack/msgpack-python/issues/697 |
| og:image:alt | Docs say: :param int read_size: Used as `file_like.read(read_size)`. (default: `min(16*1024, max_buffer_size)`) Code say: read_size = min(max_buffer_size, 1024**2) |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | senyai |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| turbo-cache-control | no-preview |
| go-import | github.com/msgpack/msgpack-python git https://github.com/msgpack/msgpack-python.git |
| octolytics-dimension-user_id | 198264 |
| octolytics-dimension-user_login | msgpack |
| octolytics-dimension-repository_id | 2242705 |
| octolytics-dimension-repository_nwo | msgpack/msgpack-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 2242705 |
| octolytics-dimension-repository_network_root_nwo | msgpack/msgpack-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4b249b445842943ed31549e027f57a8ade9881ed |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width