| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | [3.11] gh-106242: Make ntpath.realpath errors consistent with abspath when ↵ | Miss Islington (bot) | 2023-08-22 | 1 | -0/+6 |
| | | | | | | | | | | | | | there are embedded nulls (GH-108248) gh-106242: Make ntpath.realpath errors consistent with abspath when there are embedded nulls (GH-108248) --------- (cherry picked from commit de33b5c662ea8d35d81ed857c6a39e34ab94c510) Co-authored-by: Steve Dower <steve.dower@python.org> Co-authored-by: Gregory P. Smith <greg@krypto.org> | ||||
| * | [3.11] gh-106844: Fix issues in _winapi.LCMapStringEx (GH-107832) (GH-107875) | Serhiy Storchaka | 2023-08-12 | 1 | -0/+1 |
| | | | | | | | | | | * Strings with length from 2**31-1 to 2**32-2 always caused MemoryError, it doesn't matter how much memory is available. * Strings with length exactly 2**32-1 caused OSError. * Strings longer than 2**32-1 characters were truncated due to integer overflow bug. Now strings longer than 2**31-1 characters caused OverflowError. (cherry picked from commit 04cc01453db2f0af72a06440831637f8bf512daf) | ||||
| * | [3.11] GH-88013: Fix TypeError raised by ntpath.realpath in some cases ↵ | Miss Islington (bot) | 2023-04-07 | 1 | -0/+11 |
| | | | | | | | | | (GH-102813, GH-103343) (cherry picked from commit 4dc339b4d69195448207e1faecc3e258700daf33) Co-authored-by: AN Long <aisk@users.noreply.github.com> Co-authored-by: Barney Gale <barney.gale@gmail.com> | ||||
| * | gh-96290: Support partial/invalid UNC drives in ntpath.normpath() and ↵ | Steve Dower | 2023-01-12 | 1 | -4/+47 |
| | | | | | | | | | splitdrive() (GH-100351) This brings the Python implementation of `ntpath.normpath()` in line with the C implementation added in 99fcf15 Co-authored-by: Barney Gale <barney.gale@gmail.com> Co-authored-by: Eryk Sun <eryksun@gmail.com> | ||||
| * | bpo-42658: Use LCMapStringEx in ntpath.normcase to match OS behaviour for ↵ | Steve Dower | 2022-06-10 | 1 | -0/+2 |
| | | | | | | | | | | case-folding (GH-93591) * bpo-42658: Use LCMapStringEx in ntpath.normcase to match OS behaviour for case-folding (GH-32010) * Use AsWideCharString to avoid memory leaks in deprectated unicode converter Co-authored-by: AN Long <aisk@users.noreply.github.com> | ||||
| * | 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 |
| | | |||||
