Title: unnecessary copying of memoryview in gzip.GzipFile.write? · Issue #67876 · python/cpython · GitHub
Open Graph Title: unnecessary copying of memoryview in gzip.GzipFile.write? · Issue #67876 · python/cpython
X Title: unnecessary copying of memoryview in gzip.GzipFile.write? · Issue #67876 · python/cpython
Description: BPO 23688 Nosy @vstinner, @skrah, @vadmium, @serhiy-storchaka, @wm75 Files memoryview_write.patchtest_memoryview_write.patchwrite_bytes_like_objects.patchwrite_bytes_like_objects_v2.patchwrite_bytes_like_objects_v3.patchgzip_write_noncon...
Open Graph Description: BPO 23688 Nosy @vstinner, @skrah, @vadmium, @serhiy-storchaka, @wm75 Files memoryview_write.patchtest_memoryview_write.patchwrite_bytes_like_objects.patchwrite_bytes_like_objects_v2.patchwrite_byte...
X Description: BPO 23688 Nosy @vstinner, @skrah, @vadmium, @serhiy-storchaka, @wm75 Files memoryview_write.patchtest_memoryview_write.patchwrite_bytes_like_objects.patchwrite_bytes_like_objects_v2.patchwrite_byte...
Opengraph URL: https://github.com/python/cpython/issues/67876
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"unnecessary copying of memoryview in gzip.GzipFile.write?","articleBody":"BPO | [23688](https://bugs.python.org/issue23688)\n--- | :---\nNosy | @vstinner, @skrah, @vadmium, @serhiy-storchaka, @wm75\nFiles | \u003cli\u003e[memoryview_write.patch](https://bugs.python.org/file38521/memoryview_write.patch \"Uploaded as text/plain at 2015-03-17.14:27:07 by @wm75\")\u003c/li\u003e\u003cli\u003e[test_memoryview_write.patch](https://bugs.python.org/file38526/test_memoryview_write.patch \"Uploaded as text/plain at 2015-03-17.15:47:16 by @wm75\")\u003c/li\u003e\u003cli\u003e[write_bytes_like_objects.patch](https://bugs.python.org/file38600/write_bytes_like_objects.patch \"Uploaded as text/plain at 2015-03-20.13:17:41 by @wm75\")\u003c/li\u003e\u003cli\u003e[write_bytes_like_objects_v2.patch](https://bugs.python.org/file38639/write_bytes_like_objects_v2.patch \"Uploaded as text/plain at 2015-03-22.22:21:45 by @wm75\")\u003c/li\u003e\u003cli\u003e[write_bytes_like_objects_v3.patch](https://bugs.python.org/file38650/write_bytes_like_objects_v3.patch \"Uploaded as text/plain at 2015-03-23.10:28:12 by @wm75\")\u003c/li\u003e\u003cli\u003e[gzip_write_noncontiguous.patch](https://bugs.python.org/file38656/gzip_write_noncontiguous.patch \"Uploaded as text/plain at 2015-03-23.14:37:02 by @serhiy-storchaka\")\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/serhiy-storchaka'\nclosed_at = \u003cDate 2015-03-23.13:32:26.028\u003e\ncreated_at = \u003cDate 2015-03-17.14:26:04.343\u003e\nlabels = ['library', 'performance']\ntitle = 'unnecessary copying of memoryview in gzip.GzipFile.write?'\nupdated_at = \u003cDate 2015-03-23.14:59:32.704\u003e\nuser = 'https://github.com/wm75'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2015-03-23.14:59:32.704\u003e\nactor = 'serhiy.storchaka'\nassignee = 'serhiy.storchaka'\nclosed = True\nclosed_date = \u003cDate 2015-03-23.13:32:26.028\u003e\ncloser = 'serhiy.storchaka'\ncomponents = ['Library (Lib)']\ncreation = \u003cDate 2015-03-17.14:26:04.343\u003e\ncreator = 'wolma'\ndependencies = []\nfiles = ['38521', '38526', '38600', '38639', '38650', '38656']\nhgrepos = []\nissue_num = 23688\nkeywords = ['patch']\nmessage_count = 31.0\nmessages = ['238294', '238295', '238300', '238301', '238304', '238305', '238307', '238308', '238315', '238329', '238344', '238350', '238376', '238385', '238666', '238946', '239006', '239015', '239019', '239020', '239024', '239027', '239029', '239030', '239031', '239032', '239033', '239034', '239035', '239036', '239037']\nnosy_count = 6.0\nnosy_names = ['vstinner', 'skrah', 'python-dev', 'martin.panter', 'serhiy.storchaka', 'wolma']\npr_nums = []\npriority = 'normal'\nresolution = 'fixed'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = None\ntype = 'performance'\nurl = 'https://bugs.python.org/issue23688'\nversions = ['Python 3.5']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/wm75","@type":"Person","name":"wm75"},"datePublished":"2015-03-17T14:26:04.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":31},"url":"https://github.com/67876/cpython/issues/67876"}
| 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:eecb28ef-75ea-2b9a-653f-48027c78f127 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A3BE:2D5E27:E78129:13A94CE:6A52022B |
| html-safe-nonce | 6dd1e99357c4162f5001bbe4a5adfd184b833eada9366b92fa7221dbe83e5332 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBM0JFOjJENUUyNzpFNzgxMjk6MTNBOTRDRTo2QTUyMDIyQiIsInZpc2l0b3JfaWQiOiIyMjg4NTk1MTM1MzAxMjg4NDkyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | ea760923cb77cfeca9ac5bf86a87961fdcffaf15843657c9e9d89bb5add753ef |
| hovercard-subject-tag | issue:1198932710 |
| 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/67876/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b06da7483f35e0c4b4c85169bb344680957428ab7ec0a2712da1de9d2ddfc8cb/python/cpython/issues/67876 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b06da7483f35e0c4b4c85169bb344680957428ab7ec0a2712da1de9d2ddfc8cb/python/cpython/issues/67876 |
| og:image:alt | BPO 23688 Nosy @vstinner, @skrah, @vadmium, @serhiy-storchaka, @wm75 Files memoryview_write.patchtest_memoryview_write.patchwrite_bytes_like_objects.patchwrite_bytes_like_objects_v2.patchwrite_byte... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | wm75 |
| 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 | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width