summaryrefslogtreecommitdiffstats
path: root/Doc/library/tempfile.rst
Commit message (Collapse)AuthorAgeFilesLines
* [3.10] gh-76773: Update docs mentioning no-longer-supported Windows versions ↵Miss Islington (bot)2022-05-101-1/+1
| | | | | | | | | | & features (GH-92529) (GH-92609) (cherry picked from commit f1bbcba74f77eff2a4c0881f3d529f3bf0664d40) Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM> Automerge-Triggered-By: GH:serhiy-storchaka
* Correctly document class instead of function (GH-32016)Miss Islington (bot)2022-03-231-4/+4
| | | | | (cherry picked from commit 624e3986fbf8467772e4863b7ec004e65adff619) Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
* bpo-34429: Noted TemporaryFile behavior on non-Posix/non-Cygwin systems ↵Miss Islington (bot)2022-02-251-0/+3
| | | | | | | (GH-31547) (cherry picked from commit 53ecf9e08d35801807daf74492c090a325f995b7) Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
* bpo-39498 Start linking the security warnings in the stdlib modules (GH-18272)Miss Islington (bot)2021-08-101-0/+1
| | | | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit c5c5326d4799fe4ae566aff32ed3461af95859cc) Co-authored-by: Anthony Shaw <anthony.p.shaw@gmail.com>
* bpo-40701: doc typo historcal -> historical (GH-25334)Gregory P. Smith2021-04-101-1/+1
|
* bpo-29982: Add "ignore_cleanup_errors" param to ↵CAM Gerlach2021-03-141-3/+12
| | | | tempfile.TemporaryDirectory() (GH-24793)
* bpo-40701: tempfile mixes str and bytes in an inconsistent manner (GH-20442)Eric L2021-03-031-2/+19
| | | | | | | | | | | The case of tempfile.tempdir variable being bytes is now handled consistently. The getters return the right type and no more error of mixing str and bytes unless explicitly caused by the user. Adds a regression test. Expands the documentation to clarify the behavior. Co-authored-by: Eric L <ewl+git@lavar.de> Co-authored-by: Gregory P. Smith <greg@krypto.org>
* bpo-33239: Fix default value of 'buffering' parameter in docs of tempfile.* ↵Sergey Fedoseev2020-09-131-3/+3
| | | | | | | | | | | | | | | | | functions (GH-21763) `None` doesn't work: ```python >>> import tempfile >>> tempfile.TemporaryFile(buffering=None) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/sergey/tmp/cpython-dev/Lib/tempfile.py", line 607, in TemporaryFile return _io.open(fd, mode, buffering=buffering, TypeError: 'NoneType' object cannot be interpreted as an integer ``` Automerge-Triggered-By: @vsajip
* bpo-41410: Fix outdated info in mkstemp docs (GH-21701)Rishav Kundu2020-08-141-3/+2
| | | Automerge-Triggered-By: @ericvsmith
* bpo-26730: Fix SpooledTemporaryFile data corruption (GH-17400)Inada Naoki2019-11-271-2/+2
| | | | | | | SpooledTemporaryFile.rollback() might cause data corruption when it is in text mode. Co-Authored-By: Serhiy Storchaka <storchaka@gmail.com>
* bpo-35803: Document and test dir=PathLike for tempfile (GH-11644)Anthony Sottile2019-09-091-0/+6
| | | Co-Authored-By: Ammar Askar <ammar_askar@hotmail.com>
* bpo-37390: Add audit event table to documentations (GH-14406)Steve Dower2019-06-271-5/+5
| | | Also updates some (unreleased) event names to be consistent with the others.
* bpo-37363: Add audit events for a range of modules (GH-14301)Steve Dower2019-06-241-0/+10
|
* bpo-35506: Remove redundant and incorrect links from keywords. (GH-11174)Serhiy Storchaka2018-12-191-1/+1
|
* Clarified the tempfile.tempdir documentation (GH-7829)Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)2018-06-211-1/+1
|
* bpo-27300: Add the errors parameter to tempfile classes. (GH-6696)sth2018-05-231-4/+13
|
* tempfile.rst: Fix some typos (GH-610)Jelle Zijlstra2017-03-111-2/+2
|
* Issue #22558: Add remaining doc links to source code for Python-coded modules.Terry Jan Reedy2016-06-111-5/+3
| | | | | Reformat header above separator line (added if missing) to a common format. Patch by Yoni Lavi.
* Fix spelling (inital), grammar (may translates) in documentation, commentsMartin Panter2016-04-191-1/+1
|
* Issue #26261: Clarify NamedTemporaryFile name attribute vs file.nameMartin Panter2016-02-221-1/+2
|
* Issue #25064: Adjust documentation according to new mkstemp signatureMartin Panter2015-11-071-19/+17
| | | | | | | | 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 #25523: Merge "a" to "an" fixes from 3.4 into 3.5Martin Panter2015-11-021-1/+1
|\
| * Issue #25523: Correct "a" article to "an" articleMartin Panter2015-11-021-1/+1
| | | | | | | | | | | | This changes the main documentation, doc strings, source code comments, and a couple error messages in the test suite. In some cases the word was removed or edited some other way to fix the grammar.
* | Issue #23725: Overhaul tempfile docs.Robert Collins2015-08-121-66/+89
| | | | | | | | Patch from Zbigniew Jędrzejewski-Szmek.
* | Issue 24230: The tempfile module now accepts bytes for prefix, suffix and dirGregory P. Smith2015-05-221-2/+35
| | | | | | | | parameters and returns bytes in such situations (matching the os module APIs).
* | merge with 3.4Georg Brandl2014-10-311-1/+1
|\ \ | |/
| * #22613: minor other fixes in library docs (thanks Jacques Ducasse)Georg Brandl2014-10-311-1/+1
| |
* | Issue #21515: tempfile.TemporaryFile now uses os.O_TMPFILE flag is availableVictor Stinner2014-06-051-0/+7
|/
* #14515: clarify that TemporaryDirectory's __enter__ returns the name.R David Murray2014-02-051-4/+6
|
* Issue #18743: Fix references to non-existant "StringIO" module.Serhiy Storchaka2013-08-161-1/+1
|
* #17271: merge with 3.2.Ezio Melotti2013-02-221-4/+3
|\
| * #17271: update example in tempfile docs.Ezio Melotti2013-02-221-4/+3
| |
* | Minor fix of previous commit.Serhiy Storchaka2013-02-091-1/+1
|\ \ | |/
| * Minor fix of previous commit.Serhiy Storchaka2013-02-091-1/+1
| |
* | Issue #17147. Mention BytesIO in SpooledTemporaryFile documentation.Serhiy Storchaka2013-02-091-3/+5
|\ \ | |/
| * Issue #17147. Mention BytesIO in SpooledTemporaryFile documentation.Serhiy Storchaka2013-02-091-3/+5
| |
* | #9957: document that SpooledTemporaryFile.truncate now accepts a size argR David Murray2012-10-061-0/+3
|\ \ | |/
| * #9957: document that SpooledTemporaryFile.truncate does not take size argR David Murray2012-10-061-1/+2
| |
* | Merge from 3.2 . Replace the term members with correct and appropriate ↵Senthil Kumaran2011-07-041-2/+2
|\ \ | |/ | | | | terminology. Initial patch by Adam Woodbeck.
| * issue10403 - Let's not use members anymore. Use 'attribute' where it denotes ↵Senthil Kumaran2011-07-041-2/+2
| | | | | | | | attribute and 'methods' where it denotes methods. Context should clarify usage.
* | #10354: remove last public mentions of 'template' and comment as private.R David Murray2011-06-231-1/+1
|/ | | | | | 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 #11818: Fix tempfile examples for Python 3.Ross Lagerwall2011-04-101-5/+5
|
* More source links.Raymond Hettinger2011-01-271-0/+4
|
* Issue 5178: Add tempfile.TemporaryDirectory (original patch by Neil Schemenauer)Nick Coghlan2010-10-241-1/+52
|
* Add cross-references to the glossary entry for file objects.Antoine Pitrou2010-09-151-1/+1
|
* Fix signatures for the various TemporaryFile class^Wfunctions.Georg Brandl2010-05-211-6/+5
|
* Last round of adapting style of documenting argument default values.Georg Brandl2009-09-161-7/+6
|
* Merged revisions 74207 via svnmerge fromGeorg Brandl2009-07-261-2/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r74207 | georg.brandl | 2009-07-26 16:19:57 +0200 (So, 26 Jul 2009) | 1 line #6577: fix (hopefully) all links to builtin instead of module/class-specific objects. ........
* Merged revisions 68219 via svnmerge fromGeorg Brandl2009-01-031-5/+5
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r68219 | georg.brandl | 2009-01-03 21:47:01 +0100 (Sat, 03 Jan 2009) | 2 lines Fix uses of the default role. ........
* Undocument deprecated module global "template".Georg Brandl2008-08-041-14/+1
|