Title: Mailbox module should use binary I/O, not text I/O · Issue #53370 · python/cpython · GitHub
Open Graph Title: Mailbox module should use binary I/O, not text I/O · Issue #53370 · python/cpython
X Title: Mailbox module should use binary I/O, not text I/O · Issue #53370 · python/cpython
Description: BPO 9124 Nosy @birkenfeld, @rhettinger, @pitrou, @vstinner, @giampaolo, @regebro, @bitdancer Files test_thunderbird_mailbox.pytest.mailbox: Test data for Thunderbird mailbox readertest2.5.out: 2.5 profiler output showing non-setup time i...
Open Graph Description: BPO 9124 Nosy @birkenfeld, @rhettinger, @pitrou, @vstinner, @giampaolo, @regebro, @bitdancer Files test_thunderbird_mailbox.pytest.mailbox: Test data for Thunderbird mailbox readertest2.5.out: 2.5 ...
X Description: BPO 9124 Nosy @birkenfeld, @rhettinger, @pitrou, @vstinner, @giampaolo, @regebro, @bitdancer Files test_thunderbird_mailbox.pytest.mailbox: Test data for Thunderbird mailbox readertest2.5.out: 2.5 ...
Opengraph URL: https://github.com/python/cpython/issues/53370
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Mailbox module should use binary I/O, not text I/O","articleBody":"BPO | [9124](https://bugs.python.org/issue9124)\n--- | :---\nNosy | @birkenfeld, @rhettinger, @pitrou, @vstinner, @giampaolo, @regebro, @bitdancer\nFiles | \u003cli\u003e[test_thunderbird_mailbox.py](https://bugs.python.org/file17809/test_thunderbird_mailbox.py \"Uploaded as text/plain at 2010-06-30.12:28:20 by holdenweb\")\u003c/li\u003e\u003cli\u003e[test.mailbox](https://bugs.python.org/file17810/test.mailbox \"Uploaded as text/plain at 2010-06-30.12:29:27 by holdenweb\"): Test data for Thunderbird mailbox reader\u003c/li\u003e\u003cli\u003e[test2.5.out](https://bugs.python.org/file17811/test2.5.out \"Uploaded as text/plain at 2010-06-30.12:32:30 by holdenweb\"): 2.5 profiler output showing non-setup time is concentrated on mailbox itervalues\u003c/li\u003e\u003cli\u003e[test3.1.out](https://bugs.python.org/file17812/test3.1.out \"Uploaded as text/plain at 2010-06-30.12:34:57 by holdenweb\"): 3.1 profiler output showing that 1.3M+ calls to cp1252.decode use almost half the CPU\u003c/li\u003e\u003cli\u003e[mailbox.patch](https://bugs.python.org/file20522/mailbox.patch \"Uploaded as text/plain at 2011-01-26.00:58:46 by @vstinner\")\u003c/li\u003e\u003cli\u003e[BytesGenerator_handle_text.patch](https://bugs.python.org/file20530/BytesGenerator_handle_text.patch \"Uploaded as text/plain at 2011-01-26.10:00:29 by @vstinner\")\u003c/li\u003e\u003cli\u003e[mailbox2.patch](https://bugs.python.org/file20532/mailbox2.patch \"Uploaded as text/plain at 2011-01-26.14:21:12 by @pitrou\")\u003c/li\u003e\u003cli\u003e[mailbox3.2.patch](https://bugs.python.org/file20585/mailbox3.2.patch \"Uploaded as text/plain at 2011-01-28.21:23:37 by @bitdancer\")\u003c/li\u003e\u003cli\u003e[mailbox4.patch](https://bugs.python.org/file20606/mailbox4.patch \"Uploaded as text/plain at 2011-01-29.17:25:45 by @bitdancer\")\u003c/li\u003e\u003cli\u003e[mailbox5.patch](https://bugs.python.org/file20608/mailbox5.patch \"Uploaded as text/plain at 2011-01-29.19:24:39 by @bitdancer\")\u003c/li\u003e\u003cli\u003e[mailbox6.patch](https://bugs.python.org/file20614/mailbox6.patch \"Uploaded as text/plain at 2011-01-29.21:56:15 by @bitdancer\")\u003c/li\u003e\n\n\u003csup\u003e*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup\u003e\n\n\u003cdetails\u003e\u003csummary\u003eShow more details\u003c/summary\u003e\u003cp\u003e\n\nGitHub fields:\n```python\nassignee = 'https://github.com/bitdancer'\nclosed_at = \u003cDate 2011-01-30.06:23:56.626\u003e\ncreated_at = \u003cDate 2010-06-30.12:28:21.574\u003e\nlabels = ['type-bug', 'library', 'release-blocker']\ntitle = 'Mailbox module should use binary I/O, not text I/O'\nupdated_at = \u003cDate 2011-01-30.06:23:56.625\u003e\nuser = 'https://bugs.python.org/holdenweb'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2011-01-30.06:23:56.625\u003e\nactor = 'r.david.murray'\nassignee = 'r.david.murray'\nclosed = True\nclosed_date = \u003cDate 2011-01-30.06:23:56.626\u003e\ncloser = 'r.david.murray'\ncomponents = ['Library (Lib)']\ncreation = \u003cDate 2010-06-30.12:28:21.574\u003e\ncreator = 'holdenweb'\ndependencies = []\nfiles = ['17809', '17810', '17811', '17812', '20522', '20530', '20532', '20585', '20606', '20608', '20614']\nhgrepos = []\nissue_num = 9124\nkeywords = ['patch']\nmessage_count = 46.0\nmessages = ['108978', '108979', '126078', '126079', '126082', '126085', '126139', '126144', '126153', '126994', '127002', '127005', '127036', '127078', '127079', '127087', '127089', '127097', '127101', '127104', '127119', '127135', '127148', '127168', '127245', '127303', '127305', '127309', '127310', '127313', '127324', '127327', '127338', '127343', '127346', '127349', '127354', '127392', '127395', '127406', '127418', '127446', '127459', '127472', '127491', '127518']\nnosy_count = 9.0\nnosy_names = ['georg.brandl', 'rhettinger', 'holdenweb', 'pitrou', 'vstinner', 'giampaolo.rodola', 'lregebro', 'r.david.murray', 'sdaoden']\npr_nums = []\npriority = 'release blocker'\nresolution = 'fixed'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue9124'\nversions = ['Python 3.2']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/holdenweb","@type":"Person","name":"holdenweb"},"datePublished":"2010-06-30T12:28:22.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":47},"url":"https://github.com/53370/cpython/issues/53370"}
| 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:7e3c58e5-06e8-b449-38d6-e9c470d09e67 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AA72:223B79:10C6C47:166C703:6A5298F0 |
| html-safe-nonce | 330d36db83cea66c59448c5d6c0c93f4950b353c55ef34eb768198fe97bf5370 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQTcyOjIyM0I3OToxMEM2QzQ3OjE2NkM3MDM6NkE1Mjk4RjAiLCJ2aXNpdG9yX2lkIjoiMzMyODAzMTQxNDgzMDY2ODAxNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 449e7ba2168c3040fda66299b3d0c2c0c647299ed52f86ae34e4d1b37a249143 |
| hovercard-subject-tag | issue:1198857154 |
| 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/python/cpython/53370/issue_layout |
| twitter:image | https://opengraph.githubassets.com/106ed4f14ffa45eded3b7195a600d80aed6f9b5a0d6f7e932dae269d2bf6eb77/python/cpython/issues/53370 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/106ed4f14ffa45eded3b7195a600d80aed6f9b5a0d6f7e932dae269d2bf6eb77/python/cpython/issues/53370 |
| og:image:alt | BPO 9124 Nosy @birkenfeld, @rhettinger, @pitrou, @vstinner, @giampaolo, @regebro, @bitdancer Files test_thunderbird_mailbox.pytest.mailbox: Test data for Thunderbird mailbox readertest2.5.out: 2.5 ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | holdenweb |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width