Title: fileinput.hook_compressed returning bytes from gz file · Issue #50008 · python/cpython · GitHub
Open Graph Title: fileinput.hook_compressed returning bytes from gz file · Issue #50008 · python/cpython
X Title: fileinput.hook_compressed returning bytes from gz file · Issue #50008 · python/cpython
Description: BPO 5758 Nosy @amauryfa, @jaraco, @merwok, @bitdancer, @methane PRs #25272 Files example.zip: ZIP file containing test exampleissue5758_fileinput_gzip_with_encoding.patch: Fixed issue #50008. fileinput.hook_compressed returns string (and...
Open Graph Description: BPO 5758 Nosy @amauryfa, @jaraco, @merwok, @bitdancer, @methane PRs #25272 Files example.zip: ZIP file containing test exampleissue5758_fileinput_gzip_with_encoding.patch: Fixed issue #50008. filei...
X Description: BPO 5758 Nosy @amauryfa, @jaraco, @merwok, @bitdancer, @methane PRs #25272 Files example.zip: ZIP file containing test exampleissue5758_fileinput_gzip_with_encoding.patch: Fixed issue #50008. filei...
Opengraph URL: https://github.com/python/cpython/issues/50008
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"fileinput.hook_compressed returning bytes from gz file","articleBody":"BPO | [5758](https://bugs.python.org/issue5758)\n--- | :---\nNosy | @amauryfa, @jaraco, @merwok, @bitdancer, @methane\nPRs | \u003cli\u003epython/cpython#25272\u003c/li\u003e\nFiles | \u003cli\u003e[example.zip](https://bugs.python.org/file13688/example.zip \"Uploaded as application/zip at 2009-04-14.23:47:59 by mnewman\"): ZIP file containing test example\u003c/li\u003e\u003cli\u003e[issue5758_fileinput_gzip_with_encoding.patch](https://bugs.python.org/file24807/issue5758_fileinput_gzip_with_encoding.patch \"Uploaded as text/plain at 2012-03-13.00:10:04 by tati_alchueyr\"): Fixed issue python/cpython#50008. fileinput.hook_compressed returns string (and not bytes) from gz file again.\u003c/li\u003e\u003cli\u003e[issue5758_fileinput_gzip_with_encoding_v2.patch](https://bugs.python.org/file24815/issue5758_fileinput_gzip_with_encoding_v2.patch \"Uploaded as text/plain at 2012-03-13.07:36:42 by tati_alchueyr\"): New version of the patch after reviewer's considerations\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/merwok'\nclosed_at = \u003cDate 2021-04-14.05:13:39.981\u003e\ncreated_at = \u003cDate 2009-04-14.23:48:01.306\u003e\nlabels = ['type-bug', 'library', '3.10']\ntitle = 'fileinput.hook_compressed returning bytes from gz file'\nupdated_at = \u003cDate 2021-05-26.03:46:18.079\u003e\nuser = 'https://bugs.python.org/mnewman'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2021-05-26.03:46:18.079\u003e\nactor = 'methane'\nassignee = 'eric.araujo'\nclosed = True\nclosed_date = \u003cDate 2021-04-14.05:13:39.981\u003e\ncloser = 'methane'\ncomponents = ['Library (Lib)']\ncreation = \u003cDate 2009-04-14.23:48:01.306\u003e\ncreator = 'mnewman'\ndependencies = []\nfiles = ['13688', '24807', '24815']\nhgrepos = []\nissue_num = 5758\nkeywords = ['patch']\nmessage_count = 21.0\nmessages = ['85978', '111063', '155471', '155532', '155538', '155540', '155543', '155548', '155553', '155554', '155577', '155595', '155618', '155622', '155624', '348642', '394286', '394287', '394290', '394338', '394413']\nnosy_count = 7.0\nnosy_names = ['amaury.forgeotdarc', 'jaraco', 'eric.araujo', 'r.david.murray', 'mnewman', 'methane', 'tati_alchueyr']\npr_nums = ['25272']\npriority = 'normal'\nresolution = 'fixed'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue5758'\nversions = ['Python 3.10']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/mnewman","@type":"Person","name":"mnewman"},"datePublished":"2009-04-14T23:48:01.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":21},"url":"https://github.com/50008/cpython/issues/50008"}
| 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:0bb6d331-dfda-53d8-6be5-ff7b7eb344a4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8D1E:FF37F:748F47:9FA0EB:6A57D84A |
| html-safe-nonce | bc390c3c4f7a3b0e69b6ecd314a9cce25afe2a8412893fc4d39e0621c0c21eac |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RDFFOkZGMzdGOjc0OEY0Nzo5RkEwRUI6NkE1N0Q4NEEiLCJ2aXNpdG9yX2lkIjoiMTQ0MTg4OTgxMzc1ODcyODI2NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c043afb5faab0f6dfb5021fe6669de09240baa03d33a02c9a36c3098820e423c |
| hovercard-subject-tag | issue:1198843330 |
| 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/50008/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fcdbf9bd9c27656a2225a0e1de979678ded36369d82ed7ca194e959568a7b206/python/cpython/issues/50008 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fcdbf9bd9c27656a2225a0e1de979678ded36369d82ed7ca194e959568a7b206/python/cpython/issues/50008 |
| og:image:alt | BPO 5758 Nosy @amauryfa, @jaraco, @merwok, @bitdancer, @methane PRs #25272 Files example.zip: ZIP file containing test exampleissue5758_fileinput_gzip_with_encoding.patch: Fixed issue #50008. filei... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mnewman |
| hostname | github.com |
| expected-hostname | github.com |
| None | 837767abbd14b05f219fd812ef2842c659968b63619e1b966dded83972ab5bca |
| 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 | 9044d0f867aa9892268d1f430238ff123e11ee91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width