| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:1a3b7a1c-682e-1b80-2bbe-6d3064b177ca |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | EA8C:2839F:12646D6:188BCA9:6969ACFC |
| html-safe-nonce | d1696f9298e32b81490155c8c7629efdc7e4b381055a0187741fb144a1bebf21 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQThDOjI4MzlGOjEyNjQ2RDY6MTg4QkNBOTo2OTY5QUNGQyIsInZpc2l0b3JfaWQiOiI4MjI5ODg3MDY4NzMzMDI1NTMyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | f325b60acb647c06afe337905dffe840502637f6ddb6660405dc39063e10fa3c |
| hovercard-subject-tag | pull_request:138538082 |
| 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 | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/3249/files |
| twitter:image | https://avatars.githubusercontent.com/u/9322279?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/9322279?s=400&v=4 |
| og:image:alt | One would assume that this class implements the IOBase abstract. As the
underlying file-like object is either io.BytesIO, io.StringIO, or a true
file object, this is a reasonable abstract expect an... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 24c4c97a2d520cb286b35e1a4c22d7a4df3c26a2fa28dd7cdf0e65db327b4de7 |
| 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 | 124667f43168afb6c9c03b7c02eb5b1d2e1be3d9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/3249/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F3249%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F3249%2Ffiles |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/3249/files |
| Reload | https://github.com/python/cpython/pull/3249/files |
| Reload | https://github.com/python/cpython/pull/3249/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/3249/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
33.9k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
71.1k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Code
| https://github.com/python/cpython |
|
Issues
5k+
| https://github.com/python/cpython/issues |
|
Pull requests
2.1k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
31
| https://github.com/python/cpython/projects |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/python/cpython/security |
| Please reload this page | https://github.com/python/cpython/pull/3249/files |
|
Insights
| https://github.com/python/cpython/pulse |
|
Code
| https://github.com/python/cpython |
|
Issues
| https://github.com/python/cpython/issues |
|
Pull requests
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| GFernie | https://github.com/GFernie |
| python:main | https://github.com/python/cpython/tree/main |
|
Conversation
48
| https://github.com/python/cpython/pull/3249 |
|
Commits
13
| https://github.com/python/cpython/pull/3249/commits |
|
Checks
0
| https://github.com/python/cpython/pull/3249/checks |
|
Files changed
| https://github.com/python/cpython/pull/3249/files |
| Please reload this page | https://github.com/python/cpython/pull/3249/files |
|
bpo-26175: Fix SpooledTemporaryFile IOBase abstract
| https://github.com/python/cpython/pull/3249/files#top |
|
Show all changes
13 commits
| https://github.com/python/cpython/pull/3249/files |
|
83d6152
Fix SpooledTemporaryFile IOBase abstract
GFernie Aug 30, 2017
| https://github.com/python/cpython/pull/3249/commits/83d6152028ad56d7eb0e4038c9c6d5c643908629 |
|
3b69baa
Add news entry for bpo-26175 patch
GFernie Aug 30, 2017
| https://github.com/python/cpython/pull/3249/commits/3b69baaf336f8c3b61df2b3fae4d7a9ebc5bb1f5 |
|
753b4fb
Update 2017-08-30-23-14-17.bpo-26175.GOaj9y.rst
merwok Sep 20, 2017
| https://github.com/python/cpython/pull/3249/commits/753b4fba2d70e84e8e9686d39bf6dcc162d4aa1f |
|
a70113e
Make SpooledTemporaryFile subclass IOBase
GFernie Sep 30, 2017
| https://github.com/python/cpython/pull/3249/commits/a70113ec131af4fd523da55a7ec46b9a8b170395 |
|
fb28362
Refactor tests to more reliably test abstract
GFernie Sep 30, 2017
| https://github.com/python/cpython/pull/3249/commits/fb283621685da73771256d8eb51dabf19fe71378 |
|
bc9d0a9
Return new absolute position from underlying file on seek
GFernie Sep 9, 2018
| https://github.com/python/cpython/pull/3249/commits/bc9d0a94a0d1c351ccb1fd9b70b7a835313c12db |
|
b588dec
Do nothing on __del__
GFernie Sep 9, 2018
| https://github.com/python/cpython/pull/3249/commits/b588dec6a80c7e113ef9fe7e22749914810f4810 |
|
ab49dd1
Return new file size from underlying file on truncate
GFernie Sep 9, 2018
| https://github.com/python/cpython/pull/3249/commits/ab49dd1494411dfd31ef5e309c17a084103e4f25 |
|
4251b21
Merge remote-tracking branch 'origin/master' into bpo-26175_fix-Spool…
GFernie Oct 30, 2019
| https://github.com/python/cpython/pull/3249/commits/4251b218e7695230ceedfa450bd27b24e3741379 |
|
19f4c08
Add versionchanged tag
GFernie Oct 30, 2019
| https://github.com/python/cpython/pull/3249/commits/19f4c08d000f6249a99c81ebf0a1de40a22555ac |
|
4519b9c
Use :class: instead of :py:data:
GFernie Oct 30, 2019
| https://github.com/python/cpython/pull/3249/commits/4519b9c56ed657fe4519540f1e8b9d5fbedae268 |
|
554aad6
Revert "Do nothing on __del__"
GFernie Nov 23, 2019
| https://github.com/python/cpython/pull/3249/commits/554aad63340c73dcf0afe0fb35ce45cf1a4341c1 |
|
be094b3
Add test for rolled file finalisation
GFernie Nov 23, 2019
| https://github.com/python/cpython/pull/3249/commits/be094b38039b22c6145bee16ddf67358e44b7e8a |
|
Clear filters
| https://github.com/python/cpython/pull/3249/files |
| Please reload this page | https://github.com/python/cpython/pull/3249/files |
| Please reload this page | https://github.com/python/cpython/pull/3249/files |
|
tempfile.rst
| https://github.com/python/cpython/pull/3249/files#diff-cd9226095497c724772acabf76ce71e39ae2d6ae5cee2a27c9ba22ac541b2f1e |
|
tempfile.py
| https://github.com/python/cpython/pull/3249/files#diff-6553a99f3ae04c9fc9c2349ac27037bfe3b274d5ca54d5800d9c5b5f11e29d21 |
|
test_tempfile.py
| https://github.com/python/cpython/pull/3249/files#diff-cbc50394ff35aa5553e84fa01cfdda48f5215fcb60cd1ee84a0ee9682d908983 |
|
2017-08-30-23-14-17.bpo-26175.GOaj9y.rst
| https://github.com/python/cpython/pull/3249/files#diff-1cfd34eadf3500d548e6d1a0f6f0ed83260044b520570d2ce6ce1693ecfa267c |
| Doc/library/tempfile.rst | https://github.com/python/cpython/pull/3249/files#diff-cd9226095497c724772acabf76ce71e39ae2d6ae5cee2a27c9ba22ac541b2f1e |
|
View file
| https://github.com/python/cpython/blob/be094b38039b22c6145bee16ddf67358e44b7e8a/Doc/library/tempfile.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/3249/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/3249/files#diff-cd9226095497c724772acabf76ce71e39ae2d6ae5cee2a27c9ba22ac541b2f1e |
| pitrou | https://github.com/pitrou |
| Nov 23, 2019 | https://github.com/python/cpython/pull/3249/files#r349882468 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/3249/files |
|
| https://github.com/python/cpython/pull/3249/files#diff-cd9226095497c724772acabf76ce71e39ae2d6ae5cee2a27c9ba22ac541b2f1e |
| Lib/tempfile.py | https://github.com/python/cpython/pull/3249/files#diff-6553a99f3ae04c9fc9c2349ac27037bfe3b274d5ca54d5800d9c5b5f11e29d21 |
|
View file
| https://github.com/python/cpython/blob/be094b38039b22c6145bee16ddf67358e44b7e8a/Lib/tempfile.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/3249/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/3249/files#diff-6553a99f3ae04c9fc9c2349ac27037bfe3b274d5ca54d5800d9c5b5f11e29d21 |
|
| https://github.com/python/cpython/pull/3249/files#diff-6553a99f3ae04c9fc9c2349ac27037bfe3b274d5ca54d5800d9c5b5f11e29d21 |
|
| https://github.com/python/cpython/pull/3249/files#diff-6553a99f3ae04c9fc9c2349ac27037bfe3b274d5ca54d5800d9c5b5f11e29d21 |
| pppery | https://github.com/pppery |
| Jun 6, 2018 | https://github.com/python/cpython/pull/3249/files#r193262967 |
| Please reload this page | https://github.com/python/cpython/pull/3249/files |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/3249/files |
| vadmium | https://github.com/vadmium |
| Jun 9, 2018 | https://github.com/python/cpython/pull/3249/files#r194224533 |
| Please reload this page | https://github.com/python/cpython/pull/3249/files |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/3249/files |
| GFernie | https://github.com/GFernie |
| Sep 9, 2018 | https://github.com/python/cpython/pull/3249/files#r216171541 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/3249/files |
| pitrou | https://github.com/pitrou |
| Oct 22, 2018 | https://github.com/python/cpython/pull/3249/files#r226989654 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/3249/files |
| coleifer | https://github.com/coleifer |
| Mar 23, 2019 | https://github.com/python/cpython/pull/3249/files#r268379596 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/3249/files |
| pitrou | https://github.com/pitrou |
| Nov 23, 2019 | https://github.com/python/cpython/pull/3249/files#r349882536 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/3249/files |
|
| https://github.com/python/cpython/pull/3249/files#diff-6553a99f3ae04c9fc9c2349ac27037bfe3b274d5ca54d5800d9c5b5f11e29d21 |
|
| https://github.com/python/cpython/pull/3249/files#diff-6553a99f3ae04c9fc9c2349ac27037bfe3b274d5ca54d5800d9c5b5f11e29d21 |
|
| https://github.com/python/cpython/pull/3249/files#diff-6553a99f3ae04c9fc9c2349ac27037bfe3b274d5ca54d5800d9c5b5f11e29d21 |
| thehesiod | https://github.com/thehesiod |
| Feb 12, 2020 | https://github.com/python/cpython/pull/3249/files#r377982116 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/3249/files |
| merwok | https://github.com/merwok |
| Feb 13, 2020 | https://github.com/python/cpython/pull/3249/files#r378599271 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/3249/files |
| thehesiod | https://github.com/thehesiod |
| Feb 21, 2020 | https://github.com/python/cpython/pull/3249/files#r382337005 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/3249/files |
| danieldjewell | https://github.com/danieldjewell |
| May 13, 2020 | https://github.com/python/cpython/pull/3249/files#r424712850 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| @merwok | https://github.com/merwok |
| Please reload this page | https://github.com/python/cpython/pull/3249/files |
| merwok | https://github.com/merwok |
| May 13, 2020 | https://github.com/python/cpython/pull/3249/files#r424735823 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/3249/files |
|
| https://github.com/python/cpython/pull/3249/files#diff-6553a99f3ae04c9fc9c2349ac27037bfe3b274d5ca54d5800d9c5b5f11e29d21 |
| Lib/test/test_tempfile.py | https://github.com/python/cpython/pull/3249/files#diff-cbc50394ff35aa5553e84fa01cfdda48f5215fcb60cd1ee84a0ee9682d908983 |
|
View file
| https://github.com/python/cpython/blob/be094b38039b22c6145bee16ddf67358e44b7e8a/Lib/test/test_tempfile.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/3249/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/3249/files#diff-cbc50394ff35aa5553e84fa01cfdda48f5215fcb60cd1ee84a0ee9682d908983 |
| pitrou | https://github.com/pitrou |
| Oct 22, 2018 | https://github.com/python/cpython/pull/3249/files#r226990347 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/3249/files |
| coleifer | https://github.com/coleifer |
| Mar 23, 2019 | https://github.com/python/cpython/pull/3249/files#r268379437 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/3249/files |
|
| https://github.com/python/cpython/pull/3249/files#diff-cbc50394ff35aa5553e84fa01cfdda48f5215fcb60cd1ee84a0ee9682d908983 |
| pitrou | https://github.com/pitrou |
| Nov 23, 2019 | https://github.com/python/cpython/pull/3249/files#r349882937 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/3249/files |
| pitrou | https://github.com/pitrou |
| Nov 23, 2019 | https://github.com/python/cpython/pull/3249/files#r349882980 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/3249/files |
| pitrou | https://github.com/pitrou |
| Nov 23, 2019 | https://github.com/python/cpython/pull/3249/files#r349883005 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/3249/files |
|
| https://github.com/python/cpython/pull/3249/files#diff-cbc50394ff35aa5553e84fa01cfdda48f5215fcb60cd1ee84a0ee9682d908983 |
| Misc/NEWS.d/next/Library/2017-08-30-23-14-17.bpo-26175.GOaj9y.rst | https://github.com/python/cpython/pull/3249/files#diff-1cfd34eadf3500d548e6d1a0f6f0ed83260044b520570d2ce6ce1693ecfa267c |
|
View file
| https://github.com/python/cpython/blob/be094b38039b22c6145bee16ddf67358e44b7e8a/Misc/NEWS.d/next/Library/2017-08-30-23-14-17.bpo-26175.GOaj9y.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/3249/{{ revealButtonHref }} |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |