Title: bpo-40105: Truncating file if opened in append mode. by mzr · Pull Request #19337 · python/cpython · GitHub
Open Graph Title: bpo-40105: Truncating file if opened in append mode. by mzr · Pull Request #19337 · python/cpython
X Title: bpo-40105: Truncating file if opened in append mode. by mzr · Pull Request #19337 · python/cpython
Description: Implemented a test for this behaviour. If we just truncate the test fails for Unseekable file types. In current implementation, those type of files can't be opened in the append ('a') mode anyway, so we could make a check for that in the future. https://bugs.python.org/issue40105
Open Graph Description: Implemented a test for this behaviour. If we just truncate the test fails for Unseekable file types. In current implementation, those type of files can't be opened in the append ('a') m...
X Description: Implemented a test for this behaviour. If we just truncate the test fails for Unseekable file types. In current implementation, those type of files can't be opened in the append ('a...
Opengraph URL: https://github.com/python/cpython/pull/19337
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:4d384703-e30c-b7e9-c752-766468ce7ee9 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BA9C:23C0EB:42B5FA:5E7CCC:696A4632 |
| html-safe-nonce | a45f40c9ea52526692cc16fe5b00891f315d6585f0306a336ab91b87d7ed03a8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQTlDOjIzQzBFQjo0MkI1RkE6NUU3Q0NDOjY5NkE0NjMyIiwidmlzaXRvcl9pZCI6Ijc1NjAwODU4MjgwMDAxNzE1NzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2a2bbe2fcbaa882f5b0160d1bdd13f43337cbbda507f3f613aa87a5c5590eec3 |
| hovercard-subject-tag | pull_request:398259565 |
| 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/python/cpython/pull/19337/files |
| twitter:image | https://avatars.githubusercontent.com/u/16736821?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/16736821?s=400&v=4 |
| og:image:alt | Implemented a test for this behaviour. If we just truncate the test fails for Unseekable file types. In current implementation, those type of files can't be opened in the append ('a') m... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3f871c8e07f0ae1886fa8dac284166d28b09ad5bada6476fc10b674e489788ef |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 63c426b30d262aba269ef14c40e3c817b384cd61 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width