Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #9517: Move script_helper to the support package. | Berker Peksag | 2015-05-06 | 1 | -1/+1 |
| | | | | Patch by Christie Wilson. | ||||
* | Issue #22181: The availability of the getrandom() is now checked in configure, | Victor Stinner | 2015-03-19 | 1 | -0/+3 |
| | | | | | | and stored in pyconfig.h as the new HAVE_GETRANDOM_SYSCALL define. Fix os.urandom() tests using file descriptors if os.urandom() uses getrandom(). | ||||
* | Merge 3.4 (test_os) | Victor Stinner | 2015-03-12 | 1 | -37/+70 |
|\ | |||||
| * | Issue #23605: Refactor os.walk() tests to also run them on os.fwalk() | Victor Stinner | 2015-03-12 | 1 | -37/+70 |
| | | |||||
| * | Issue #22585: On OpenBSD 5.6 and newer, os.urandom() now calls getentropy(), | Victor Stinner | 2014-12-21 | 1 | -0/+7 |
| | | | | | | | | instead of reading /dev/urandom, to get pseudo-random bytes. | ||||
* | | Suppress assert dialogs in test_os | Steve Dower | 2015-03-08 | 1 | -10/+14 |
| | | |||||
* | | Issue #22524: New os.scandir() function, part of the PEP 471: "os.scandir() | Victor Stinner | 2015-03-08 | 1 | -0/+224 |
| | | | | | | | | | | function -- a better and faster directory iterator". Patch written by Ben Hoyt. | ||||
* | | Issue #20069: Fixed test_os on Solaris: error message is platform depended. | Serhiy Storchaka | 2015-02-16 | 1 | -1/+1 |
| | | |||||
* | | #20069: Add tests for os.chown. | R David Murray | 2014-12-25 | 1 | -51/+74 |
| | | | | | | | | Patch by Vajrasky Kok. | ||||
* | | Issue #22585: On OpenBSD 5.6 and newer, os.urandom() now calls getentropy(), | Victor Stinner | 2014-12-21 | 1 | -0/+7 |
| | | | | | | | | instead of reading /dev/urandom, to get pseudo-random bytes. | ||||
* | | Issue #22777: Test pickling with all protocols. | Serhiy Storchaka | 2014-12-15 | 1 | -8/+14 |
|\ \ | |/ | |||||
| * | Issue #22777: Test pickling with all protocols. | Serhiy Storchaka | 2014-12-15 | 1 | -8/+14 |
| | | |||||
* | | os: Include posix functions in os.__all__. Closes issue #18554. | Yury Selivanov | 2014-09-26 | 1 | -0/+8 |
| | | | | | | | | Patch by Ronald Oussoren. | ||||
* | | Issue #22054: Add os.get_blocking() and os.set_blocking() functions to get and | Victor Stinner | 2014-07-29 | 1 | -0/+26 |
| | | | | | | | | | | 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. | ||||
* | | Issue #21932: Skip test_os.test_large_read() on 32-bit system | Victor Stinner | 2014-07-12 | 1 | -2/+6 |
| | | |||||
* | | Issue #21932: Ooops, os.read(fd, size) allocates a buffer of size bytes, even | Victor Stinner | 2014-07-11 | 1 | -2/+3 |
| | | | | | | | | | | if the file is much smaller. Add @bigmemtest decorator to the new test_large_read(). | ||||
* | | Issue #21932: os.read() now uses a :c:func:`Py_ssize_t` type instead of | Victor Stinner | 2014-07-11 | 1 | -0/+19 |
| | | | | | | | | | | | | :c:type:`int` for the size to support reading more than 2 GB at once. On Windows, the size is truncted to INT_MAX. As any call to os.read(), the OS may read less bytes than the number of requested bytes. | ||||
* | | Issue #21741: Add st_file_attributes to os.stat_result on Windows. | Zachary Ware | 2014-06-19 | 1 | -0/+22 |
| | | | | | | | | Patch by Ben Hoyt. | ||||
* | | Issue18314 Allow unlink to remove junctions. Includes support for creating ↵ | Tim Golden | 2014-05-05 | 1 | -0/+36 |
| | | | | | | | | junctions. Patch by Kim Gräsman | ||||
* | | Backed out changeset: 17df50df62c7 | Tim Golden | 2014-04-27 | 1 | -36/+0 |
| | | |||||
* | | Issue #18314 os.unlink will now remove junction points on Windows. Patch by ↵ | Tim Golden | 2014-04-27 | 1 | -0/+36 |
|/ | | | | Kim Gräsman. | ||||
* | Issue #21207: Detect when the os.urandom cached fd has been closed or ↵ | Antoine Pitrou | 2014-04-26 | 1 | -0/+43 |
| | | | | replaced, and open it anew. | ||||
* | merge 3.3 (#21082) | Benjamin Peterson | 2014-04-01 | 1 | -4/+3 |
|\ | |||||
| * | merge 3.2 (#21082) | Benjamin Peterson | 2014-04-01 | 1 | -4/+3 |
| |\ | |||||
| | * | remove directory mode check from makedirs (closes #21082) | Benjamin Peterson | 2014-04-01 | 1 | -4/+3 |
| | | | |||||
| | * | Issue #16218, #16414, #16444: Backport FS_NONASCII, TESTFN_UNDECODABLE, | Victor Stinner | 2013-01-03 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | TESTFN_NONASCII of test.support from Python 3.4. Backport tests on non-ASCII paths. | ||||
* | | | (Merge 3.3) Issue #20113: os.readv() and os.writev() now raise an OSError | Victor Stinner | 2014-01-08 | 1 | -0/+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 | -0/+9 |
| | | | | | | | | | | | | error instead of returning -1. | ||||
* | | | Issue 19572: More silently skipped tests explicitly skipped. | Zachary Ware | 2013-12-08 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | Issue 19572: More silently skipped tests explicitly skipped. | Zachary Ware | 2013-12-08 | 1 | -2/+2 |
| | | | |||||
| * | | Issue #18702: All skipped tests now reported as skipped. | Serhiy Storchaka | 2013-11-03 | 1 | -246/+233 |
| | | | |||||
* | | | Issue #18702: All skipped tests now reported as skipped. | Serhiy Storchaka | 2013-11-03 | 1 | -245/+248 |
| | | | |||||
* | | | Correct whitespace in test_os | Tim Golden | 2013-10-25 | 1 | -1/+1 |
| | | | |||||
* | | | Issue13234 Allow listdir to handle extended paths on Windows (Patch by ↵ | Tim Golden | 2013-10-25 | 1 | -0/+47 |
| | | | | | | | | | | | | Santoso Wijaya) | ||||
* | | | test_os: report tests as skipped when os.statvfs() fails with ENOSYS | Victor Stinner | 2013-10-11 | 1 | -2/+3 |
| | | | |||||
* | | | Issue #19209: Remove import of copyreg from the os module to speed up | Christian Heimes | 2013-10-11 | 1 | -0/+22 |
| | | | | | | | | | | | | | | | | | | interpreter startup. stat_result and statvfs_result are now hard-coded to reside in the os module. The patch is based on Victor Stinner's patch. | ||||
* | | | Issue #18904: test_os and test_socket use unittest.skipIf() to check if fcntl | Victor Stinner | 2013-09-08 | 1 | -22/+23 |
| | | | | | | | | | | | | module is present (to record skipped tests) | ||||
* | | | Issue #18904: Improve os.get/set_inheritable() tests | Victor Stinner | 2013-09-08 | 1 | -7/+29 |
| | | | |||||
* | | | Issue #18571: Implementation of the PEP 446: file descriptors and file handles | Victor Stinner | 2013-08-27 | 1 | -0/+67 |
| | | | | | | | | | | | | | | | are now created non-inheritable; add functions os.get/set_inheritable(), os.get/set_handle_inheritable() and socket.socket.get/set_inheritable(). | ||||
* | | | Issue #18756: make test_urandom_failure more robust by executing its code in ↵ | Antoine Pitrou | 2013-08-24 | 1 | -10/+19 |
|\ \ \ | |/ / | | | | | | | a subprocess | ||||
| * | | Issue #18756: make test_urandom_failure more robust by executing its code in ↵ | Antoine Pitrou | 2013-08-24 | 1 | -10/+19 |
| | | | | | | | | | | | | a subprocess | ||||
* | | | (Merge 3.3) Close #17702: On error, os.environb now removes suppress the except | Victor Stinner | 2013-08-23 | 1 | -0/+3 |
|\ \ \ | |/ / | | | | | | | context when raising a new KeyError with the original key. | ||||
| * | | Close #17702: On error, os.environb now removes suppress the except context | Victor Stinner | 2013-08-23 | 1 | -0/+3 |
| | | | | | | | | | | | | when raising a new KeyError with the original key. | ||||
* | | | Issue #18756: Improve error reporting in os.urandom() when the failure is ↵ | Antoine Pitrou | 2013-08-16 | 1 | -0/+20 |
|\ \ \ | |/ / | | | | | | | due to something else than /dev/urandom not existing. | ||||
| * | | Issue #18756: Improve error reporting in os.urandom() when the failure is ↵ | Antoine Pitrou | 2013-08-16 | 1 | -0/+20 |
| | | | | | | | | | | | | due to something else than /dev/urandom not existing. | ||||
* | | | (Merge 3.3) Issue #18296: Try to fix TestSendfile.test_trailers() of test_os ↵ | Victor Stinner | 2013-08-15 | 1 | -4/+5 |
|\ \ \ | |/ / | | | | | | | on FreeBSD | ||||
| * | | Issue #18296: Try to fix TestSendfile.test_trailers() of test_os on FreeBSD | Victor Stinner | 2013-08-15 | 1 | -4/+5 |
| | | | |||||
* | | | Issue #15301: skip new test method so Windows builtbots stop failing. | Terry Jan Reedy | 2013-08-11 | 1 | -0/+1 |
| | | | |||||
* | | | Issue #15301: Parsing fd, uid, and gid parameters for builtins | Larry Hastings | 2013-08-08 | 1 | -0/+12 |
| | | | | | | | | | | | | in Modules/posixmodule.c is now far more robust. | ||||
* | | | Merge with 3.3 | Jason R. Coombs | 2013-05-28 | 1 | -1/+1 |
|\ \ \ | |/ / |