Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 #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 |
|\ \ \ | |/ / | |||||
| * | | Use simple call to os.symlink for broken link (intended for previous commit) | Jason R. Coombs | 2013-05-28 | 1 | -1/+1 |
| | | | |||||
* | | | Merge with 3.3 | Jason R. Coombs | 2013-05-28 | 1 | -8/+36 |
|\ \ \ | |/ / | |||||
| * | | Issue #13772: Restored directory detection of targets in `os.symlink` on ↵ | Jason R. Coombs | 2013-05-28 | 1 | -8/+36 |
| | | | | | | | | | | | | Windows, which was temporarily removed in Python 3.2.3 due to an incomplete implementation. The implementation now works even if the symlink is created in a location other than the current directory. | ||||
* | | | Issue #17914: Add os.cpu_count(). Patch by Yogesh Chaudhari, based on an | Charles-Francois Natali | 2013-05-20 | 1 | -0/+10 |
| | | | | | | | | | | | | initial patch by Trent Nelson. | ||||
* | | | (Merge 3.3) Issue #17702: use assertRaises() for the unit test | Victor Stinner | 2013-04-14 | 1 | -10/+4 |
|\ \ \ | |/ / | |||||
| * | | Issue #17702: use assertRaises() for the unit test | Victor Stinner | 2013-04-14 | 1 | -10/+4 |
| | | | |||||
* | | | (Merge 3.3) Close #17702: os.environ now raises KeyError with the original | Victor Stinner | 2013-04-14 | 1 | -0/+18 |
|\ \ \ | |/ / | | | | | | | | | | environment variable name (str on UNIX), instead of using the encoded name (bytes on UNIX). | ||||
| * | | Close #17702: os.environ now raises KeyError with the original environment | Victor Stinner | 2013-04-14 | 1 | -0/+18 |
| | | | | | | | | | | | | variable name (str on UNIX), instead of using the encoded name (bytes on UNIX). | ||||
* | | | Merge 3.3. | Stefan Krah | 2013-01-17 | 1 | -3/+6 |
|\ \ \ | |/ / | |||||
| * | | Issue #14110: Fix test failures on FreeBSD if the user is in the wheel group. | Stefan Krah | 2013-01-17 | 1 | -3/+6 |
| | | | |||||
* | | | (Merge 3.3) Issue #9644: Add a test on os.statvfs() for the PEP 383 | Victor Stinner | 2013-01-01 | 1 | -0/+9 |
|\ \ \ | |/ / | |||||
| * | | Issue #9644: Add a test on os.statvfs() for the PEP 383 | Victor Stinner | 2013-01-01 | 1 | -0/+9 |
| |\ \ | | |/ | |||||
| | * | Issue #9644: Fix the encoding used by os.statvfs(): use the filesystem encoding | Victor Stinner | 2013-01-01 | 1 | -0/+9 |
| | | | | | | | | | | | | with the surrogateescape error handler, instead of UTF-8 in strict mode. | ||||
* | | | Add test coverage for os.removedirs (#16775) | Andrew Svetlov | 2012-12-25 | 1 | -0/+46 |
|\ \ \ | |/ / | |||||
| * | | Add test coverage for os.removedirs (#16775) | Andrew Svetlov | 2012-12-25 | 1 | -0/+46 |
| |\ \ | | |/ | |||||
| | * | Add test coverage for os.removedirs (#16775) | Andrew Svetlov | 2012-12-25 | 1 | -0/+46 |
| | | | |||||
* | | | Use OESeeror instead of os.error (#16720) | Andrew Svetlov | 2012-12-24 | 1 | -6/+6 |
| | | | | | | | | | | | | Patch by Serhiy Storchaka. | ||||
* | | | Issue #16719: Get rid of WindowsError. Use OSError instead | Andrew Svetlov | 2012-12-19 | 1 | -9/+9 |
| | | | | | | | | | | | | Patch by Serhiy Storchaka. | ||||
* | | | Issue #16714: use 'raise' exceptions, don't 'throw'. | Andrew Svetlov | 2012-12-18 | 1 | -8/+8 |
|\ \ \ | |/ / | | | | | | | Patch by Serhiy Storchaka. |