| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | bpo-34685: Skip posix_spawn scheduler tests on BSD (GH-9316) | Pablo Galindo | 2018-09-14 | 1 | -6/+10 |
| | | | | * Skip posix_spawn scheduler tests on BSD. We were already skyping similar tests as the behaviour can depend on the implementation in some cases. | ||||
| * | closes bpo-34650: Check if sched_getscheduler returns ENOSYS before ↵ | Benjamin Peterson | 2018-09-12 | 1 | -3/+15 |
| | | | | | | declaring it supported. (GH-9228) musl doesn't support the scheduler API, but declares stubs that alway return ENOSYS. | ||||
| * | bpo-20104: Change the file_actions parameter of os.posix_spawn(). (GH-6725) | Serhiy Storchaka | 2018-09-08 | 1 | -29/+28 |
| | | | | | | * 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 | -0/+143 |
| | | | | Implement the "attributes objects" parameter of `os.posix_spawn` to complete the implementation and fully cover the underlying API. | ||||
| * | Fix TestPosixSpawn.test_close_file() (GH-8992) | Victor Stinner | 2018-08-29 | 1 | -30/+34 |
| | | | | | | | | | Modify TestPosixSpawn to run Python using -I and -S options. Disable site module to avoid side effects. For example, on Fedora 28, if the HOME environment variable is not set, site._getuserbase() calls pwd.getpwuid() which opens /var/lib/sss/mc/passwd, but then leaves the file open which makes test_close_file() to fail. | ||||
| * | bpo-33871: Fix os.sendfile(), os.writev(), os.readv(), etc. (GH-7931) | Serhiy Storchaka | 2018-07-31 | 1 | -0/+53 |
| | | | | | | | | | | | | | * Fix integer overflow in os.readv(), os.writev(), os.preadv() and os.pwritev() and in os.sendfile() with headers or trailers arguments (on BSD-based OSes and MacOS). * Fix sending the part of the file in os.sendfile() on MacOS. Using the trailers argument could cause sending more bytes from the input file than was specified. Thanks Ned Deily for testing on 32-bit MacOS. | ||||
| * | bpo-31044, test_posix: Reenable makedev() tests on FreeBSD (#7449) | Victor Stinner | 2018-06-06 | 1 | -5/+0 |
| | | | | | | | The bug has been fixed 10 months ago: * https://svnweb.freebsd.org/base?view=revision&revision=321920 * https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221048 | ||||
| * | bpo-33655: Also ignore test_posix_fallocate failures on BSD platforms (GH-7134) | Ned Deily | 2018-05-26 | 1 | -1/+6 |
| | | | | | The failure may be due to the use oF ZFS, a case we already ignore for Solaris-based systems where ZFS is frequently used. | ||||
| * | bpo-33455: Pass os.environ in test_posix::test_specify_environment. (GH-6753) | Miro Hrončok | 2018-05-11 | 1 | -1/+1 |
| | | | | | | | Pass os.environ's copy to new process created at test_posix: test_specify_environment. Otherwise important variables such as LD_LIBRARY_PATH are not set and the child process might not work at all in an environment where such variables are required for Python to function. | ||||
| * | bpo-20104: Improve error handling and fix a reference leak in ↵ | Serhiy Storchaka | 2018-05-01 | 1 | -17/+160 |
| | | | | | os.posix_spawn(). (#6332) | ||||
| * | bpo-20104: Expose `posix_spawn` in the os module (GH-5109) | Pablo Galindo | 2018-01-29 | 1 | -0/+17 |
| | | | | | | Add os.posix_spawn to wrap the low level POSIX API of the same name. Contributed by Pablo Galindo. | ||||
| * | bpo-31368: Expose preadv and pwritev in the os module (#5239) | Pablo Galindo | 2018-01-27 | 1 | -0/+50 |
| | | |||||
| * | bpo-32593: Drop FreeBSD 9 and older support (#5232) | Victor Stinner | 2018-01-22 | 1 | -0/+1 |
| | | | | Drop support of FreeBSD 9 and older. | ||||
| * | bpo-28759: Skip some tests on PermissionError raised by Android (GH-4350) | xdegaye | 2017-11-12 | 1 | -11/+15 |
| | | | | | | | Access to mkfifo(), mknod() and hard link creation is controled by SELinux on Android. Also remove test.support.android_not_root. | ||||
| * | bpo-31106: Fix handling of erros in posix_fallocate() and posix_fadvise() ↵ | Коренберг Марк | 2017-08-14 | 1 | -0/+19 |
| | | | | | (#3000) (#3000) | ||||
| * | bpo-31044: Skip test_posix.test_makedev() on FreeBSD (#2915) | Victor Stinner | 2017-07-27 | 1 | -0/+4 |
| | | | | | | There is a bug in FreeBSD CURRENT with 64-bit dev_t. Skip the test if dev_t is larger than 32-bit, until the bug is fixed in FreeBSD CURRENT. | ||||
| * | bpo-30879: os.listdir() and os.scandir() now emit bytes names when (#2634) | Serhiy Storchaka | 2017-07-11 | 1 | -3/+11 |
| | | | | | called with bytes-like argument. | ||||
| * | bpo-30746: Prohibited the '=' character in environment variable names (#2382) | Serhiy Storchaka | 2017-06-25 | 1 | -0/+15 |
| | | | | | in `os.putenv()` and `os.spawn*()`. | ||||
| * | bpo-16500: Don't use string constants for os.register_at_fork() behavior (#1834) | Gregory P. Smith | 2017-05-29 | 1 | -7/+29 |
| | | | | | 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/+40 |
| | | | | | | | | | | | | | * 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 | ||||
| * | Issue #28759: Fix the tests that fail with PermissionError when run as | Xavier de Gaye | 2016-12-13 | 1 | -0/+6 |
| | | | | | a non-root user on Android where access rights are controled by SELinux MAC. | ||||
| * | Issue #26944: Fix test_posix for Android where 'id -G' is entirely wrong | Xavier de Gaye | 2016-10-19 | 1 | -7/+10 |
| | | | | | or missing the effective gid. | ||||
| * | Issue #26027, #27524: Add PEP 519/__fspath__() support to os and | Brett Cannon | 2016-08-26 | 1 | -5/+5 |
| | | | | | | | os.path. Thanks to Jelle Zijlstra for the initial patch against posixmodule.c. | ||||
| * | Issue #26800: Undocumented support of general bytes-like objects | Serhiy Storchaka | 2016-08-06 | 1 | -1/+3 |
| | | | | | as paths in os functions is now deprecated. | ||||
| * | Issue #23277: Remove unused imports in tests. | Serhiy Storchaka | 2016-04-24 | 1 | -1/+0 |
| | | |||||
| * | Issue #26671: Fixed tests for changed error messages. | Serhiy Storchaka | 2016-04-08 | 1 | -3/+3 |
| | | |||||
| * | Issue #23738: Merge 3.4 into 3.5 | Martin Panter | 2015-09-09 | 1 | -0/+8 |
| |\ | |||||
| | * | Issue #23738: Document and test actual keyword parameter names | Martin Panter | 2015-09-09 | 1 | -0/+8 |
| | | | | | | | | | Also fix signature because os.utime(..., ns=None) is not allowed. | ||||
| * | | Issue #23908: os functions now reject paths with embedded null character | Serhiy Storchaka | 2015-04-20 | 1 | -0/+36 |
| |\ \ | |/ | | | | | | | | | on Windows instead of silently truncate them. Removed no longer used _PyUnicode_HasNULChars(). | ||||
| | * | Issue #23908: os functions now reject paths with embedded null character | Serhiy Storchaka | 2015-04-20 | 1 | -0/+36 |
| | | | | | | | | | on Windows instead of silently truncate them. | ||||
| * | | Issue #23842: Added tests for os.major(), os.minor() and os.makedev(). | Serhiy Storchaka | 2015-04-20 | 1 | -0/+30 |
| |\ \ | |/ | |||||
| | * | Issue #23842: Added tests for os.major(), os.minor() and os.makedev(). | Serhiy Storchaka | 2015-04-20 | 1 | -0/+30 |
| | | | |||||
| * | | Merge 3.4 | Victor Stinner | 2014-10-05 | 1 | -10/+11 |
| |\ \ | |/ | |||||
| | * | cleanup test_posix | Victor Stinner | 2014-10-05 | 1 | -9/+10 |
| | | | |||||
| | * | Issue #22390: Remove files created by tests | Victor Stinner | 2014-10-05 | 1 | -1/+1 |
| | | | |||||
| * | | Issue #22054: Add os.get_blocking() and os.set_blocking() functions to get and | Victor Stinner | 2014-07-29 | 1 | -4/+3 |
| |/ | | | | | set the blocking mode of a file descriptor (False if the O_NONBLOCK flag is set, True otherwise). These functions are not available on Windows. | ||||
| * | Closes #11279: test_posix and lack of "id -G" support - less noise required? ↵ | Jesus Cea | 2014-06-28 | 1 | -1/+1 |
| | | | | | (Solaris) | ||||
| * | Issue #21811: Anticipated fixes to 3.x and 2.7 for OS X 10.10 Yosemite. | Ned Deily | 2014-06-25 | 1 | -1/+1 |
| | | |||||
| * | merge 3.3 (#20249) | Benjamin Peterson | 2014-03-02 | 1 | -1/+1 |
| |\ | |||||
| | * | fix test_posix.test_initgroups to work without supplemental groups (closes ↵ | Benjamin Peterson | 2014-03-02 | 1 | -1/+1 |
| | | | | | | | | | #20249) | ||||
| * | | Issue #20517: Functions in the os module that accept two filenames | Larry Hastings | 2014-02-10 | 1 | -0/+17 |
| | | | | | | | | | | | | | now register both filenames in the exception on failure. This required adding new C API functions allowing OSError exceptions to reference two filenames instead of one. | ||||
| * | | Issue #20532: Tests which use _testcapi now are marked as CPython only. | Serhiy Storchaka | 2014-02-07 | 1 | -1/+5 |
| |\ \ | |/ | |||||
| | * | Issue #20532: Tests which use _testcapi now are marked as CPython only. | Serhiy Storchaka | 2014-02-07 | 1 | -1/+5 |
| | | | |||||
| * | | (Merge 3.3) Issue #20113: Fix test_posix on OpenIndiana | Victor Stinner | 2014-01-08 | 1 | -2/+16 |
| |\ \ | |/ | |||||
| | * | Issue #20113: Fix test_posix on OpenIndiana | Victor Stinner | 2014-01-08 | 1 | -2/+16 |
| | | | |||||
| * | | (Merge 3.3) Issue #20113: os.readv() and os.writev() now raise an OSError | Victor Stinner | 2014-01-08 | 1 | -1/+9 |
| |\ \ | |/ | | | | | exception on error instead of returning -1. | ||||
| | * | Issue #20113: os.readv() and os.writev() now raise an OSError exception on | Victor Stinner | 2014-01-08 | 1 | -1/+9 |
| | | | | | | | | | error instead of returning -1. | ||||
| | * | Issue #18702: All skipped tests now reported as skipped. | Serhiy Storchaka | 2013-11-03 | 1 | -147/+167 |
| | | | |||||
| * | | Issue #18702: All skipped tests now reported as skipped. | Serhiy Storchaka | 2013-11-03 | 1 | -147/+167 |
| | | | |||||
| * | | test_posix.test_pipe2() now checks that the O_NONBLOCK flag is set | Victor Stinner | 2013-08-28 | 1 | -2/+4 |
| | | | | | | | | | | | Use also os.get_inheritable() instead of fcntl() to check the inheritable flag (FD_CLOEXEC). | ||||
