summaryrefslogtreecommitdiffstats
path: root/Doc/library/os.rst
Commit message (Collapse)AuthorAgeFilesLines
* bpo-34384: Fix os.readlink() on Windows (GH-8740)Berker Peksag2018-08-151-1/+3
| | | | | | | | | os.readlink() now accepts path-like and bytes objects on Windows. Previously, support for path-like and bytes objects was only implemented on Unix. This commit also merges Unix and Windows implementations of os.readlink() in one function and adds basic unit tests to increase test coverage of the function.
* bpo-31368: Enhance os.preadv() documentation (GH-7254)Pablo Galindo2018-05-301-95/+114
|
* bpo-32878: Adds documentation for st_ino on Windows (GH-5764)Steve Dower2018-05-291-1/+11
|
* bpo-20104: Improve error handling and fix a reference leak in ↵Serhiy Storchaka2018-05-011-11/+27
| | | | os.posix_spawn(). (#6332)
* bpo-20709: os.utime(path_to_directory): wrong documentation for Windows. ↵Stéphane Wirtel2018-05-011-8/+6
| | | | | | | | (GH-5469) Remove the paragraph where we explain that os.utime() does not support a directory as path under Windows. Patch by Jan-Philip Gehrcke Co-authored-by: Jan-Philip Gehrcke <jgehrcke@gmail.com>
* Fix rendering issues in the documentation for the os module (#6525)Pablo Galindo2018-04-251-4/+16
|
* closes bpo-33202: fix os.walk mentioning os.listdir instead of os.scandir ↵Andrés Delfino2018-04-031-1/+1
| | | | | | (GH-6335)
* bpo-20104: Add os.posix_spawn documentation. (#6334)Gregory P. Smith2018-04-011-0/+25
|
* bpo-32659: Solaris "stat" should support "st_fstype" (#5307)jcea2018-01-281-0/+10
| | | | | | * bpo-32659: Solaris "stat" should support "st_fstype" * Add 'versionadded'
* bpo-31368: Expose preadv and pwritev in the os module (#5239)Pablo Galindo2018-01-271-0/+84
|
* bpo-32651 Recommend getpass.getuser() (#5301)Barry Warsaw2018-01-241-4/+5
| | | | * bpo-32651 - In the documentation for os.getlogin(), recommend getpass.getuser()
* return the new file descriptor from os.dup2 (closes bpo-32441) (#5041)Benjamin Peterson2017-12-291-3/+7
|
* bpo-32143: add f_fsid to os.statvfs() (#4571)Giuseppe Scrivano2017-12-141-1/+4
| | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* bpo-31827: Remove os.stat_float_times() (GH-4061)Victor Stinner2017-10-241-29/+0
|
* 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.