Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-81790: support "UNC" device paths in `ntpath.splitdrive()` (GH-91882) | Barney Gale | 2022-06-10 | 1 | -0/+25 |
| | |||||
* | bpo-42658: Use LCMapStringEx in ntpath.normcase to match OS behaviour for ↵ | AN Long | 2022-06-06 | 1 | -0/+2 |
| | | | | case-folding (GH-32010) | ||||
* | bpo-40280: Skip more tests on Emscripten (GH-31947) | Christian Heimes | 2022-03-17 | 1 | -1/+2 |
| | | | | | | - lchmod, lchown are not fully implemented - skip umask tests - cannot fstat unlinked or renamed files yet - ignore musl libc issues that affect Emscripten | ||||
* | bpo-46362: Ensure ntpath.abspath() uses the Windows API correctly (GH-30571) | neonene | 2022-01-13 | 1 | -0/+34 |
| | | | This makes ntpath.abspath()/getpath_abspath() follow normpath(), since some WinAPIs such as PathCchSkipRoot() require backslashed paths. | ||||
* | bpo-46208: Fix normalization of relative paths in ↵ | neonene | 2022-01-06 | 1 | -0/+9 |
| | | | | _Py_normpath()/os.path.normpath (GH-30362) | ||||
* | bpo-45582: Port getpath[p].c to Python (GH-29041) | Steve Dower | 2021-12-03 | 1 | -2/+3 |
| | | | | | The getpath.py file is frozen at build time and executed as code over a namespace. It is never imported, nor is it meant to be importable or reusable. However, it should be easier to read, modify, and patch than the previous code. This commit attempts to preserve every previously tested quirk, but these may be changed in the future to better align platforms. | ||||
* | bpo-43757: Make pathlib use os.path.realpath() to resolve symlinks in a path ↵ | Barney Gale | 2021-04-28 | 1 | -2/+58 |
| | | | | | (GH-25264) Also adds a new "strict" argument to realpath() to avoid changing the default behaviour of pathlib while sharing the implementation. | ||||
* | bpo-39899: os.path.expanduser(): don't guess other Windows users' home ↵ | Barney Gale | 2021-04-07 | 1 | -15/+28 |
| | | | | | | | directories if the basename of the current user's home directory doesn't match their username. (GH-18841) This makes `ntpath.expanduser()` match `pathlib.Path.expanduser()` in this regard, and is more in line with `posixpath.expanduser()`'s cautious approach. Also remove the near-duplicate implementation of `expanduser()` in pathlib, and by doing so fix a bug where KeyError could be raised when expanding another user's home directory. | ||||
* | bpo-40275: Use new test.support helper submodules in tests (GH-21764) | Hai Shi | 2020-08-07 | 1 | -6/+6 |
| | |||||
* | bpo-40275: Use new test.support helper submodules in tests (GH-21743) | Hai Shi | 2020-08-06 | 1 | -3/+3 |
| | |||||
* | bpo-40275: Use new test.support helper submodules in tests (GH-21448) | Hai Shi | 2020-08-03 | 1 | -38/+40 |
| | |||||
* | bpo-41069: Make TESTFN and the CWD for tests containing non-ascii ↵ | Serhiy Storchaka | 2020-06-25 | 1 | -1/+1 |
| | | | | characters. (GH-21035) | ||||
* | bpo-38453: Ensure correct short path is obtained for test (GH-17184) | Steve Dower | 2019-11-16 | 1 | -3/+21 |
| | |||||
* | bpo-38453: Ensure ntpath.realpath correctly resolves relative paths (GH-16967) | Steve Dower | 2019-11-15 | 1 | -12/+40 |
| | | | | | Ensure isabs() is always True for \\?\ prefixed paths Avoid unnecessary usage of readlink() to avoid resolving broken links incorrectly Ensure shutil tests run in test directory | ||||
* | bpo-38355: Fix ntpath.realpath failing on sys.executable (GH-16551) | Steve Dower | 2019-10-03 | 1 | -7/+5 |
| | |||||
* | bpo-38081: Fixes ntpath.realpath('NUL') (GH-15899) | Steve Dower | 2019-09-11 | 1 | -0/+4 |
| | |||||
* | bpo-38087: Fix case sensitivity in test_pathlib and test_ntpath (GH-15850) | Steve Dower | 2019-09-10 | 1 | -91/+105 |
| | |||||
* | bpo-9949: Call normpath() in realpath() and avoid unnecessary prefixes ↵ | Steve Dower | 2019-08-21 | 1 | -2/+2 |
| | | | | (GH-15369) | ||||
* | bpo-9949: Enable symlink traversal for ntpath.realpath (GH-15287) | Steve Dower | 2019-08-21 | 1 | -3/+195 |
| | |||||
* | bpo-37393: Fix deprecation warnings in test_ntpath. (GH-14357) | Zackery Spytz | 2019-06-25 | 1 | -2/+0 |
| | | | | eval() was being called an extra time without a filter for deprecation warnings. | ||||
* | bpo-36264: Don't honor POSIX HOME in os.path.expanduser on Windows (GH-12282) | Anthony Sottile | 2019-03-12 | 1 | -10/+11 |
| | |||||
* | bpo-31047: Fix ntpath.abspath to trim ending separator (GH-10082) | Tim Graham | 2018-10-25 | 1 | -0/+2 |
| | | | Regression in b0bf51b32240369ccb736dc32ff82bb96f375402. | ||||
* | bpo-31047: Fix ntpath.abspath for invalid paths (GH-8544) | Franz Wöllert | 2018-07-29 | 1 | -0/+4 |
| | |||||
* | bpo-34195: Fix case-sensitive comparison in test_nt_helpers (GH-8448) | Tim Golden | 2018-07-25 | 1 | -5/+11 |
| | | | | | * Fix case-sensitive comparison test_nt_helpers assumed that two versions of a Windows path could be compared case-sensitively. This is not the case, and the difference can be triggered (apparently) by running the test on a path somewhere below a Junction. | ||||
* | bpo-32964: Reuse a testing implementation of the path protocol in tests. (#5930) | Serhiy Storchaka | 2018-03-02 | 1 | -12/+3 |
| | |||||
* | bpo-32556: nt._getfinalpathname, nt._getvolumepathname and nt._getdiskusage ↵ | Steve Dower | 2018-02-22 | 1 | -10/+36 |
| | | | | now correctly convert from bytes. (GH-5761) | ||||
* | Issue #29197: Removed deprecated function ntpath.splitunc(). | Serhiy Storchaka | 2017-01-13 | 1 | -24/+1 |
| | |||||
* | Issue #26027, #27524: Add PEP 519/__fspath__() support to os and | Brett Cannon | 2016-08-26 | 1 | -0/+83 |
| | | | | | | os.path. Thanks to Jelle Zijlstra for the initial patch against posixmodule.c. | ||||
* | Issue #10395: Added os.path.commonpath(). Implemented in posixpath and ntpath. | Serhiy Storchaka | 2015-03-31 | 1 | -0/+69 |
| | | | | Based on patch by Rafik Draoui. | ||||
* | Issue #23742: ntpath.expandvars() no longer loses unbalanced single quotes. | Serhiy Storchaka | 2015-03-25 | 1 | -0/+1 |
| | |||||
* | Issue #7665: Fixed tests test_ntpath and test_urllib2 when ran in the | Serhiy Storchaka | 2015-01-26 | 1 | -3/+4 |
| | | | | directory containing a backslash. | ||||
* | Issue #21493: Added test for ntpath.expanduser(). Original patch by | Serhiy Storchaka | 2014-05-28 | 1 | -0/+35 |
| | | | | Claudiu Popa. | ||||
* | Issue #6815: os.path.expandvars() now supports non-ASCII environment | Serhiy Storchaka | 2014-02-13 | 1 | -3/+24 |
|\ | | | | | | | variables names and values. | ||||
| * | Issue #6815: os.path.expandvars() now supports non-ASCII environment | Serhiy Storchaka | 2014-02-13 | 1 | -3/+24 |
| | | | | | | | | variables names and values. | ||||
* | | Issue #19456: ntpath.join() now joins relative paths correctly when a drive | Serhiy Storchaka | 2014-01-27 | 1 | -33/+36 |
|\ \ | |/ | | | | | is present. | ||||
| * | Issue #19456: ntpath.join() now joins relative paths correctly when a drive | Serhiy Storchaka | 2014-01-27 | 1 | -32/+35 |
| | | | | | | | | is present. | ||||
* | | Issue #19912: Fixed numerous bugs in ntpath.splitunc(). | Serhiy Storchaka | 2013-12-16 | 1 | -0/+23 |
|\ \ | |/ | | | | | | | | | | | | | * splitunc() no more return illegal result for paths with redundant slashes. * splitunc() now correctly processes the 'İ' character (U+0130, LATIN CAPITAL LETTER I WITH DOT ABOVE). * Deprecation warnings now emitted for every use of splitunc(). * Added tests for splitunc(). | ||||
| * | Issue #19912: Fixed numerous bugs in ntpath.splitunc(). | Serhiy Storchaka | 2013-12-16 | 1 | -0/+23 |
| | | | | | | | | | | | | | | | | * splitunc() no more return illegal result for paths with redundant slashes. * splitunc() now correctly processes the 'İ' character (U+0130, LATIN CAPITAL LETTER I WITH DOT ABOVE). * Deprecation warnings now emitted for every use of splitunc(). * Added tests for splitunc(). | ||||
* | | Issue #19911: ntpath.splitdrive() now correctly processes the 'İ' character | Serhiy Storchaka | 2013-12-16 | 1 | -0/+3 |
|\ \ | |/ | | | | | (U+0130, LATIN CAPITAL LETTER I WITH DOT ABOVE). | ||||
| * | Issue #19911: ntpath.splitdrive() now correctly processes the 'İ' character | Serhiy Storchaka | 2013-12-16 | 1 | -0/+3 |
| | | | | | | | | (U+0130, LATIN CAPITAL LETTER I WITH DOT ABOVE). | ||||
* | | 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 | -1/+1 |
| | | |||||
* | | issue9035: Prevent Windows-specific tests from running on non-Windows platforms | Tim Golden | 2013-08-01 | 1 | -16/+16 |
| | | |||||
* | | Issue #9035: os.path.ismount now recognises volumes mounted below | Tim Golden | 2013-08-01 | 1 | -0/+34 |
|/ | | | | a drive root on Windows. Original patch by Atsuo Ishimoto. | ||||
* | #16852: test_genericpath, test_posixpath, test_ntpath, and test_macpath now ↵ | Ezio Melotti | 2013-01-10 | 1 | -5/+1 |
| | | | | work with unittest test discovery. Patch by Zachary Ware. | ||||
* | Issue #13374: The Windows bytes API has been deprecated in the os module. Use | Victor Stinner | 2011-11-15 | 1 | -2/+5 |
| | | | | | Unicode filenames instead of bytes filenames to not depend on the ANSI code page anymore and to support any filename. | ||||
* | Should use posix_error here. | Hirokazu Yamamoto | 2010-12-05 | 1 | -1/+1 |
| | |||||
* | Issue #5117: Case normalization was needed on ntpath.relpath(). And | Hirokazu Yamamoto | 2010-10-18 | 1 | -0/+1 |
| | | | | | fixed root directory issue on posixpath.relpath(). (Ported working fixes from ntpath) | ||||
* | Fix some errors that #7566 introduced on non-Windows platforms due to | Brian Curtin | 2010-09-06 | 1 | -5/+7 |
| | | | | | an ImportError. Rearranged the import, faked out the implementation when the import fails, and reorganized a test that depends on Win32 behavior. | ||||
* | Implement #7566 - os.path.sameopenfile for Windows. | Brian Curtin | 2010-09-06 | 1 | -0/+13 |
| | | | | | | This uses the GetFileInformationByHandle function to return a tuple of values to identify a file, then ntpath.sameopenfile compares file tuples, which is exposed as os.path.sameopenfile. |