Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #28075: Fix test_access_denied in Python 3.5 | Berker Peksag | 2016-09-18 | 1 | -12/+14 |
| | | | | I forgot there two variations of os.stat() in Python 3.5. | ||||
* | Fix test_access_denied in 3.5 | Berker Peksag | 2016-09-17 | 1 | -1/+2 |
| | |||||
* | Issue #28075: Check for ERROR_ACCESS_DENIED in Windows implementation of ↵ | Berker Peksag | 2016-09-17 | 1 | -0/+19 |
| | | | | | | os.stat() Patch by Eryk Sun. | ||||
* | Correct spelling in documentation and code comment | Martin Panter | 2016-09-10 | 1 | -1/+1 |
| | |||||
* | Issue #26783: test_os.WalkTests.test_walk_topdown did't test fwalk and bytes. | Serhiy Storchaka | 2016-04-16 | 1 | -1/+1 |
| | | | | Patch by Aviv Palivoda. | ||||
* | Issue #25911: Tring to silence deprecation warnings in bytes path walk tests. | Serhiy Storchaka | 2016-03-08 | 1 | -0/+11 |
| | |||||
* | Backed out changeset f9e22717722d | Serhiy Storchaka | 2016-03-08 | 1 | -5/+1 |
|\ | |||||
| * | Backed out changeset 19a3e0e664af | Serhiy Storchaka | 2016-03-08 | 1 | -5/+1 |
| | | |||||
* | | Issues #23808, #25911: Trying to fix walk tests on Windows. | Serhiy Storchaka | 2016-03-08 | 1 | -1/+5 |
|\ \ | |/ | | | | | On Windows a symlink can has the FILE_ATTRIBUTE_DIRECTORY flag. | ||||
| * | Issues #23808, #25911: Trying to fix walk tests on Windows. | Serhiy Storchaka | 2016-03-08 | 1 | -1/+5 |
| | | | | | | | | On Windows a symlink can has the FILE_ATTRIBUTE_DIRECTORY flag. | ||||
* | | Issue #25911: Restored support of bytes paths in os.walk() on Windows. | Serhiy Storchaka | 2016-02-08 | 1 | -5/+17 |
| | | |||||
* | | Issue #25860: Fixed test failure caused by inconsistency of os.walk() and | Serhiy Storchaka | 2015-12-22 | 1 | -0/+2 |
| | | | | | | | | os.fwalk() parameter names. | ||||
* | | Issue #25860: os.fwalk() no longer skips remaining directories when error ↵ | Serhiy Storchaka | 2015-12-22 | 1 | -11/+20 |
| | | | | | | | | | | | | occurs. Original patch by Samson Lee. | ||||
* | | Issue #25583: Merge makedirs fix from 3.4 into 3.5 | Martin Panter | 2015-11-20 | 1 | -0/+3 |
|\ \ | |/ | |||||
| * | Issue #25583: Avoid incorrect errors raised by os.makedirs(exist_ok=True) | Martin Panter | 2015-11-19 | 1 | -0/+3 |
| | | |||||
* | | Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5 | Martin Panter | 2015-11-02 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #25523: Correct "a" article to "an" article | Martin Panter | 2015-11-02 | 1 | -1/+1 |
| | | | | | | | | | | | | This changes the main documentation, doc strings, source code comments, and a couple error messages in the test suite. In some cases the word was removed or edited some other way to fix the grammar. | ||||
* | | Issue #25003: On Solaris 11.3 or newer, os.urandom() now uses the getrandom() | Victor Stinner | 2015-10-01 | 1 | -7/+9 |
| | | | | | | | | | | | | function instead of the getentropy() function. The getentropy() function is blocking to generate very good quality entropy, os.urandom() doesn't need such high-quality entropy. | ||||
* | | Issue #25118: Fix a regression of Python 3.5.0 in os.waitpid() on Windows. | Victor Stinner | 2015-09-15 | 1 | -0/+6 |
| | | | | | | | | Add an unit test on os.waitpid() | ||||
* | | Marked keystrokes with the :kbd: role. | Serhiy Storchaka | 2015-09-12 | 1 | -2/+2 |
|\ \ | |/ | | | | | Fixed the case of the "Ctrl-" prefixes. | ||||
| * | Marked keystrokes with the :kbd: role. | Serhiy Storchaka | 2015-09-12 | 1 | -2/+2 |
| | | | | | | | | Fixed the case of the "Ctrl-" prefixes. | ||||
* | | Merge 3.4 into 3.5 | Martin Panter | 2015-09-09 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | os.sendfile(headers=None, trailers=None) arguments are not actually accepted | Martin Panter | 2015-09-09 | 1 | -1/+1 |
| | | | | | | | | Needs to be tested on a BSD. | ||||
* | | Issue #23738: Merge 3.4 into 3.5 | Martin Panter | 2015-09-09 | 1 | -1/+22 |
|\ \ | |/ | |||||
| * | Issue #23738: Document and test actual keyword parameter names | Martin Panter | 2015-09-09 | 1 | -1/+22 |
| | | | | | | | | Also fix signature because os.utime(..., ns=None) is not allowed. | ||||
* | | Use setUpClass and tearDownClass correctly in test_os. | Berker Peksag | 2015-07-21 | 1 | -2/+4 |
| | | | | | | | | According to the documentation, they must be decorated as classmethods. | ||||
* | | Merge 3.4 | Victor Stinner | 2015-07-20 | 1 | -2/+8 |
|\ \ | |/ | |||||
| * | Issue #24675: Avoid DeprecationWarning in test_os | Victor Stinner | 2015-07-20 | 1 | -2/+8 |
| | | | | | | | | Patch written by Martin Panter. I replace tearDown() with addCleanup(). | ||||
| * | Issue #15745: Rewrite os.utime() tests in test_os | Victor Stinner | 2015-06-12 | 1 | -202/+210 |
| | | | | | | | | | | | | | | | | | | | | * Don't use the timestamp of an existing file anymore, only use fixed timestamp * Enhance the code checking the resolution of the filesystem timestamps. * Check timestamps with a resolution of 1 microsecond instead of 1 millisecond * When os.utime() uses the current system clock, tolerate a delta of 20 ms. Before some os.utime() tolerated a different of 10 seconds. * Merge duplicated tests and simplify the code | ||||
| * | Issue #22585: make URandomFDTests test case actually run | Ned Deily | 2015-03-17 | 1 | -0/+1 |
| | | |||||
* | | (Merge 3.4) Issue #15745: Rewrite os.utime() tests in test_os | Victor Stinner | 2015-06-12 | 1 | -202/+209 |
| | | | | | | | | | | | | | | | | | | | | * Don't use the timestamp of an existing file anymore, only use fixed timestamp * Enhance the code checking the resolution of the filesystem timestamps. * Check timestamps with a resolution of 1 microsecond instead of 1 millisecond * When os.utime() uses the current system clock, tolerate a delta of 20 ms. Before some os.utime() tolerated a different of 10 seconds. * Merge duplicated tests and simplify the code | ||||
* | | 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 |