| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Issue #26027: Fix test_path_t_converter on Windows | Berker Peksag | 2016-08-27 | 1 | -1/+1 |
| | | |||||
| * | Don't test for path-like bytes paths on Windows | Brett Cannon | 2016-08-27 | 1 | -2/+7 |
| | | |||||
| * | Issue #26027: Don't test for bytearray in path_t as that's now | Brett Cannon | 2016-08-27 | 1 | -7/+2 |
| | | | | | deprecated. | ||||
| * | Issue #26027, #27524: Add PEP 519/__fspath__() support to os and | Brett Cannon | 2016-08-26 | 1 | -3/+80 |
| | | | | | | | 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/+8 |
| | | | | | as paths in os functions is now deprecated. | ||||
| * | Issue #27472: Add test.support.unix_shell as the path to the default shell. | Xavier de Gaye | 2016-07-22 | 1 | -5/+8 |
| | | |||||
| * | Fix a failing test introduced as part of issue #27512 | Brett Cannon | 2016-07-15 | 1 | -2/+1 |
| | | |||||
| * | Issue #27512: Don't segfault when os.fspath() calls an object whose | Brett Cannon | 2016-07-15 | 1 | -7/+17 |
| | | | | | | | __fspath__() raises an exception. Thanks to Xiang Zhang for the patch. | ||||
| * | Issue #27038: Expose DirEntry as os.DirEntry. | Brett Cannon | 2016-06-24 | 1 | -0/+1 |
| | | | | | Thanks to Jelle Zijlstra for the code portion of the patch. | ||||
| * | 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. | ||||
