Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Issue #27186: Update os.fspath()/PyOS_FSPath() to check the return | Brett Cannon | 2016-06-24 | 1 | -29/+33 | |
| | | | | | | | | | | | | | | type of __fspath__(). As part of this change, also make sure that the pure Python implementation of os.fspath() is tested. | |||||
* | | Issue #27186: Skip scandir(bytes) test with os.name == "nt" | Martin Panter | 2016-06-13 | 1 | -1/+1 | |
| | | ||||||
* | | Issue #27186: skip bytes path test for os.scandir() on Windows | Brett Cannon | 2016-06-12 | 1 | -0/+1 | |
| | | ||||||
* | | Issue #27186: Add os.PathLike support to DirEntry | Brett Cannon | 2016-06-10 | 1 | -4/+19 | |
| | | | | | | | | Initial patch thanks to Jelle Zijlstra. | |||||
* | | issue27186: fix fsencode/fsdecode and update tests; patch by Jelle Zijlstra | Ethan Furman | 2016-06-04 | 1 | -6/+13 | |
| | | ||||||
* | | issue27186: add PathLike ABC | Ethan Furman | 2016-06-04 | 1 | -0/+2 | |
| | | ||||||
* | | issue27186: add C version of os.fspath(); patch by Jelle Zijlstra | Ethan Furman | 2016-06-04 | 1 | -0/+7 | |
| | | ||||||
* | | issue27182: update fsencode and fsdecode for os.path(); patch by Dusty Phillips | Ethan Furman | 2016-06-04 | 1 | -0/+15 | |
| | | ||||||
* | | issue27186 -- initial docs, tests, and python version of os.fspath | Ethan Furman | 2016-06-02 | 1 | -0/+21 | |
| | | ||||||
* | | 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 #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: more info on test_os failure | Victor Stinner | 2016-03-26 | 1 | -1/+1 | |
| | | ||||||
* | | Fix test_os.test_symlink(): remove create symlink | Victor Stinner | 2016-03-25 | 1 | -0/+2 | |
| | | ||||||
* | | changeset: 100749:0b61b2d28a07 | Victor Stinner | 2016-03-25 | 1 | -1/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | | tag: tip parent: 100742:ebae81b31cf6 user: Victor Stinner <victor.stinner@gmail.com> date: Fri Mar 25 15:03:34 2016 +0100 files: Lib/test/test_os.py description: test_os: Win32ErrorTests checks if file exists Don't use os.path.exists() since it ignores *any* OSError. | |||||
* | | test_os: Win32ErrorTests now ensures that TESTFN doesn't exist | Victor Stinner | 2016-03-25 | 1 | -6/+8 | |
| | | | | | | | | | | Replace also other open(filename, "w") with open(filename, "x") to fail if a previous test forgot to remove filename. | |||||
* | | test_os: use support.rmtree() to cleanup WalkTests | Victor Stinner | 2016-03-24 | 1 | -29/+1 | |
| | | ||||||
* | | Enhance and modernize test_os | Victor Stinner | 2016-03-24 | 1 | -77/+76 | |
| | | | | | | | | | | | | | | | | | | * add create_file() helper function * create files using "x" mode instead of "w" to detect when a previous test forget to remove a file * open file for writing in unbuferred mode (buffering=0) * replace "try/finally: unlink" with self.addCleanup(support.unlink) * register unlink cleanup function *before* creating new files | |||||
* | | test_os: use @support.requires_linux_version | Victor Stinner | 2016-03-24 | 1 | -5/+4 | |
| | | ||||||
* | | Fix DeprecationWarning on Windows | Victor Stinner | 2016-03-24 | 1 | -49/+67 | |
| | | | | | | | | | | Issue #25911: Use support.check_warnings() to expect or ignore DeprecationWarning in test_os. | |||||
* | | Issue #25911: Tring to silence deprecation warnings in bytes path walk tests. | Serhiy Storchaka | 2016-03-08 | 1 | -0/+11 | |
|\ \ | |/ | ||||||
| * | Issue #25911: Tring to silence deprecation warnings in bytes path walk tests. | Serhiy Storchaka | 2016-03-08 | 1 | -0/+11 | |
| | | ||||||
* | | Backed out changeset da020e408c7f | Serhiy Storchaka | 2016-03-08 | 1 | -5/+1 | |
|\ \ | |/ | ||||||
| * | 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. | |||||
| | * | 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 #25994: Added the close() method and the support of the context manager | Serhiy Storchaka | 2016-02-11 | 1 | -0/+52 | |
| | | | | | | | | | | | | protocol for the os.scandir() iterator. | |||||
* | | | Issue #25911: Restored support of bytes paths in os.walk() on Windows. | Serhiy Storchaka | 2016-02-08 | 1 | -5/+17 | |
|\ \ \ | |/ / | ||||||
| * | | 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: 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 #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.5 | Martin Panter | 2015-11-20 | 1 | -0/+3 | |
|\ \ \ | |/ / | ||||||
| * | | 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 corrections from 3.5 | Martin Panter | 2015-11-02 | 1 | -1/+1 | |
|\ \ \ | |/ / | ||||||
| * | | 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 #25003: Skip test_os.URandomFDTests on Solaris 11.3 and newer | Victor Stinner | 2015-09-18 | 1 | -7/+9 | |
| | | | | | | | | | | | | | | | When os.urandom() is implemented with the getrandom() function, it doesn't use a file descriptor. | |||||
* | | | Merge 3.5 (os.waitpid) | Victor Stinner | 2015-09-15 | 1 | -0/+6 | |
|\ \ \ | |/ / | ||||||
| * | | 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. | |||||
| | * | Marked keystrokes with the :kbd: role. | Serhiy Storchaka | 2015-09-12 | 1 | -2/+2 | |
| | | | | | | | | | | | | Fixed the case of the "Ctrl-" prefixes. | |||||
* | | | Merge 3.5 into 3.6 | Martin Panter | 2015-09-09 | 1 | -1/+1 | |
|\ \ \ | |/ / | ||||||
| * | | 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. |