Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [3.10] bpo-44817: Ignore additional errors in ntpath.realpath (GH-27574) ↵ | Miss Islington (bot) | 2022-12-08 | 1 | -1/+4 |
| | | | | | | | (GH-100023) (cherry picked from commit 124ecd657646f808d1d3282c37ee19aae6bcb47f) Co-authored-by: Michael Förderer <michael.foerderer@gmx.de> | ||||
* | bpo-42658: Use LCMapStringEx in ntpath.normcase to match OS behaviour for ↵ | Steve Dower | 2022-06-10 | 1 | -8/+34 |
| | | | | | case-folding (GH-93674) Co-authored-by: AN Long <aisk@users.noreply.github.com> | ||||
* | bpo-43757: Make pathlib use os.path.realpath() to resolve symlinks in a path ↵ | Barney Gale | 2021-04-28 | 1 | -1/+3 |
| | | | | | (GH-25264) Also adds a new "strict" argument to realpath() to avoid changing the default behaviour of pathlib while sharing the implementation. | ||||
* | bpo-39899: Don't double-check directory name if we're requesting the current ↵ | Barney Gale | 2021-04-09 | 1 | -8/+9 |
| | | | | user's home directory in ntpath.expanduser() (GH-25277) | ||||
* | bpo-39899: os.path.expanduser(): don't guess other Windows users' home ↵ | Barney Gale | 2021-04-07 | 1 | -3/+15 |
| | | | | | | | 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-38453: Ensure ntpath.realpath correctly resolves relative paths (GH-16967) | Steve Dower | 2019-11-15 | 1 | -8/+41 |
| | | | | | 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 | -11/+9 |
| | |||||
* | bpo-38081: Add more non-fatal error codes for ntpath.realpath (GH-16156) | Steve Dower | 2019-09-16 | 1 | -7/+34 |
| | |||||
* | bpo-38081: Fixes ntpath.realpath('NUL') (GH-15899) | Steve Dower | 2019-09-11 | 1 | -6/+7 |
| | |||||
* | bpo-9949: Call normpath() in realpath() and avoid unnecessary prefixes ↵ | Steve Dower | 2019-08-21 | 1 | -3/+8 |
| | | | | (GH-15369) | ||||
* | bpo-9949: Enable symlink traversal for ntpath.realpath (GH-15287) | Steve Dower | 2019-08-21 | 1 | -19/+88 |
| | |||||
* | bpo-30427: eliminate redundant type checks in os.path.normcase() (GH-1712) | Wolfgang Maier | 2019-03-28 | 1 | -10/+4 |
| | | | https://bugs.python.org/issue30427 | ||||
* | bpo-36264: Don't honor POSIX HOME in os.path.expanduser on Windows (GH-12282) | Anthony Sottile | 2019-03-12 | 1 | -3/+1 |
| | |||||
* | bpo-31047: Fix ntpath.abspath to trim ending separator (GH-10082) | Tim Graham | 2018-10-25 | 1 | -1/+1 |
| | | | Regression in b0bf51b32240369ccb736dc32ff82bb96f375402. | ||||
* | bpo-33721: Make some os.path functions and pathlib.Path methods be tolerant ↵ | Serhiy Storchaka | 2018-09-18 | 1 | -3/+3 |
| | | | | | | | | | | to invalid paths. (#7695) Such functions as os.path.exists(), os.path.lexists(), os.path.isdir(), os.path.isfile(), os.path.islink(), and os.path.ismount() now return False instead of raising ValueError or its subclasses UnicodeEncodeError and UnicodeDecodeError for paths that contain characters or bytes unrepresentative at the OS level. | ||||
* | bpo-31047: Fix ntpath.abspath for invalid paths (GH-8544) | Franz Wöllert | 2018-07-29 | 1 | -22/+20 |
| | |||||
* | bpo-31802: Fix importing native path module before importing os. (#4017) | Serhiy Storchaka | 2018-01-07 | 1 | -11/+12 |
| | |||||
* | Issue #29197: Removed deprecated function ntpath.splitunc(). | Serhiy Storchaka | 2017-01-13 | 1 | -23/+1 |
| | |||||
* | Issue #27355: Removed support for Windows CE. It was never finished, | Larry Hastings | 2016-09-05 | 1 | -2/+0 |
| | | | | and Windows CE is no longer a relevant platform for Python. | ||||
* | Issue #26027, #27524: Add PEP 519/__fspath__() support to os and | Brett Cannon | 2016-08-26 | 1 | -2/+16 |
| | | | | | | os.path. Thanks to Jelle Zijlstra for the initial patch against posixmodule.c. | ||||
* | Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc | Martin Panter | 2016-04-15 | 1 | -1/+1 |
| | | | | This affects documentation, code comments, and a debugging messages. | ||||
* | Issue #23780: Improved error message in os.path.join() with single argument. | Serhiy Storchaka | 2015-05-19 | 1 | -0/+2 |
| | | | | Idea by R. David Murray. | ||||
* | Issue #10395: Added os.path.commonpath(). Implemented in posixpath and ntpath. | Serhiy Storchaka | 2015-03-31 | 1 | -1/+62 |
| | | | | Based on patch by Rafik Draoui. | ||||
* | Issue #23742: ntpath.expandvars() no longer loses unbalanced single quotes. | Serhiy Storchaka | 2015-03-25 | 1 | -1/+1 |
|\ | |||||
| * | Issue #23742: ntpath.expandvars() no longer loses unbalanced single quotes. | Serhiy Storchaka | 2015-03-25 | 1 | -1/+1 |
| | | |||||
* | | Fixed tests on Windows for issue #21883. | Serhiy Storchaka | 2014-10-04 | 1 | -1/+1 |
| | | |||||
* | | Issue #21883: os.path.join() and os.path.relpath() now raise a TypeError with | Serhiy Storchaka | 2014-10-04 | 1 | -44/+52 |
| | | | | | | | | more helpful error message for unsupported or mismatched types of arguments. | ||||
* | | Issue #15275: Clean up and speed up the ntpath module. | Serhiy Storchaka | 2014-07-23 | 1 | -93/+77 |
|/ | |||||
* | Issue #6815: os.path.expandvars() now supports non-ASCII environment | Serhiy Storchaka | 2014-02-13 | 1 | -29/+31 |
|\ | | | | | | | variables names and values. | ||||
| * | Issue #6815: os.path.expandvars() now supports non-ASCII environment | Serhiy Storchaka | 2014-02-13 | 1 | -29/+31 |
| | | | | | | | | variables names and values. | ||||
* | | Issue #19456: ntpath.join() now joins relative paths correctly when a drive | Serhiy Storchaka | 2014-01-27 | 1 | -76/+30 |
|\ \ | |/ | | | | | is present. | ||||
| * | Issue #19456: ntpath.join() now joins relative paths correctly when a drive | Serhiy Storchaka | 2014-01-27 | 1 | -76/+30 |
| | | | | | | | | is present. | ||||
* | | Issue #19912: Fixed numerous bugs in ntpath.splitunc(). | Serhiy Storchaka | 2013-12-16 | 1 | -20/+6 |
|\ \ | |/ | | | | | | | | | | | | | * 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 | -20/+6 |
| | | | | | | | | | | | | | | | | * 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 | -1/+1 |
|\ \ | |/ | | | | | (U+0130, LATIN CAPITAL LETTER I WITH DOT ABOVE). | ||||
| * | Issue #19911: ntpath.splitdrive() now correctly processes the 'İ' character | Serhiy Storchaka | 2013-12-16 | 1 | -1/+1 |
| | | | | | | | | (U+0130, LATIN CAPITAL LETTER I WITH DOT ABOVE). | ||||
* | | Issue #9035: os.path.ismount now recognises volumes mounted below | Tim Golden | 2013-08-01 | 1 | -5/+24 |
| | | | | | | | | a drive root on Windows. Original patch by Atsuo Ishimoto. | ||||
* | | Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) | Brett Cannon | 2013-07-04 | 1 | -2/+2 |
| | | |||||
* | | Issue #18200: Update the stdlib (except tests) to use | Brett Cannon | 2013-06-14 | 1 | -2/+2 |
| | | | | | | | | ModuleNotFoundError. | ||||
* | | Fix #16788. Add samestat to Lib/ntpath.py | Brian Curtin | 2012-12-26 | 1 | -1/+1 |
| | | |||||
* | | Fix #11939. Set st_dev attribute on Windows to simplify os.path.samefile. | Brian Curtin | 2012-12-26 | 1 | -17/+0 |
| | | | | | | | | | | | | By setting the st_dev attribute, we can then remove some Windows-specific code and move os.path.samefile/sameopenfile/samestat to Lib/genericpath.py so all platforms share the same implementation. | ||||
* | | Issue #16719: Get rid of WindowsError. Use OSError instead | Andrew Svetlov | 2012-12-19 | 1 | -2/+2 |
| | | | | | | | | Patch by Serhiy Storchaka. | ||||
* | | Issue #16706: get rid of os.error | Andrew Svetlov | 2012-12-18 | 1 | -2/+2 |
| | | |||||
* | | #16135: Removal of OS/2 support (Remove OS2 and OS/2 references) | Jesus Cea | 2012-10-05 | 1 | -5/+1 |
|/ | |||||
* | Correction to 88e318166eaf - Issue #11583 | Brian Curtin | 2011-06-09 | 1 | -5/+3 |
| | | | | | | Rather than wrapping the C _isdir function in a Python function, just import the C _isdir function directly. Additionally, add in the docstring which was left out. | ||||
* | Fix #11583. Changed os.path.isdir to use GetFileAttributes instead of os.stat. | Brian Curtin | 2011-06-08 | 1 | -0/+13 |
| | | | | | | | | | By changing to the Windows GetFileAttributes API in nt._isdir we can figure out if the path is a directory without opening the file via os.stat. This has the minor benefit of speeding up os.path.isdir by at least 2x for regular files and 10-15x improvements were seen on symbolic links (which opened the file multiple times during os.stat). Since os.path.isdir is used in several places on interpreter startup, we get a minor speedup in startup time. | ||||
* | ntpath.samefile fails to detect that "A.TXT" and "a.txt" refer to the same ↵ | Ronald Oussoren | 2011-05-06 | 1 | -1/+1 |
| | | | | | | file on Windows XP. Noticed while researching a buildbot failure due to a patch for issue #10684. | ||||
* | #11565: Merge with 3.1. | Ezio Melotti | 2011-03-16 | 1 | -1/+1 |
|\ | |||||
| * | #11565: Fix several typos. Patch by Piotr Kasprzyk. | Ezio Melotti | 2011-03-16 | 1 | -1/+1 |
| | | |||||
| * | Merged revisions 85689 via svnmerge from | Hirokazu Yamamoto | 2010-10-18 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85689 | hirokazu.yamamoto | 2010-10-18 21:13:18 +0900 | 3 lines Issue #5117: Case normalization was needed on ntpath.relpath(). And fixed root directory issue on posixpath.relpath(). (Ported working fixes from ntpath) ........ |