Title: _pyio checks that `os.name == 'win32'` instead of 'nt' · Issue #69069 · python/cpython · GitHub
Open Graph Title: _pyio checks that `os.name == 'win32'` instead of 'nt' · Issue #69069 · python/cpython
X Title: _pyio checks that `os.name == 'win32'` instead of 'nt' · Issue #69069 · python/cpython
Description: BPO 24881 Nosy @pfmoore, @vstinner, @tjguk, @4kir4, @embray, @zware, @serhiy-storchaka, @eryksun, @zooba Files pyio_setmode.diff: call setmode(fd, O_BINARY) if sys.platform in {'win32', 'cygwin'} like in C implementation Note: these valu...
Open Graph Description: BPO 24881 Nosy @pfmoore, @vstinner, @tjguk, @4kir4, @embray, @zware, @serhiy-storchaka, @eryksun, @zooba Files pyio_setmode.diff: call setmode(fd, O_BINARY) if sys.platform in {'win32', 'cygwin'} l...
X Description: BPO 24881 Nosy @pfmoore, @vstinner, @tjguk, @4kir4, @embray, @zware, @serhiy-storchaka, @eryksun, @zooba Files pyio_setmode.diff: call setmode(fd, O_BINARY) if sys.platform in {'win32', ...
Opengraph URL: https://github.com/python/cpython/issues/69069
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"_pyio checks that `os.name == 'win32'` instead of 'nt'","articleBody":"BPO | [24881](https://bugs.python.org/issue24881)\n--- | :---\nNosy | @pfmoore, @vstinner, @tjguk, @4kir4, @embray, @zware, @serhiy-storchaka, @eryksun, @zooba\nFiles | \u003cli\u003e[pyio_setmode.diff](https://bugs.python.org/file40222/pyio_setmode.diff \"Uploaded as text/plain at 2015-08-21.20:18:38 by @4kir4\"): call setmode(fd, O_BINARY) if sys.platform in {'win32', 'cygwin'} like in C implementation\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-08-28.19:22:18.911\u003e\ncreated_at = \u003cDate 2015-08-17.14:11:07.420\u003e\nlabels = ['type-bug', 'expert-IO', 'OS-windows']\ntitle = \"_pyio checks that `os.name == 'win32'` instead of 'nt'\"\nupdated_at = \u003cDate 2016-10-17.10:37:42.399\u003e\nuser = 'https://bugs.python.org/CosimoLupo'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2016-10-17.10:37:42.399\u003e\nactor = 'vstinner'\nassignee = 'serhiy.storchaka'\nclosed = True\nclosed_date = \u003cDate 2015-08-28.19:22:18.911\u003e\ncloser = 'serhiy.storchaka'\ncomponents = ['Windows', 'IO']\ncreation = \u003cDate 2015-08-17.14:11:07.420\u003e\ncreator = 'Cosimo Lupo'\ndependencies = []\nfiles = ['40222']\nhgrepos = []\nissue_num = 24881\nkeywords = ['patch']\nmessage_count = 7.0\nmessages = ['248728', '248978', '248986', '249290', '249291', '278800', '278801']\nnosy_count = 11.0\nnosy_names = ['paul.moore', 'vstinner', 'tim.golden', 'akira', 'python-dev', 'erik.bray', 'zach.ware', 'serhiy.storchaka', 'eryksun', 'steve.dower', 'Cosimo Lupo']\npr_nums = []\npriority = 'normal'\nresolution = 'fixed'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue24881'\nversions = ['Python 3.5', 'Python 3.6']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/CosimoLupo","@type":"Person","name":"CosimoLupo"},"datePublished":"2015-08-17T14:11:07.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/69069/cpython/issues/69069"}
| 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:98cebfd6-540b-61e9-7bdd-de37a48d991e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EC50:1B6F9B:52C437:70B14A:6A4DA68D |
| html-safe-nonce | 425584c48dc3ebb4652e341f632a114b4f598b1c82a092ebac06f65b84fd3831 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzUwOjFCNkY5Qjo1MkM0Mzc6NzBCMTRBOjZBNERBNjhEIiwidmlzaXRvcl9pZCI6IjMxMTI0OTU3OTk3MDQ4NTYyMDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2053813e7cfebe23268a0b0d8d5558283ca0c38922c23013f2a371c5b3426ac9 |
| hovercard-subject-tag | issue:1198939721 |
| 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/69069/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1ef8af04c7aa657be4804245e616ecfa670d8769340250aac1c4d3ab99e6ac04/python/cpython/issues/69069 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1ef8af04c7aa657be4804245e616ecfa670d8769340250aac1c4d3ab99e6ac04/python/cpython/issues/69069 |
| og:image:alt | BPO 24881 Nosy @pfmoore, @vstinner, @tjguk, @4kir4, @embray, @zware, @serhiy-storchaka, @eryksun, @zooba Files pyio_setmode.diff: call setmode(fd, O_BINARY) if sys.platform in {'win32', 'cygwin'} l... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | CosimoLupo |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| 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 | 7f13faa65cccc9b729d674da83335d5dcfdfd193 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width