Title: performance problem in socket._fileobject.read · Issue #46884 · python/cpython · GitHub
Open Graph Title: performance problem in socket._fileobject.read · Issue #46884 · python/cpython
X Title: performance problem in socket._fileobject.read · Issue #46884 · python/cpython
Description: BPO 2632 Nosy @warsaw, @akuchling, @doko42, @gpshead, @pitrou, @benjaminp Files socket.py.diff: Revised fixsocket-strio-gps01.patch.txt: patch to avoid long lifetime of large strings by using StringIO [against trunk r62440] Note: these v...
Open Graph Description: BPO 2632 Nosy @warsaw, @akuchling, @doko42, @gpshead, @pitrou, @benjaminp Files socket.py.diff: Revised fixsocket-strio-gps01.patch.txt: patch to avoid long lifetime of large strings by using Strin...
X Description: BPO 2632 Nosy @warsaw, @akuchling, @doko42, @gpshead, @pitrou, @benjaminp Files socket.py.diff: Revised fixsocket-strio-gps01.patch.txt: patch to avoid long lifetime of large strings by using Strin...
Opengraph URL: https://github.com/python/cpython/issues/46884
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"performance problem in socket._fileobject.read","articleBody":"BPO | [2632](https://bugs.python.org/issue2632)\n--- | :---\nNosy | @warsaw, @akuchling, @doko42, @gpshead, @pitrou, @benjaminp\nFiles | \u003cli\u003e[socket.py.diff](https://bugs.python.org/file10032/socket.py.diff \"Uploaded as text/plain at 2008-04-15.05:24:23 by CurtHagenlocher\"): Revised fix\u003c/li\u003e\u003cli\u003e[socket-strio-gps01.patch.txt](https://bugs.python.org/file10071/socket-strio-gps01.patch.txt \"Uploaded as text/plain at 2008-04-21.18:00:47 by @gpshead\"): patch to avoid long lifetime of large strings by using StringIO [against trunk r62440]\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/gpshead'\nclosed_at = \u003cDate 2008-07-06.04:04:51.189\u003e\ncreated_at = \u003cDate 2008-04-14.18:30:16.246\u003e\nlabels = ['release-blocker', 'library', 'performance']\ntitle = 'performance problem in socket._fileobject.read'\nupdated_at = \u003cDate 2008-07-06.04:04:51.167\u003e\nuser = 'https://bugs.python.org/CurtHagenlocher'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2008-07-06.04:04:51.167\u003e\nactor = 'gregory.p.smith'\nassignee = 'gregory.p.smith'\nclosed = True\nclosed_date = \u003cDate 2008-07-06.04:04:51.189\u003e\ncloser = 'gregory.p.smith'\ncomponents = ['Library (Lib)']\ncreation = \u003cDate 2008-04-14.18:30:16.246\u003e\ncreator = 'CurtHagenlocher'\ndependencies = []\nfiles = ['10032', '10071']\nhgrepos = []\nissue_num = 2632\nkeywords = ['patch']\nmessage_count = 26.0\nmessages = ['65472', '65473', '65485', '65486', '65487', '65489', '65499', '65500', '65528', '65561', '65607', '65664', '65669', '65756', '66098', '66267', '66269', '66278', '66294', '66306', '66400', '66984', '67945', '68191', '68192', '69315']\nnosy_count = 10.0\nnosy_names = ['barry', 'akuchling', 'doko', 'gregory.p.smith', 'pitrou', 'draghuram', 'forest', 'schmir', 'benjamin.peterson', 'CurtHagenlocher']\npr_nums = []\npriority = 'release blocker'\nresolution = 'fixed'\nstage = None\nstatus = 'closed'\nsuperseder = None\ntype = 'performance'\nurl = 'https://bugs.python.org/issue2632'\nversions = ['Python 2.5']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/CurtHagenlocher","@type":"Person","name":"CurtHagenlocher"},"datePublished":"2008-04-14T18:30:16.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":26},"url":"https://github.com/46884/cpython/issues/46884"}
| 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:3c59d7b1-76a6-2018-6384-f1d5461ff4c3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C194:2180CA:21357AF:2CA08EF:6A546C17 |
| html-safe-nonce | 1536aebbd4ea5b57ebf0d75a15bdc2dbec80a46bff61312dce94ff768071462c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMTk0OjIxODBDQToyMTM1N0FGOjJDQTA4RUY6NkE1NDZDMTciLCJ2aXNpdG9yX2lkIjoiNTk4Njk3MDMzODM1Mjk4MzA2MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | bc06684dfd143194d7429a64ee30c93c5f07479e95303962bb3c1fb6e2cb9589 |
| hovercard-subject-tag | issue:1198830865 |
| 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/46884/issue_layout |
| twitter:image | https://opengraph.githubassets.com/11a94bb45d200283b2b166c8b97b48a768db686dd7ddd3526c3e4c6258bc81aa/python/cpython/issues/46884 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/11a94bb45d200283b2b166c8b97b48a768db686dd7ddd3526c3e4c6258bc81aa/python/cpython/issues/46884 |
| og:image:alt | BPO 2632 Nosy @warsaw, @akuchling, @doko42, @gpshead, @pitrou, @benjaminp Files socket.py.diff: Revised fixsocket-strio-gps01.patch.txt: patch to avoid long lifetime of large strings by using Strin... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | CurtHagenlocher |
| 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 | 6d28624802c2f7d9500239dd6870ed7031b7353b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width