Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-38778: Document that os.fork is not allowed in subinterpreters (GH-17123) | Phil Connell | 2019-11-15 | 1 | -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 Storchaka | 2019-11-12 | 1 | -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 Peterson | 2019-11-06 | 1 | -1/+11 |
| | | | https://bugs.python.org/issue38713 | ||||
* | bpo-38692: Add os.pidfd_open. (GH-17063) | Benjamin Peterson | 2019-11-06 | 1 | -0/+13 |
| | |||||
* | bpo-38493: Add os.CLD_KILLED and os.CLD_STOPPED. (GH-16821) | Dong-hee Na | 2019-10-21 | 1 | -0/+5 |
| | |||||
* | bpo-38378: Rename parameters "out" and "in" of os.sendfile(). (GH-16742) | Serhiy Storchaka | 2019-10-13 | 1 | -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 Nanjekye | 2019-09-07 | 1 | -1/+3 |
| | |||||
* | bpo-37834: Normalise handling of reparse points on Windows (GH-15231) | Steve Dower | 2019-08-21 | 1 | -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) | Mariatta | 2019-07-11 | 1 | -1/+1 |
| | | | https://bugs.python.org/issue37554 | ||||
* | bpo-37478: Add missing 'and'. (GH-14631) | Terry Jan Reedy | 2019-07-07 | 1 | -1/+1 |
| | |||||
* | bpo-37478: Specify possible exceptions for os.chdir() (GH-14611) | Kyle Stanley | 2019-07-07 | 1 | -0/+3 |
| | |||||
* | Use OSError subclasses in os documentation (GH-14262) | Tim Hoffmann | 2019-07-05 | 1 | -17/+24 |
| | |||||
* | bpo-37390: Add audit event table to documentations (GH-14406) | Steve Dower | 2019-06-27 | 1 | -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 Stinner | 2019-06-26 | 1 | -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 Dower | 2019-06-24 | 1 | -0/+4 |
| | |||||
* | bpo-26836: Document os.memfd_create() name parameter (GH-13838) | Victor Stinner | 2019-06-05 | 1 | -0/+7 |
| | | | https://bugs.python.org/issue26836 | ||||
* | bpo-26826: Expose copy_file_range in the os module (GH-7255) | Pablo Galindo | 2019-05-31 | 1 | -0/+22 |
| | |||||
* | bpo-26836: Add os.memfd_create() (#13567) | Zackery Spytz | 2019-05-29 | 1 | -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 Dower | 2019-05-23 | 1 | -1/+11 |
| | | | Adds sys.audit, sys.addaudithook, io.open_code, and associated C APIs. | ||||
* | bpo-31904: Add posix module support for VxWorks (GH-12118) | pxinwr | 2019-05-21 | 1 | -0/+4 |
| | |||||
* | bpo-16024: Doc cleanup regarding path_fd, dir_fd, follow_symlinks (GH-5505) | Cheryl Sabella | 2019-05-06 | 1 | -66/+76 |
| | |||||
* | bpo-31512: Add non-elevated symlink support for Windows (GH-3652) | Vidar Tonaas Fauske | 2019-04-09 | 1 | -8/+7 |
| | |||||
* | bpo-36085: Enable better DLL resolution on Windows (GH-12302) | Steve Dower | 2019-03-29 | 1 | -0/+30 |
| | |||||
* | bpo-36170: posix_spawn doesn't exist on 3.7 (GH-12143) | Mark Williams | 2019-03-03 | 1 | -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 Nanjekye | 2019-02-01 | 1 | -2/+10 |
| | | | | (GH-11608) | ||||
* | bpo-35674: Add os.posix_spawnp() (GH-11554) | Joannah Nanjekye | 2019-01-16 | 1 | -0/+17 |
| | | | Add a new os.posix_spawnp() function. | ||||
* | Fix doc typo: Window -> Windows (GH-10508) | l-n-s | 2018-11-14 | 1 | -1/+1 |
| | |||||
* | bpo-35110: Fix unintentional spaces around hyphens and dashes. (GH-10231) | Serhiy Storchaka | 2018-10-31 | 1 | -5/+5 |
| | |||||
* | bpo-35054: Add yet more index entries for symbols. (GH-10121) | Serhiy Storchaka | 2018-10-28 | 1 | -6/+7 |
| | |||||
* | bpo-35054: Add more index entries for symbols. (GH-10064) | Serhiy Storchaka | 2018-10-26 | 1 | -0/+7 |
| | |||||
* | bpo-11233: Create availability directive for documentation (GH-9692) | Cheryl Sabella | 2018-10-12 | 1 | -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 Storchaka | 2018-09-08 | 1 | -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 Galindo | 2018-09-07 | 1 | -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 Peksag | 2018-08-15 | 1 | -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 Galindo | 2018-05-30 | 1 | -95/+114 |
| | |||||
* | bpo-32878: Adds documentation for st_ino on Windows (GH-5764) | Steve Dower | 2018-05-29 | 1 | -1/+11 |
| | |||||
* | bpo-20104: Improve error handling and fix a reference leak in ↵ | Serhiy Storchaka | 2018-05-01 | 1 | -11/+27 |
| | | | | os.posix_spawn(). (#6332) | ||||
* | bpo-20709: os.utime(path_to_directory): wrong documentation for Windows. ↵ | Stéphane Wirtel | 2018-05-01 | 1 | -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 Galindo | 2018-04-25 | 1 | -4/+16 |
| | |||||
* | closes bpo-33202: fix os.walk mentioning os.listdir instead of os.scandir ↵ | Andrés Delfino | 2018-04-03 | 1 | -1/+1 |
| | | | | | | (GH-6335) | ||||
* | bpo-20104: Add os.posix_spawn documentation. (#6334) | Gregory P. Smith | 2018-04-01 | 1 | -0/+25 |
| | |||||
* | bpo-32659: Solaris "stat" should support "st_fstype" (#5307) | jcea | 2018-01-28 | 1 | -0/+10 |
| | | | | | | * bpo-32659: Solaris "stat" should support "st_fstype" * Add 'versionadded' | ||||
* | bpo-31368: Expose preadv and pwritev in the os module (#5239) | Pablo Galindo | 2018-01-27 | 1 | -0/+84 |
| | |||||
* | bpo-32651 Recommend getpass.getuser() (#5301) | Barry Warsaw | 2018-01-24 | 1 | -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 Peterson | 2017-12-29 | 1 | -3/+7 |
| | |||||
* | bpo-32143: add f_fsid to os.statvfs() (#4571) | Giuseppe Scrivano | 2017-12-14 | 1 | -1/+4 |
| | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com> | ||||
* | bpo-31827: Remove os.stat_float_times() (GH-4061) | Victor Stinner | 2017-10-24 | 1 | -29/+0 |
| | |||||
* | bpo-16500: Don't use string constants for os.register_at_fork() behavior (#1834) | Gregory P. Smith | 2017-05-29 | 1 | -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 Pitrou | 2017-05-27 | 1 | -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 Storchaka | 2017-03-30 | 1 | -1/+9 |
| | | | | os.fwalk() is sped up by 2 times by using os.scandir(). |