summaryrefslogtreecommitdiffstats
path: root/Doc/library/os.rst
Commit message (Collapse)AuthorAgeFilesLines
* bpo-16500: Don't use string constants for os.register_at_fork() behavior (#1834)Gregory P. Smith2017-05-291-8/+16
| | | | Instead use keyword only arguments to os.register_at_fork for each of the scenarios. Updates the documentation for clarity.
* bpo-16500: Allow registering at-fork handlers (#1715)Antoine Pitrou2017-05-271-0/+25
| | | | | | | | | | | | * bpo-16500: Allow registering at-fork handlers * Address Serhiy's comments * Add doc for new C API * Add doc for new Python-facing function * Add NEWS entry + doc nit
* bpo-25996: Added support of file descriptors in os.scandir() on Unix. (#502)Serhiy Storchaka2017-03-301-1/+9
| | | | os.fwalk() is sped up by 2 times by using os.scandir().
* bpo-19930: The mode argument of os.makedirs() no longer affects the file (#799)Serhiy Storchaka2017-03-241-2/+9
| | | permission bits of newly-created intermediate-level directories.
* bpo-28682: Added support for bytes paths in os.fwalk(). (#489)Serhiy Storchaka2017-03-071-0/+3
|
* Tweak PEP 519 documentation in stdlib (#163)Berker Peksag2017-02-191-1/+1
| | | | * Drop duplicate work 'object' in lzma docs * Fix typo in os docs: fpr -> for
* Issue #29092: Sync os.stat's doc and docstring on path type.Xiang Zhang2017-01-221-1/+1
|\
| * Issue #29092: Sync os.stat's doc and docstring on path type.Xiang Zhang2017-01-221-1/+1
| |
* | Issue #27998: Documented bytes paths support on Windows.Serhiy Storchaka2016-11-201-12/+11
| |
* | Issue #19795: Mark up None as literal text.Serhiy Storchaka2016-10-191-2/+2
|\ \ | |/
| * Issue #19795: Mark up None as literal text.Serhiy Storchaka2016-10-191-2/+2
| |
* | Merge from 3.5Berker Peksag2016-09-261-0/+2
|\ \ | |/
| * Document that os.mknod() is not available on WindowsBerker Peksag2016-09-261-0/+2
| | | | | | | | Reported by Regina Ochotzki on docs@p.o.
* | Merge from 3.5Berker Peksag2016-09-261-0/+3
|\ \ | |/
| * os.genenvb() is not availabnle under WindowsBerker Peksag2016-09-261-0/+3
| |
* | Closes #23105: Merged update from 3.5.Vinay Sajip2016-09-111-6/+6
|\ \ | |/
| * Issue #23105: Updated documentation on open() flag constants.Vinay Sajip2016-09-111-6/+6
| |
* | os.urandom() now blocks on LinuxVictor Stinner2016-09-061-8/+21
| | | | | | | | | | | | | | Issue #27776: The os.urandom() function does now block on Linux 3.17 and newer until the system urandom entropy pool is initialized to increase the security. This change is part of the PEP 524.
* | Add os.getrandom()Victor Stinner2016-09-061-8/+49
| | | | | | | | | | | | | | Issue #27778: Expose the Linux getrandom() syscall as a new os.getrandom() function. This change is part of the PEP 524.
* | Issue #26027, #27524: Document the support for path-like objects in os and ↵Brett Cannon2016-09-061-16/+142
| | | | | | | | | | | | os.path. This completes PEP 519.
* | Issue #27355: Removed support for Windows CE. It was never finished,Larry Hastings2016-09-051-1/+1
| | | | | | | | and Windows CE is no longer a relevant platform for Python.
* | Issue #27626: Merge spelling fixes from 3.5Martin Panter2016-07-281-1/+1
|\ \ | |/
| * Issue #27626: Spelling fixes in docs, comments and internal namesMartin Panter2016-07-281-1/+1
| | | | | | | | Based on patch by Ville Skyttä.
| * Remove a stale reference to pathlib.PurePath.pathBrett Cannon2016-06-241-3/+2
| |
* | Issue #27038: Expose DirEntry as os.DirEntry.Brett Cannon2016-06-241-24/+26
| | | | | | | | Thanks to Jelle Zijlstra for the code portion of the patch.
* | Issue #27186: Define what a "path-like object" is.Brett Cannon2016-06-241-7/+9
| | | | | | | | Thanks to Dusty Phillips for the initial patch.
* | Issue #27186: Update os.fspath()/PyOS_FSPath() to check the returnBrett Cannon2016-06-241-6/+8
| | | | | | | | | | | | | | type of __fspath__(). As part of this change, also make sure that the pure Python implementation of os.fspath() is tested.
* | [merge from 3.5] - issue27021 - Document SC_IOV_MAX limitation imposed by OS ↵Senthil Kumaran2016-06-181-1/+5
|\ \ | |/ | | | | | | | | on os.writev. Patch contributed Марк Коренберг.
| * issue27021 - Document SC_IOV_MAX limitation imposed by OS on os.writev.Senthil Kumaran2016-06-181-1/+5
| | | | | | | | Patch contributed Марк Коренберг.
* | Merge Issue #22558.Terry Jan Reedy2016-06-111-0/+3
|\ \ | |/
| * Issue #22558: Add remaining doc links to source code for Python-coded modules.Terry Jan Reedy2016-06-111-0/+3
| | | | | | | | | | Reformat header above separator line (added if missing) to a common format. Patch by Yoni Lavi.
* | Issue #27186: Add os.PathLike support to DirEntryBrett Cannon2016-06-101-0/+6
| | | | | | | | Initial patch thanks to Jelle Zijlstra.
* | Issue #24617: Merge os.mkdir() doc from 3.5Martin Panter2016-06-101-4/+10
|\ \ | |/
| * Issue #24617: Add comment for os.mkdir about mode quirksTommy Beadle2016-06-021-4/+10
| |
* | Add a versionadded directive to os.PathLikeBerker Peksag2016-06-101-0/+2
| |
* | Issue #27182: Document os.PathLike.Brett Cannon2016-06-091-0/+21
| | | | | | | | Part of PEP 519.
* | Clarify the os.fspath() documentation.Brett Cannon2016-06-091-3/+4
| |
* | Merge 3.5 (os.urandom)Victor Stinner2016-06-071-3/+10
|\ \ | |/
| * os.urandom() doesn't block on Linux anymoreVictor Stinner2016-06-071-3/+10
| | | | | | | | | | | | Issue #26839: On Linux, os.urandom() now calls getrandom() with GRND_NONBLOCK to fall back on reading /dev/urandom if the urandom entropy pool is not initialized yet. Patch written by Colm Buckley.
* | issue27186 -- initial docs, tests, and python version of os.fspathEthan Furman2016-06-021-0/+9
| |
* | Issue #27125: Merge typo fixes from 3.5Martin Panter2016-05-291-1/+1
|\ \ | |/ | | | | Also merge changes from Issue #27117; no actual code changes to 3.6.
| * Issue #27125: Fix various errors like “will [be] inherited”Martin Panter2016-05-291-1/+1
| |
* | Merge with 3.5Zachary Ware2016-04-251-2/+2
|\ \ | |/
| * FileExistsError is raised by mkdir when dir existsZachary Ware2016-04-251-2/+2
| | | | | | | | Reported by Saul Spatz on docs@
* | Issue #15984: Merge PyUnicode doc from 3.5Martin Panter2016-04-151-1/+1
|\ \ | |/
| * Correct “an” → “a” with “Unicode”, “user”, “UTF”, etcMartin Panter2016-04-151-1/+1
| | | | | | | | This affects documentation, code comments, and a debugging messages.
* | merge with 3.5Georg Brandl2016-02-261-3/+3
|\ \ | |/
| * Closes #25910: fix dead and permanently redirected links in the docs. Thanks ↵Georg Brandl2016-02-261-3/+3
| | | | | | | | to SilentGhost for the patch.
* | Issue #25994: Added the close() method and the support of the context managerSerhiy Storchaka2016-02-111-3/+24
| | | | | | | | protocol for the os.scandir() iterator.
* | Merge 3.5 (doc)Victor Stinner2016-01-311-35/+38
|\ \ | |/