Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #21058: Fix a leak of file descriptor in tempfile.NamedTemporaryFile(), | Victor Stinner | 2014-03-25 | 1 | -3/+7 |
| | | | | close the file descriptor if io.open() fails | ||||
* | Issue #20978: pyflakes: fix undefined names | Victor Stinner | 2014-03-20 | 1 | -1/+1 |
| | |||||
* | Remove redundant emty line at the end of file. | Serhiy Storchaka | 2014-01-27 | 1 | -1/+0 |
| | |||||
* | Issue #19077: tempfile.TemporaryDirectory cleanup no longer fails when | Serhiy Storchaka | 2014-01-27 | 1 | -62/+30 |
|\ | | | | | | | | | called during shutdown. Emitting resource warning in __del__ no longer fails. Original patch by Antoine Pitrou. | ||||
| * | Issue #19077: tempfile.TemporaryDirectory cleanup is now most likely | Serhiy Storchaka | 2014-01-27 | 1 | -49/+46 |
| | | | | | | | | | | | | successful when called during nulling out of modules during shutdown. Misleading exception no longer raised when resource warning is emitted during shutdown. | ||||
* | | Issue #18879: When a method is looked up on a temporary file, avoid closing ↵ | Antoine Pitrou | 2013-12-21 | 1 | -32/+64 |
|\ \ | |/ | | | | | the file before the method is possibly called. | ||||
| * | Issue #18879: When a method is looked up on a temporary file, avoid closing ↵ | Antoine Pitrou | 2013-12-21 | 1 | -32/+64 |
| | | | | | | | | the file before the method is possibly called. | ||||
* | | Issue14255 Don't flatten case of tempdir | Tim Golden | 2013-10-25 | 1 | -1/+1 |
| | | |||||
* | | Issue #18849: Fixed a Windows-specific tempfile bug where collision with an | Eli Bendersky | 2013-09-06 | 1 | -0/+7 |
|\ \ | |/ | | | | | | | existing directory caused mkstemp and related APIs to fail instead of retrying. Report and fix by Vlad Shcherbina. | ||||
| * | Issue #18849: Fixed a Windows-specific tempfile bug where collision with an | Eli Bendersky | 2013-09-06 | 1 | -0/+7 |
| | | | | | | | | | | existing directory caused mkstemp and related APIs to fail instead of retrying. Report and fix by Vlad Shcherbina. | ||||
* | | Issue #18743: Fix references to non-existant "StringIO" module | Serhiy Storchaka | 2013-08-29 | 1 | -1/+1 |
|\ \ | |/ | | | | | in docstrings and comments. | ||||
| * | Issue #18743: Fix references to non-existant "StringIO" module | Serhiy Storchaka | 2013-08-29 | 1 | -1/+1 |
| | | | | | | | | in docstrings and comments. | ||||
* | | Issue #18571: Implementation of the PEP 446: file descriptors and file handles | Victor Stinner | 2013-08-27 | 1 | -24/+2 |
| | | | | | | | | | | are now created non-inheritable; add functions os.get/set_inheritable(), os.get/set_handle_inheritable() and socket.socket.get/set_inheritable(). | ||||
* | | #18705: merge with 3.3. | Ezio Melotti | 2013-08-17 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | #18705: fix a number of typos. Patch by Févry Thibault. | Ezio Melotti | 2013-08-17 | 1 | -1/+1 |
| | | |||||
* | | Close #12015: The tempfile module now uses a suffix of 8 random characters | Victor Stinner | 2013-08-13 | 1 | -1/+1 |
| | | | | | | | | | | | | instead of 6, to reduce the risk of filename collision. The entropy was reduced when uppercase letters were removed from the charset used to generate random characters. | ||||
* | | Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) | Brett Cannon | 2013-07-04 | 1 | -2/+2 |
| | | |||||
* | | Issue #18200: Update the stdlib (except tests) to use | Brett Cannon | 2013-06-14 | 1 | -2/+2 |
| | | | | | | | | ModuleNotFoundError. | ||||
* | | Fix for issue #16800: Use buffered write to handle EINTR. | Serhiy Storchaka | 2013-02-12 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Fix for issue #16800: Use buffered write to handle EINTR. | Serhiy Storchaka | 2013-02-12 | 1 | -2/+2 |
| |\ | |||||
| | * | Fix for issue #16800: Use buffered write to handle EINTR. | Serhiy Storchaka | 2013-02-12 | 1 | -2/+2 |
| | | | |||||
* | | | Issue #16800: tempfile.gettempdir() no longer left temporary files when | Serhiy Storchaka | 2013-02-12 | 1 | -5/+8 |
|\ \ \ | |/ / | | | | | | | the disk is full. Original patch by Amir Szekely. | ||||
| * | | Issue #16800: tempfile.gettempdir() no longer left temporary files when | Serhiy Storchaka | 2013-02-12 | 1 | -5/+8 |
| |\ \ | | |/ | | | | | | | the disk is full. Original patch by Amir Szekely. | ||||
| | * | Issue #16800: tempfile.gettempdir() no longer left temporary files when | Serhiy Storchaka | 2013-02-12 | 1 | -5/+8 |
| | | | | | | | | | | | | the disk is full. Original patch by Amir Szekely. | ||||
* | | | Issue #17169: Restore errno in tempfile exceptions. | Serhiy Storchaka | 2013-02-09 | 1 | -4/+10 |
|\ \ \ | |/ / | |||||
| * | | Issue #17169: Restore errno in tempfile exceptions. | Serhiy Storchaka | 2013-02-09 | 1 | -4/+10 |
| | | | |||||
* | | | Issue #10355: SpooledTemporaryFile properties now work for unrolled files. | Serhiy Storchaka | 2013-02-09 | 1 | -10/+20 |
|\ \ \ | |/ / | | | | | | | Remove obsoleted xreadline method. | ||||
| * | | Issue #10355: SpooledTemporaryFile properties now work for unrolled files. | Serhiy Storchaka | 2013-02-09 | 1 | -10/+20 |
| |\ \ | | |/ | | | | | | | Remove obsoleted xreadline method. | ||||
| | * | Issue #10355: SpooledTemporaryFile properties now work for unrolled files. | Serhiy Storchaka | 2013-02-09 | 1 | -10/+20 |
| | | | | | | | | | | | | Remove obsoleted xreadline method. | ||||
* | | | Issue #17147. Mention BytesIO in SpooledTemporaryFile documentation. | Serhiy Storchaka | 2013-02-09 | 1 | -2/+2 |
|\ \ \ | |/ / | |||||
| * | | Issue #17147. Mention BytesIO in SpooledTemporaryFile documentation. | Serhiy Storchaka | 2013-02-09 | 1 | -2/+2 |
| |\ \ | | |/ | |||||
| | * | Issue #17147. Mention BytesIO in SpooledTemporaryFile documentation. | Serhiy Storchaka | 2013-02-09 | 1 | -2/+2 |
| | | | |||||
* | | | Issue #16860: In tempfile, use O_CLOEXEC when available to set the | Charles-François Natali | 2013-01-04 | 1 | -0/+2 |
| | | | | | | | | | | | | close-on-exec flag atomically. | ||||
* | | | Issue #16706: get rid of os.error | Andrew Svetlov | 2012-12-18 | 1 | -4/+3 |
|/ / | |||||
* | | Issue #16714: use 'raise' exceptions, don't 'throw'. | Andrew Svetlov | 2012-12-18 | 1 | -1/+1 |
|\ \ | |/ | | | | | Patch by Serhiy Storchaka. | ||||
| * | Issue #16714: use 'raise' exceptions, don't 'throw'. | Andrew Svetlov | 2012-12-18 | 1 | -1/+1 |
| | | | | | | | | Patch by Serhiy Storchaka. | ||||
* | | Issue #12856: Ensure child processes do not inherit the parent's random seed ↵ | Antoine Pitrou | 2011-11-25 | 1 | -2/+7 |
|\ \ | |/ | | | | | | | | | for filename generation in the tempfile module. Patch by Brian Harring. | ||||
| * | Issue #12856: Ensure child processes do not inherit the parent's random seed ↵ | Antoine Pitrou | 2011-11-25 | 1 | -2/+7 |
| | | | | | | | | | | | | for filename generation in the tempfile module. Patch by Brian Harring. | ||||
* | | Issue #9957: SpooledTemporaryFile.truncate() now accepts an optional size ↵ | Antoine Pitrou | 2011-11-25 | 1 | -2/+7 |
| | | | | | | | | | | | | parameter, as other file-like objects. Patch by Ryan Kelly. | ||||
* | | Remove no-op code from previous commit. | Florent Xicluna | 2011-10-28 | 1 | -4/+1 |
| | | |||||
* | | Simplify and remove few dependencies on 'errno', thanks to PEP 3151. | Florent Xicluna | 2011-10-28 | 1 | -24/+18 |
| | | |||||
* | | Issue #12464: tempfile.TemporaryDirectory.cleanup() should not follow symlinks: | Charles-François Natali | 2011-07-29 | 1 | -1/+2 |
|\ \ | |/ | | | | | fix it. Patch by Petri Lehtinen. | ||||
| * | Issue #12464: tempfile.TemporaryDirectory.cleanup() should not follow symlinks: | Charles-François Natali | 2011-07-29 | 1 | -1/+2 |
| | | | | | | | | fix it. Patch by Petri Lehtinen. | ||||
* | | #10354: remove last public mentions of 'template' and comment as private. | R David Murray | 2011-06-23 | 1 | -2/+2 |
|/ | | | | | | I didn't rename the variable because I can see no good reason to break backward compatibility just to put an underscore in the name. | ||||
* | Issue #10188 (partial resolution): tidy up some behaviour in the new ↵ | Nick Coghlan | 2010-12-12 | 1 | -8/+27 |
| | | | | tempfile.TemporaryDirectory context manager | ||||
* | Avoid AttributeError(_closed) when a TemporaryDirectory is deallocated whose ↵ | Georg Brandl | 2010-12-11 | 1 | -0/+2 |
| | | | | mkdtemp call failed. | ||||
* | Simplify code | Raymond Hettinger | 2010-11-09 | 1 | -14/+3 |
| | |||||
* | Issue 5178: Add tempfile.TemporaryDirectory (original patch by Neil Schemenauer) | Nick Coghlan | 2010-10-24 | 1 | -1/+64 |
| | |||||
* | #6077: on Windows, fix truncation of a tempfile.TemporaryFile opened in ↵ | Amaury Forgeot d'Arc | 2009-11-30 | 1 | -10/+3 |
| | | | | | | | | "wt+" mode: files opened with os.open() stop on the first \x1a (Ctrl-Z) unless os.O_BINARY is used. Will backport to 3.1 | ||||
* | Merged revisions 73744 via svnmerge from | Benjamin Peterson | 2009-07-01 | 1 | -1/+1 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r73744 | benjamin.peterson | 2009-07-01 08:34:35 -0500 (Wed, 01 Jul 2009) | 1 line proxy the __exit__ call ........ |