Title: gh-90102: Optimize io.FileIO.isatty() by serhiy-storchaka · Pull Request #112495 · python/cpython · GitHub
Open Graph Title: gh-90102: Optimize io.FileIO.isatty() by serhiy-storchaka · Pull Request #112495 · python/cpython
X Title: gh-90102: Optimize io.FileIO.isatty() by serhiy-storchaka · Pull Request #112495 · python/cpython
Description: Only invoke the isatty() system call for character devices and cache the result. Issue: Avoid calling isatty() for most open() calls #90102
Open Graph Description: Only invoke the isatty() system call for character devices and cache the result. Issue: Avoid calling isatty() for most open() calls #90102
X Description: Only invoke the isatty() system call for character devices and cache the result. Issue: Avoid calling isatty() for most open() calls #90102
Opengraph URL: https://github.com/python/cpython/pull/112495
X: @github
Domain: github.com
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:b6ed0074-1119-3dbe-26e7-dbd1eac14b6e |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B93C:3F4FF7:165962E:1D42919:696B81F2 |
| html-safe-nonce | 7cc68665591807353a31f86d445da96d23a9305feb08a65b6579d1d29667f141 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOTNDOjNGNEZGNzoxNjU5NjJFOjFENDI5MTk6Njk2QjgxRjIiLCJ2aXNpdG9yX2lkIjoiMzE0MjYzMzI1MDE5ODYxODYxMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1b2986dd5166ee223c75b82dac54fda01a47ad2432032ce349587ce581547b3f |
| hovercard-subject-tag | pull_request:1620177793 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/voltron/pull_requests/show/python/cpython/112495/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/730873130affc8693c8b40441e26af7c6b959a2ab8a3e47eb1984028ec7da07c/python/cpython/pull/112495 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/730873130affc8693c8b40441e26af7c6b959a2ab8a3e47eb1984028ec7da07c/python/cpython/pull/112495 |
| og:image:alt | Only invoke the isatty() system call for character devices and cache the result. Issue: Avoid calling isatty() for most open() calls #90102 |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | serhiy-storchaka |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width