Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [3.6] bpo-33001: Prevent buffer overrun in os.symlink (GH-5989) (GH-5990) | Steve Dower | 2018-03-05 | 1 | -0/+35 |
| | |||||
* | [3.6] bpo-32964: Reuse a testing implementation of the path protocol in ↵ | Serhiy Storchaka | 2018-03-03 | 1 | -30/+14 |
| | | | | | | | tests. (GH-5930). (GH-5958) (cherry picked from commit b21d155f57d284aecf9092a9bd24258293965c2f) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | ||||
* | bpo-29248: Fix os.readlink() on Windows (GH-5577) | Miss Islington (bot) | 2018-02-12 | 1 | -0/+15 |
| | | | | | | | | The PrintNameOffset field of the reparse data buffer was treated as a number of characters instead of bytes. (cherry picked from commit 3c34aad4e7a95913ec7db8e5e948a8fc69047bf7) Co-authored-by: SSE4 <tomskside@gmail.com> | ||||
* | bpo-30908: Fix dangling thread in test_os.TestSendfile (#2680) (#2844) | Victor Stinner | 2017-07-24 | 1 | -0/+1 |
| | | | | | | | | | | | | | | tearDown() now clears explicitly the self.server variable to make sure that the thread is completely cleared when tearDownClass() checks if all threads have been cleaned up. Fix the following warning: $ ./python -m test --fail-env-changed -m test.test_os.TestSendfile.test_keywords -R 3:1 test_os (...) Warning -- threading_cleanup() failed to cleanup 0 threads after 3 sec (count: 0, dangling: 2) (...) Tests result: ENV CHANGED (cherry picked from commit d1cc037d1442cc35d1b194ec8e50901514360949) | ||||
* | [3.6] bpo-30879: os.listdir() and os.scandir() now emit bytes names when ↵ | Serhiy Storchaka | 2017-07-11 | 1 | -0/+16 |
| | | | | | | (GH-2634) (#2656) called with bytes-like argument.. (cherry picked from commit 1180e5a51871fa53ca6892e83fd2e69dc2600447) | ||||
* | [3.6] bpo-30441: Fix bug when modifying os.environ while iterating over it ↵ | Serhiy Storchaka | 2017-07-04 | 1 | -0/+24 |
| | | | | | (GH-2409). (#2556) (cherry picked from commit 8a8d28501fc8ce25926d168f1c657656c809fd4c) | ||||
* | [3.6] bpo-30746: Prohibited the '=' character in environment variable names ↵ | Serhiy Storchaka | 2017-06-25 | 1 | -0/+76 |
| | | | | | | | (GH-2382) (#2391) in `os.putenv()` and `os.spawn*()`.. (cherry picked from commit 77703942c5997dff00c48f10df1b29b11645624c) | ||||
* | [3.6] bpo-30649: test_os tolerates 50 ms delta for utime (#2156) (#2175) | Victor Stinner | 2017-06-14 | 1 | -1/+6 |
| | | | | | | | | | | | | | | | | | | * bpo-30649: test_os tolerates 50 ms delta for utime (#2156) On Windows, tolerate a delta of 50 ms instead of 20 ms in test_utime_current() and test_utime_current_old() of test_os. On other platforms, reduce the delta from 20 ms to 10 ms. (cherry picked from commit c94caca65cd38802243b5279cf85ee44ffb2abb8) * bpo-30649: Revert utime delta in test_os (#2176) PPC64 Fedora 3.x buildbot requires at least a delta of 14 ms: revert the utime delta to 20 ms. I tried 10 ms, but test_os failed on the PPC64 Fedora 3.x buildbot. (cherry picked from commit 3402f7268897db15053866e1e68404cfa0e02706) | ||||
* | [3.6] bpo-30584: Fix test_os fails on non-English Windows (GH-1980) (#1999) | Denis Osipov | 2017-06-08 | 1 | -1/+3 |
| | | | | | | | | * Fix bpo-30584 * Adding a comment mentionning the bpo and explaining what is the identifier * Add Denis Osipov to Misc/ACKS (cherry picked from commit 897bba75632dfce87c355e3cd4700468357715a7) | ||||
* | Issue #28732: Raise ValueError when argv[0] is empty | Steve Dower | 2016-11-20 | 1 | -2/+16 |
|\ | |||||
* | | Issue #28732: Raise ValueError when os.spawn*() is passed an empty tuple of ↵ | Steve Dower | 2016-11-20 | 1 | -0/+21 |
| | | | | | | | | arguments | ||||
* | | Issue #26935: Fix broken Android dup2() in test_os | Xavier de Gaye | 2016-11-16 | 1 | -2/+7 |
| | | |||||
* | | Closes #27781: Removes special cases for the experimental aspect of PEP 529 | Steve Dower | 2016-11-07 | 1 | -7/+2 |
| | | |||||
* | | Issue #28353: Make test_os.WalkTests.test_walk_bad_dir stable. | Serhiy Storchaka | 2016-10-28 | 1 | -10/+15 |
|\ \ | |/ | |||||
| * | Issue #28353: Make test_os.WalkTests.test_walk_bad_dir stable. | Serhiy Storchaka | 2016-10-28 | 1 | -10/+15 |
| | | |||||
| * | Issue #28353: Fixed tests of os.fwalk() with broken links. | Serhiy Storchaka | 2016-10-25 | 1 | -3/+18 |
| | | |||||
* | | Issue #28353: Try to fix tests. | Serhiy Storchaka | 2016-10-25 | 1 | -2/+13 |
| | | |||||
* | | Issue #28353: os.fwalk() no longer fails on broken links. | Serhiy Storchaka | 2016-10-25 | 1 | -2/+18 |
|\ \ | |/ | |||||
| * | Issue #28353: os.fwalk() no longer fails on broken links. | Serhiy Storchaka | 2016-10-25 | 1 | -5/+21 |
| | | |||||
| * | 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: Merge from 3.5 | Berker Peksag | 2016-09-17 | 1 | -0/+19 |
|\ \ | |/ | |||||
| * | 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 |
| | | |||||
* | | Use requires_os_func() to skip SpawnTests | Berker Peksag | 2016-09-15 | 1 | -10/+14 |
| | | |||||
* | | Make SpawnTest.create_args() keyword-only | Berker Peksag | 2016-09-15 | 1 | -5/+5 |
| | | |||||
* | | Issue #28114: Fix a crash in parse_envlist() when env contains byte strings | Berker Peksag | 2016-09-15 | 1 | -2/+15 |
| | | | | | | | | Patch by Eryk Sun. | ||||
* | | Issue #28114: Add unit tests on os.spawn*() | Victor Stinner | 2016-09-14 | 1 | -0/+86 |
| | | |||||
* | | Issue #1602: Windows console doesn't input or print Unicode (PEP 528) | Steve Dower | 2016-08-31 | 1 | -1/+1 |
| | | | | | | | | Closes #17602: Adds a readline implementation for the Windows console | ||||
* | | #27364: fix "incorrect" uses of escape character in the stdlib. | R David Murray | 2016-09-08 | 1 | -1/+1 |
| | | | | | | | | | | | | | | And most of the tools. Patch by Emanual Barry, reviewed by me, Serhiy Storchaka, and Martin Panter. | ||||
* | | Issue #27781: Change file system encoding on Windows to UTF-8 (PEP 529) | Steve Dower | 2016-09-08 | 1 | -91/+22 |
| | | |||||
* | | Fix test_os.GetRandomTests() | Victor Stinner | 2016-09-07 | 1 | -0/+12 |
| | | | | | | | | Issue #27778: Skip getrandom() tests if getrandom() fails with ENOSYS. | ||||
* | | Add os.getrandom() | Victor Stinner | 2016-09-06 | 1 | -0/+32 |
| | | | | | | | | | | | | | | Issue #27778: Expose the Linux getrandom() syscall as a new os.getrandom() function. This change is part of the PEP 524. | ||||
* | | Issue #26027: Support path-like objects in PyUnicode-FSConverter(). | Brett Cannon | 2016-09-06 | 1 | -36/+28 |
| | | | | | | | | | | This is to add support for os.exec*() and os.spawn*() functions. Part of PEP 519. | ||||
* | | os.access does not allow a fd | Benjamin Peterson | 2016-09-05 | 1 | -1/+1 |
| | | |||||
* | | 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 |
| | |