Title: os.fdopen doesn't raise on invalid file descriptors · Issue #49241 · python/cpython · GitHub
Open Graph Title: os.fdopen doesn't raise on invalid file descriptors · Issue #49241 · python/cpython
X Title: os.fdopen doesn't raise on invalid file descriptors · Issue #49241 · python/cpython
Description: BPO 4991 Nosy @pitrou, @benjaminp Files raise_on_bad_fd.patchraise_on_bad_fd2.patch Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state. Show more details GitHub fields: a...
Open Graph Description: BPO 4991 Nosy @pitrou, @benjaminp Files raise_on_bad_fd.patchraise_on_bad_fd2.patch Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current s...
X Description: BPO 4991 Nosy @pitrou, @benjaminp Files raise_on_bad_fd.patchraise_on_bad_fd2.patch Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current s...
Opengraph URL: https://github.com/python/cpython/issues/49241
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"os.fdopen doesn't raise on invalid file descriptors","articleBody":"BPO | [4991](https://bugs.python.org/issue4991)\n--- | :---\nNosy | @pitrou, @benjaminp\nFiles | \u003cli\u003e[raise_on_bad_fd.patch](https://bugs.python.org/file12790/raise_on_bad_fd.patch \"Uploaded as text/plain at 2009-01-18.21:54:48 by @benjaminp\")\u003c/li\u003e\u003cli\u003e[raise_on_bad_fd2.patch](https://bugs.python.org/file12791/raise_on_bad_fd2.patch \"Uploaded as text/plain at 2009-01-18.23:52:21 by @benjaminp\")\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 = None\nclosed_at = \u003cDate 2009-01-19.00:09:38.764\u003e\ncreated_at = \u003cDate 2009-01-18.21:02:02.491\u003e\nlabels = ['type-bug', 'library']\ntitle = \"os.fdopen doesn't raise on invalid file descriptors\"\nupdated_at = \u003cDate 2009-01-19.15:14:38.202\u003e\nuser = 'https://github.com/benjaminp'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2009-01-19.15:14:38.202\u003e\nactor = 'benjamin.peterson'\nassignee = 'none'\nclosed = True\nclosed_date = \u003cDate 2009-01-19.00:09:38.764\u003e\ncloser = 'benjamin.peterson'\ncomponents = ['Library (Lib)']\ncreation = \u003cDate 2009-01-18.21:02:02.491\u003e\ncreator = 'benjamin.peterson'\ndependencies = []\nfiles = ['12790', '12791']\nhgrepos = []\nissue_num = 4991\nkeywords = ['patch']\nmessage_count = 8.0\nmessages = ['80125', '80128', '80130', '80135', '80136', '80137', '80138', '80176']\nnosy_count = 2.0\nnosy_names = ['pitrou', 'benjamin.peterson']\npr_nums = []\npriority = 'normal'\nresolution = 'fixed'\nstage = None\nstatus = 'closed'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue4991'\nversions = ['Python 3.0', 'Python 3.1']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/benjaminp","@type":"Person","name":"benjaminp"},"datePublished":"2009-01-18T21:02:02.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/49241/cpython/issues/49241"}
| 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:d8f2e9ae-717d-f491-bf97-4edb596a0b50 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DDF0:255A34:1397EBF:1A5D1E7:6A557AE1 |
| html-safe-nonce | 5840d0f243fa5f010f9aa87c40c564290e1bf8f8e350dce129471975013c99cb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEREYwOjI1NUEzNDoxMzk3RUJGOjFBNUQxRTc6NkE1NTdBRTEiLCJ2aXNpdG9yX2lkIjoiOTEzNDgxODgxNDEyMjcwODE3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | ec604151f9c0e9681aaeb2efcb933de1a9ddec59aa4c85daf56d20a0be6be0c7 |
| hovercard-subject-tag | issue:1198840316 |
| 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/49241/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3d52572ddbd0b9842e2957ceda4f5056e2c5a425fc425b02923405022a0eea8e/python/cpython/issues/49241 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3d52572ddbd0b9842e2957ceda4f5056e2c5a425fc425b02923405022a0eea8e/python/cpython/issues/49241 |
| og:image:alt | BPO 4991 Nosy @pitrou, @benjaminp Files raise_on_bad_fd.patchraise_on_bad_fd2.patch Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current s... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | benjaminp |
| hostname | github.com |
| expected-hostname | github.com |
| None | b5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e |
| 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 | 617ea94e2807dc3052601c560530bb3f8259bc9a |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width