Title: The return of truncate(size=None) (file io) is unexpected · Issue #79485 · python/cpython · GitHub
Open Graph Title: The return of truncate(size=None) (file io) is unexpected · Issue #79485 · python/cpython
X Title: The return of truncate(size=None) (file io) is unexpected · Issue #79485 · python/cpython
Description: BPO 35304 Nosy @vadmium Superseder bpo-26158: File truncate() not defaulting to current position as documented Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state. Show mo...
Open Graph Description: BPO 35304 Nosy @vadmium Superseder bpo-26158: File truncate() not defaulting to current position as documented Note: these values reflect the state of the issue at the time it was migrated and migh...
X Description: BPO 35304 Nosy @vadmium Superseder bpo-26158: File truncate() not defaulting to current position as documented Note: these values reflect the state of the issue at the time it was migrated and migh...
Opengraph URL: https://github.com/python/cpython/issues/79485
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"The return of truncate(size=None) (file io) is unexpected","articleBody":"BPO | [35304](https://bugs.python.org/issue35304)\n--- | :---\nNosy | @vadmium\nSuperseder | \u003cli>bpo-26158: File truncate() not defaulting to current position as documented\u003c/li>\n\n\u003csup>*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup>\n\n\u003cdetails>\u003csummary>Show more details\u003c/summary>\u003cp>\n\nGitHub fields:\n```python\nassignee = None\nclosed_at = \u003cDate 2018-11-24.01:11:07.036>\ncreated_at = \u003cDate 2018-11-23.19:35:08.389>\nlabels = ['type-bug', 'expert-IO']\ntitle = 'The return of truncate(size=None) (file io) is unexpected'\nupdated_at = \u003cDate 2018-11-24.01:11:06.953>\nuser = 'https://bugs.python.org/liugang93'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2018-11-24.01:11:06.953>\nactor = 'martin.panter'\nassignee = 'none'\nclosed = True\nclosed_date = \u003cDate 2018-11-24.01:11:07.036>\ncloser = 'martin.panter'\ncomponents = ['IO']\ncreation = \u003cDate 2018-11-23.19:35:08.389>\ncreator = 'liugang93'\ndependencies = []\nfiles = []\nhgrepos = []\nissue_num = 35304\nkeywords = []\nmessage_count = 3.0\nmessages = ['330357', '330358', '330368']\nnosy_count = 2.0\nnosy_names = ['martin.panter', 'liugang93']\npr_nums = []\npriority = 'normal'\nresolution = 'duplicate'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = '26158'\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue35304'\nversions = ['Python 3.5']\n```\n\n\u003c/p>\u003c/details>\n","author":{"url":null,"@type":"Person","name":"liugang93"},"datePublished":"2018-11-23T19:35:08Z","url":"https://github.com/python/cpython/issues/79485"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:8c3b492e-60f9-04ae-58cc-109584d69ed6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B6C8:1F68:184BB2B:204189F:6B023100 |
| html-safe-nonce | 7ff3ce18e98be472a14ae37d5ae462ddb08a51d3741f3cb0333ab7bef6da9f9d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNkM4OjFGNjg6MTg0QkIyQjoyMDQxODlGOjZCMDIzMTAwIiwidmlzaXRvcl9pZCI6IjM5MzE3MzM3MzE2NTk4ODY4NDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5cbcabefe8f962aa1f1129b9cd4d8e2ba201592600ef9a02207ec1af2b405748 |
| hovercard-subject-tag | issue:1199001658 |
| 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/79485/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2e027c2013ba6ba94445b57ad0162183a1653fdcae55fe15b84c2513487ba61f/python/cpython/issues/79485 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2e027c2013ba6ba94445b57ad0162183a1653fdcae55fe15b84c2513487ba61f/python/cpython/issues/79485 |
| og:image:alt | BPO 35304 Nosy @vadmium Superseder bpo-26158: File truncate() not defaulting to current position as documented Note: these values reflect the state of the issue at the time it was migrated and migh... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | liugang93 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width