Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-40287: Fix SpooledTemporaryFile.seek() return value (GH-19540) | Inada Naoki | 2020-04-17 | 1 | -1/+1 |
| | | | It has not returned the file position after the seek. | ||||
* | bpo-39481: PEP 585 for a variety of modules (GH-19423) | Batuhan Taşkaya | 2020-04-10 | 1 | -0/+2 |
| | | | | | | | | | | - concurrent.futures - ctypes - http.cookies - multiprocessing - queue - tempfile - unittest.case - urllib.parse | ||||
* | bpo-39481: Implementation for PEP 585 (#18239) | Guido van Rossum | 2020-04-07 | 1 | -11/+2 |
| | | | | | | | | | | | | This implements things like `list[int]`, which returns an object of type `types.GenericAlias`. This object mostly acts as a proxy for `list`, but has attributes `__origin__` and `__args__` that allow recovering the parts (with values `list` and `(int,)`. There is also an approximate notion of type variables; e.g. `list[T]` has a `__parameters__` attribute equal to `(T,)`. Type variables are objects of type `typing.TypeVar`. | ||||
* | bpo-39719: Remove softspace from tempfile.SpooledTemporaryFile (GH-18599) | Shantanu | 2020-03-17 | 1 | -4/+0 |
| | |||||
* | bpo-39019: Implement missing __class_getitem__ for SpooledTemporaryFile ↵ | Batuhan Taşkaya | 2019-12-30 | 1 | -0/+12 |
| | | | | | | (GH-17560) | ||||
* | bpo-26730: Fix SpooledTemporaryFile data corruption (GH-17400) | Inada Naoki | 2019-11-27 | 1 | -6/+9 |
| | | | | | | | SpooledTemporaryFile.rollback() might cause data corruption when it is in text mode. Co-Authored-By: Serhiy Storchaka <storchaka@gmail.com> | ||||
* | bpo-37363: Add audit events for a range of modules (GH-14301) | Steve Dower | 2019-06-24 | 1 | -1/+4 |
| | |||||
* | bpo-26660, bpo-35144: Fix permission errors in TemporaryDirectory cleanup. ↵ | Serhiy Storchaka | 2019-05-31 | 1 | -2/+32 |
| | | | | | | | (GH-10320) TemporaryDirectory.cleanup() failed when non-writeable or non-searchable files or directories were created inside a temporary directory. | ||||
* | Clean up code which checked presence of os.{stat,lstat,chmod} (#11643) | Anthony Sottile | 2019-02-25 | 1 | -11/+1 |
| | |||||
* | bpo-27300: Add the errors parameter to tempfile classes. (GH-6696) | sth | 2018-05-23 | 1 | -19/+16 |
| | |||||
* | bpo-33522: Enable CI builds on Visual Studio Team Services (#6865) | Steve Dower | 2018-05-16 | 1 | -1/+3 |
| | |||||
* | Update docstring of tempfile._RandomNameSequence (GH-6414) | Wolfgang Maier | 2018-04-09 | 1 | -1/+1 |
| | | | | | When bpo-12015 got resolved by increasing the length of the random string generated by _RandomNameSequence from six to eight characters, the docstring of the class was not adjusted accordingly. | ||||
* | bpo-31370: Remove support for threads-less builds (#3385) | Antoine Pitrou | 2017-09-07 | 1 | -5/+1 |
| | | | | | | * Remove Setup.config * Always define WITH_THREAD for compatibility. | ||||
* | bpo-30030: Revert f50354ad (tempfile) (#1187) | Victor Stinner | 2017-04-19 | 1 | -12/+23 |
| | | | | Revert f50354adaaafebe95ad09d09b825804a686ea843: it introduced a regression in test_threadedtempfile. | ||||
* | Reimplement tempfile._RandomNameSequence using a generator function. (#1075) | Serhiy Storchaka | 2017-04-11 | 1 | -23/+12 |
| | |||||
* | Add a source parameter to warnings.warn() | Victor Stinner | 2016-03-22 | 1 | -1/+0 |
| | | | | | | | | Issue #26604: * Add a new optional source parameter to _warnings.warn() and warnings.warn() * Modify asyncore, asyncio and _pyio modules to set the source parameter when logging a ResourceWarning warning | ||||
* | Issue #26385: Cleanup NamedTemporaryFile if open() fails, by SilentGhost | Martin Panter | 2016-02-28 | 1 | -1/+2 |
| | |||||
* | Issue #26261: Clarify NamedTemporaryFile name attribute vs file.name | Martin Panter | 2016-02-22 | 1 | -2/+2 |
| | |||||
* | Issue #25064: Adjust documentation according to new mkstemp signature | Martin Panter | 2015-11-07 | 1 | -8/+9 |
| | | | | | | | | The mkstemp() and mkdtemp() signatures have already been updated, but the higher-level functions still suggest that the default values are forced to text strings. Also merged some paragraphs describing the "suffix" and "prefix" parameters, and pointed out that mktemp() does not support the new changes. | ||||
* | Issue #21515: Elaborate tempfile.TemporaryFile() comment | Victor Stinner | 2015-10-20 | 1 | -2/+10 |
| | | | | | Explain why calling os.open() with os.O_TMPFILE is a safe test to check if O_TMPFILE is supported by the running kernel. | ||||
* | Issue 24230: The tempfile module now accepts bytes for prefix, suffix and dir | Gregory P. Smith | 2015-05-22 | 1 | -26/+89 |
| | | | | parameters and returns bytes in such situations (matching the os module APIs). | ||||
* | Issue #22107: tempfile.gettempdir() and tempfile.mkdtemp() now try again | Serhiy Storchaka | 2015-05-19 | 1 | -1/+17 |
|\ | | | | | | | | | | | when a directory with the chosen name already exists on Windows as well as on Unix. tempfile.mkstemp() now fails early if parent directory is not valid (not exists or is a file) on Windows. | ||||
| * | Issue #22107: tempfile.gettempdir() and tempfile.mkdtemp() now try again | Serhiy Storchaka | 2015-05-19 | 1 | -1/+17 |
| | | | | | | | | | | | | when a directory with the chosen name already exists on Windows as well as on Unix. tempfile.mkstemp() now fails early if parent directory is not valid (not exists or is a file) on Windows. | ||||
* | | Issue #23865: close() methods in multiple modules now are idempotent and more | Serhiy Storchaka | 2015-04-10 | 1 | -3/+5 |
|\ \ | |/ | | | | | | | robust at shutdown. If needs to release multiple resources, they are released even if errors are occured. | ||||
| * | Issue #23865: close() methods in multiple modules now are idempotent and more | Serhiy Storchaka | 2015-04-10 | 1 | -3/+5 |
| | | | | | | | | | | robust at shutdown. If needs to release multiple resources, they are released even if errors are occured. | ||||
* | | Merge: #23700: fix/improve comment | R David Murray | 2015-03-22 | 1 | -2/+4 |
|\ \ | |/ | |||||
| * | #23700: fix/improve comment | R David Murray | 2015-03-22 | 1 | -2/+4 |
| | | |||||
* | | Issue #23700: NamedTemporaryFile iterator closed underlied file object in | Serhiy Storchaka | 2015-03-20 | 1 | -3/+5 |
|\ \ | |/ | | | | | | | | | some circunstances while NamedTemporaryFile object was living. This causes failing test_csv. Changed the implementation of NamedTemporaryFile.__iter__ to make tests passed. | ||||
| * | Issue #23700: NamedTemporaryFile iterator closed underlied file object in | Serhiy Storchaka | 2015-03-20 | 1 | -3/+5 |
| | | | | | | | | | | | | some circunstances while NamedTemporaryFile object was living. This causes failing test_csv. Changed the implementation of NamedTemporaryFile.__iter__ to make tests passed. | ||||
* | | Issue #23700: Iterator of NamedTemporaryFile now keeps a reference to | Serhiy Storchaka | 2015-03-19 | 1 | -1/+3 |
|\ \ | |/ | | | | | NamedTemporaryFile instance. Patch by Bohuslav Kabrda. | ||||
| * | Issue #23700: Iterator of NamedTemporaryFile now keeps a reference to | Serhiy Storchaka | 2015-03-19 | 1 | -1/+3 |
| | | | | | | | | NamedTemporaryFile instance. Patch by Bohuslav Kabrda. | ||||
| * | tempfile: Fix docstring. Issue #21397, patch by R. David Murray. | Yury Selivanov | 2014-09-26 | 1 | -5/+5 |
| | | |||||
* | | tempfile: Fix docstring. Issue #21397, patch by R. David Murray. | Yury Selivanov | 2014-09-26 | 1 | -5/+5 |
| | | |||||
* | | Issue #22427: TemporaryDirectory no longer attempts to clean up twice when | Serhiy Storchaka | 2014-09-24 | 1 | -12/+3 |
|\ \ | |/ | | | | | used in the with statement in generator. | ||||
| * | Issue #22427: TemporaryDirectory no longer attempts to clean up twice when | Serhiy Storchaka | 2014-09-24 | 1 | -12/+3 |
| | | | | | | | | used in the with statement in generator. | ||||
* | | Issue #21515: Fix typo in a comment, thanks Arfrever for the report | Victor Stinner | 2014-06-08 | 1 | -1/+1 |
| | | |||||
* | | Issue #21515: tempfile.TemporaryFile now uses os.O_TMPFILE flag is available | Victor Stinner | 2014-06-05 | 1 | -0/+26 |
|/ | |||||
* | 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(). |