summaryrefslogtreecommitdiffstats
path: root/Doc/library/os.rst
Commit message (Collapse)AuthorAgeFilesLines
* bpo-37129: Add os.RWF_APPEND flag for os.pwritev() (GH-20336)YoSTEALTH2020-05-271-4/+19
|
* bpo-40211: Clarify os.preadv and os.pwritev are supported on AIX 7.1+ (GH-19401)Batuhan Taskaya2020-05-161-2/+4
|
* bpo-40178: Convert the remaining os functions to Argument Clinic. (GH-19360)Serhiy Storchaka2020-04-181-1/+1
| | | | | Convert os.getgrouplist(), os.initgroups(), os.sendfile() and os.get_terminal_size().
* bpo-40094: Add os.waitstatus_to_exitcode() (GH-19201)Victor Stinner2020-04-011-0/+56
| | | | | | | | | | | | | | Add os.waitstatus_to_exitcode() function to convert a wait status to an exitcode. Suggest waitstatus_to_exitcode() usage in the documentation when appropriate. Use waitstatus_to_exitcode() in: * multiprocessing, os, subprocess and _bootsubprocess modules; * test.support.wait_process(); * setup.py: run_command(); * and many tests.
* bpo-40094: Enhance os.WIFEXITED documentation (GH-19244)Victor Stinner2020-04-011-10/+24
|
* bpo-36144: Update os.environ and os.environb for PEP 584 (#18911)Charles Burkland2020-03-131-0/+6
|
* bpo-39567: Document audit for os.walk, os.fwalk, Path.glob and Path.rglob. ↵Serhiy Storchaka2020-03-081-0/+4
| | | | (GH-18499)
* bpo-39184: Add audit events to functions in `fcntl`, `msvcrt`, `os`, ↵Saiyang Gou2020-02-131-0/+68
| | | | `resource`, `shutil`, `signal`, `syslog` (GH-18407)
* bpo-39594: Fix typo in os.times documentation (GH-18443)Roger Hurwitz2020-02-101-4/+2
| | | | | There was an extra space in the url markup, causing the documentation not rendered properly. https://bugs.python.org/issue39594
* bpo-39184: Add audit events to command execution functions in os and pty ↵Saiyang Gou2020-02-051-0/+10
| | | | modules (GH-17824)
* bpo-39395: putenv() and unsetenv() always available (GH-18135)Victor Stinner2020-01-241-24/+19
| | | | | | | | The os.putenv() and os.unsetenv() functions are now always available. On non-Windows platforms, Python now requires setenv() and unsetenv() functions to build. Remove putenv_dict from posixmodule.c: it's not longer needed.
* bpo-39413: Implement os.unsetenv() on Windows (GH-18163)Victor Stinner2020-01-241-0/+3
| | | The os.unsetenv() function is now also available on Windows.
* Revert "bpo-39413: Implement os.unsetenv() on Windows (GH-18104)" (GH-18124)Victor Stinner2020-01-221-3/+0
| | | This reverts commit 56cd3710a1ea3ba872d345ea1bebc86ed08bc8b8.
* bpo-39413: Implement os.unsetenv() on Windows (GH-18104)Victor Stinner2020-01-211-0/+3
| | | | | The os.unsetenv() function is now also available on Windows. It is implemented with SetEnvironmentVariableW(name, NULL).
* bpo-38778: Document that os.fork is not allowed in subinterpreters (GH-17123)Phil Connell2019-11-151-1/+9
| | | | | | | | | | | | | | | Small docs update for [bpo-34651](https://bugs.python.org/issue34651). Other references to fork (e.g. the PyOS.*Fork functions or discussions of fork() when embedding Python) point back to os.fork, so I don't think any other updates are needed. https://bugs.python.org/issue38778 Automerge-Triggered-By: @ericsnowcurrently
* bpo-38738: Fix formatting of True and False. (GH-17083)Serhiy Storchaka2019-11-121-2/+2
| | | | | | | | | * "Return true/false" is replaced with "Return ``True``/``False``" if the function actually returns a bool. * Fixed formatting of some True and False literals (now in monospace). * Replaced "True/False" with "true/false" if it can be not only bool. * Replaced some 1/0 with True/False if it corresponds the code. * "Returns <bool>" is replaced with "Return <bool>".
* closes bpo-38713: Expose P_PIDFD in os if it's defined. (GH-17071)Benjamin Peterson2019-11-061-1/+11
| | | https://bugs.python.org/issue38713
* bpo-38692: Add os.pidfd_open. (GH-17063)Benjamin Peterson2019-11-061-0/+13
|
* bpo-38493: Add os.CLD_KILLED and os.CLD_STOPPED. (GH-16821)Dong-hee Na2019-10-211-0/+5
|
* bpo-38378: Rename parameters "out" and "in" of os.sendfile(). (GH-16742)Serhiy Storchaka2019-10-131-9/+12
| | | | | | | They conflicted with keyword "in". Also rename positional-only parameters of private os._fcopyfile() for consistency.
* bpo-20806: Reference both times(2) and times(3) and link to MSDN. (GH-15479)Joannah Nanjekye2019-09-071-1/+3
|
* bpo-37834: Normalise handling of reparse points on Windows (GH-15231)Steve Dower2019-08-211-2/+51
| | | | | | | | | | bpo-37834: Normalise handling of reparse points on Windows * ntpath.realpath() and nt.stat() will traverse all supported reparse points (previously was mixed) * nt.lstat() will let the OS traverse reparse points that are not name surrogates (previously would not traverse any reparse point) * nt.[l]stat() will only set S_IFLNK for symlinks (previous behaviour) * nt.readlink() will read destinations for symlinks and junction points only bpo-1311: os.path.exists('nul') now returns True on Windows * nt.stat('nul').st_mode is now S_IFCHR (previously was an error)
* closes bpo-37554: Remove `q:q` in os.rst documentation (GH-14692)Mariatta2019-07-111-1/+1
| | | https://bugs.python.org/issue37554
* bpo-37478: Add missing 'and'. (GH-14631)Terry Jan Reedy2019-07-071-1/+1
|
* bpo-37478: Specify possible exceptions for os.chdir() (GH-14611)Kyle Stanley2019-07-071-0/+3
|
* Use OSError subclasses in os documentation (GH-14262)Tim Hoffmann2019-07-051-17/+24
|
* bpo-37390: Add audit event table to documentations (GH-14406)Steve Dower2019-06-271-6/+6
| | | Also updates some (unreleased) event names to be consistent with the others.
* bpo-37412: os.getcwdb() now uses UTF-8 on Windows (GH-14396)Victor Stinner2019-06-261-0/+5
| | | | | | | | | The os.getcwdb() function now uses the UTF-8 encoding on Windows, rather than the ANSI code page: see PEP 529 for the rationale. The function is no longer deprecated on Windows. os.getcwd() and os.getcwdb() now detect integer overflow on memory allocations. On Unix, these functions properly report MemoryError on memory allocation failure.
* bpo-37363: Add audit events for a range of modules (GH-14301)Steve Dower2019-06-241-0/+4
|
* bpo-26836: Document os.memfd_create() name parameter (GH-13838)Victor Stinner2019-06-051-0/+7
| | | https://bugs.python.org/issue26836
* bpo-26826: Expose copy_file_range in the os module (GH-7255)Pablo Galindo2019-05-311-0/+22
|
* bpo-26836: Add os.memfd_create() (#13567)Zackery Spytz2019-05-291-0/+38
| | | | | | | | | | | | | | | | | | | | * bpo-26836: Add os.memfd_create() * Use the glibc wrapper for memfd_create() Co-Authored-By: Christian Heimes <christian@python.org> * Fix deletions caused by autoreconf. * Use MFD_CLOEXEC as the default value for *flags*. * Add memset_s to configure.ac. * Revert memset_s changes. * Apply the requested changes. * Tweak the docs.
* bpo-36842: Implement PEP 578 (GH-12613)Steve Dower2019-05-231-1/+11
| | | Adds sys.audit, sys.addaudithook, io.open_code, and associated C APIs.
* bpo-31904: Add posix module support for VxWorks (GH-12118)pxinwr2019-05-211-0/+4
|
* bpo-16024: Doc cleanup regarding path_fd, dir_fd, follow_symlinks (GH-5505)Cheryl Sabella2019-05-061-66/+76
|
* bpo-31512: Add non-elevated symlink support for Windows (GH-3652)Vidar Tonaas Fauske2019-04-091-8/+7
|
* bpo-36085: Enable better DLL resolution on Windows (GH-12302)Steve Dower2019-03-291-0/+30
|
* bpo-36170: posix_spawn doesn't exist on 3.7 (GH-12143)Mark Williams2019-03-031-1/+1
| | | The 3.8 docs claim that `os.posix_spawn` was introduced in 3.7, but it wasn't; it will be introduced in 3.8.
* bpo-35537: Add setsid parameter to os.posix_spawn() and os.posix_spawnp() ↵Joannah Nanjekye2019-02-011-2/+10
| | | | (GH-11608)
* bpo-35674: Add os.posix_spawnp() (GH-11554)Joannah Nanjekye2019-01-161-0/+17
| | | Add a new os.posix_spawnp() function.
* Fix doc typo: Window -> Windows (GH-10508)l-n-s2018-11-141-1/+1
|
* bpo-35110: Fix unintentional spaces around hyphens and dashes. (GH-10231)Serhiy Storchaka2018-10-311-5/+5
|
* bpo-35054: Add yet more index entries for symbols. (GH-10121)Serhiy Storchaka2018-10-281-6/+7
|
* bpo-35054: Add more index entries for symbols. (GH-10064)Serhiy Storchaka2018-10-261-0/+7
|
* bpo-11233: Create availability directive for documentation (GH-9692)Cheryl Sabella2018-10-121-157/+148
| | | | | | Replace "Availability: xxx" with ".. availability:: xxx" in the doc. Original patch by Georg Brandl. Co-Authored-By: Georg Brandl <georg@python.org>
* bpo-20104: Change the file_actions parameter of os.posix_spawn(). (GH-6725)Serhiy Storchaka2018-09-081-2/+3
| | | | | * Make its default value an empty tuple instead of None. * Make it a keyword-only parameter.
* bpo-20104: Add flag capabilities to posix_spawn (GH-6693)Pablo Galindo2018-09-071-1/+33
| | | Implement the "attributes objects" parameter of `os.posix_spawn` to complete the implementation and fully cover the underlying API.
* 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
|