summaryrefslogtreecommitdiffstats
path: root/Doc/library/os.rst
Commit message (Collapse)AuthorAgeFilesLines
* 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
|\ \ | |/
| * Enhance os.scandir() docVictor Stinner2016-01-311-35/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #26248, patch written by Ben Hoyt: 1) Clarify that the return values of is_dir()/is_file()/etc are cached separately for follow_symlinks True and False. 2) Be more specific about when the functions require a system call, and how it relates to caching and follow_symlinks. 3) DRY up common stuff between is_dir and is_file by saying "Caching, system calls made, and exceptions raised are as per is_dir" in is_file. 4) Tweak to the first paragraph of docs for is_dir/is_file to simplify: assume the follow_symlinks=True default, then note the follow_symlinks=False non-default case after.
* | Docs for issue #22570. (Merge 3.5->3.6)Guido van Rossum2016-01-061-0/+6
|\ \ | |/
| * Cross-reference os.DirEntry and pathlib.Path for issue #22570.Guido van Rossum2016-01-061-0/+6
| |
| * Backport of fix for issue #25930Brett Cannon2015-12-291-5/+5
| |