Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Closed
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
144db7f
inial update. Tests do not work yet
Ev2geny Sep 27, 2020
21f7df0
delete_on_close flag is added to NamedTemporaryFile functionality
Ev2geny Sep 27, 2020
2d7927b
possibility for user to delete temporary file is added without conten…
Ev2geny Sep 27, 2020
4fcddaf
typo in test name is fixed
Ev2geny Sep 27, 2020
76f28f3
📜🤖 Added by blurb_it.
blurb-it[bot] Sep 28, 2020
6be9be6
whatsnew and News file is updated
Ev2geny Sep 28, 2020
faf1a34
bro-14243: update to NEWS.d
Ev2geny Sep 28, 2020
589d0b8
Update Lib/test/test_tempfile.py
Ev2geny May 27, 2022
e22a3db
Doc/whatsnew/3.10.rst is restored from the main. changes will no go …
Ev2geny May 29, 2022
3be2f47
Documentation update
Ev2geny May 29, 2022
39e8b50
Minor documentation update
Ev2geny May 29, 2022
4d8f152
Training whitespaces removed in Doc/library/tempfile.rst
Ev2geny May 30, 2022
9ec55f5
New line is added to the end of the news file
Ev2geny May 30, 2022
d6f382e
Update Doc/library/tempfile.rst
Ev2geny May 30, 2022
f9dc427
Update Doc/whatsnew/3.12.rst
Ev2geny May 30, 2022
e29b7d2
Update Doc/whatsnew/3.12.rst
Ev2geny May 31, 2022
d003a39
Documentation in tempfile.rst is updated based on the feedback from @…
Ev2geny May 31, 2022
e2fc6db
Merge branch 'fix-issue-14243' of https://github.com/Ev2geny/cpython …
Ev2geny May 31, 2022
3ac4e20
Information in whatsnew is moved to the section Improved modules base…
Ev2geny May 31, 2022
653cf27
Update Doc/whatsnew/3.12.rst
Ev2geny Jun 7, 2022
d5d07f4
Update Doc/library/tempfile.rst
Ev2geny Jun 9, 2022
0b32b28
Update Doc/library/tempfile.rst
Ev2geny Jun 9, 2022
5773e71
wrapping at 80 characters is implemented on the Doc/library/tempfile.rs
Ev2geny Jun 9, 2022
d98f270
Update Doc/whatsnew/3.12.rst
Ev2geny Sep 17, 2022
9598e6b
Update Doc/library/tempfile.rst
Ev2geny Sep 17, 2022
5a7e177
Restored (probably accidentry removed by @eryksun's suggestion) parag…
Ev2geny Sep 17, 2022
7e7ad85
Additional minor changes to documentation, based on suggestions from …
Ev2geny Sep 17, 2022
4d5677e
Update Lib/tempfile.py
Ev2geny Sep 17, 2022
cf5b1b5
Update Lib/tempfile.py
Ev2geny Sep 17, 2022
7fd339a
Update Lib/tempfile.py
Ev2geny Sep 17, 2022
da71a96
Update Lib/tempfile.py
Ev2geny Sep 17, 2022
5e22c9c
Merge branch 'fix-issue-14243' of https://github.com/Ev2geny/cpython …
Ev2geny Sep 17, 2022
b1f5152
Update Doc/library/tempfile.rst
Ev2geny Sep 17, 2022
07076e8
Merged with master and resolved merge conflicsts in Doc/whatsnew/3.12…
Ev2geny Sep 18, 2022
a0a8ae3
Revert "Merged with master and resolved merge conflicsts in Doc/whats…
Ev2geny Sep 18, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update Lib/tempfile.py
Co-authored-by: Eryk Sun <eryksun@gmail.com>
  • Loading branch information
Ev2geny and eryksun authored Sep 17, 2022
commit 7fd339ae8e8ecd2520c31201b666c6aa420492e5
2 changes: 1 addition & 1 deletion 2 Lib/tempfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ def __enter__(self):
def __exit__(self, exc, value, tb):
result = self.file.__exit__(exc, value, tb)
self.close()
# if file is to be deleted, bot not on closure, deleting it now
# If the file is to be deleted, but not on close, delete it now.
if self.delete and not self.delete_on_close:
try:
_os.unlink(self.name)
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.