Steve Dower
abde52cd8e
bpo-38453: Ensure ntpath.realpath correctly resolves relative paths (GH-16967)
...
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
2019-11-15 09:49:21 -08:00
Steve Dower
a0e3d27e4e
bpo-38355: Fix ntpath.realpath failing on sys.executable (GH-16551)
2019-10-03 08:31:03 -07:00
Steve Dower
89b8933bb5
bpo-38081: Add more non-fatal error codes for ntpath.realpath (GH-16156)
2019-09-16 15:25:11 +01:00
Steve Dower
92521fea5d
bpo-38081: Fixes ntpath.realpath('NUL') (GH-15899)
2019-09-11 10:48:36 +01:00
Steve Dower
06be2c7f35
bpo-9949: Call normpath() in realpath() and avoid unnecessary prefixes (GH-15369)
2019-08-21 16:45:02 -07:00
Steve Dower
75e064962e
bpo-9949: Enable symlink traversal for ntpath.realpath (GH-15287)
2019-08-21 13:43:06 -07:00
Wolfgang Maier
74510e2a57
bpo-30427: eliminate redundant type checks in os.path.normcase() (GH-1712)
...
https://bugs.python.org/issue30427
2019-03-28 14:47:18 -07:00
Anthony Sottile
25ec4a45dc
bpo-36264: Don't honor POSIX HOME in os.path.expanduser on Windows (GH-12282)
2019-03-12 08:39:57 -07:00
Tim Graham
d03b775781
bpo-31047: Fix ntpath.abspath to trim ending separator (GH-10082)
...
Regression in b0bf51b32240369ccb736dc32ff82bb96f375402.
2018-10-25 11:26:37 -04:00
Serhiy Storchaka
0185f34ddc
bpo-33721: Make some os.path functions and pathlib.Path methods be tolerant 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.
2018-09-18 11:28:51 +03:00
Franz Wöllert
d2e902e4fb
bpo-31047: Fix ntpath.abspath for invalid paths (GH-8544)
2018-07-29 13:47:09 +01:00
Serhiy Storchaka
3460198f6b
bpo-31802: Fix importing native path module before importing os. ( #4017 )
2018-01-07 17:54:31 +02:00
Serhiy Storchaka
9ed707eb4c
Issue #29197 : Removed deprecated function ntpath.splitunc().
2017-01-13 20:55:05 +02:00
Larry Hastings
10108a7b9a
Issue #27355 : Removed support for Windows CE. It was never finished,
...
and Windows CE is no longer a relevant platform for Python.
2016-09-05 15:11:23 -07:00
Brett Cannon
3f9183b5ac
Issue #26027 , #27524 : Add PEP 519/__fspath__() support to os and
...
os.path.
Thanks to Jelle Zijlstra for the initial patch against posixmodule.c.
2016-08-26 14:44:48 -07:00
Martin Panter
6245cb3c01
Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc
...
This affects documentation, code comments, and a debugging messages.
2016-04-15 02:14:19 +00:00
Serhiy Storchaka
5bfc03f430
Issue #23780 : Improved error message in os.path.join() with single argument.
...
Idea by R. David Murray.
2015-05-19 11:00:07 +03:00
Serhiy Storchaka
3822093143
Issue #10395 : Added os.path.commonpath(). Implemented in posixpath and ntpath.
...
Based on patch by Rafik Draoui.
2015-03-31 15:31:53 +03:00
Serhiy Storchaka
b20f905f6d
Issue #23742 : ntpath.expandvars() no longer loses unbalanced single quotes.
2015-03-25 16:41:15 +02:00
Serhiy Storchaka
1b87ae0c91
Issue #23742 : ntpath.expandvars() no longer loses unbalanced single quotes.
2015-03-25 16:40:15 +02:00
Serhiy Storchaka
e4f47088af
Fixed tests on Windows for issue #21883 .
2014-10-04 16:09:02 +03:00
Serhiy Storchaka
3deeeb0c39
Issue #21883 : os.path.join() and os.path.relpath() now raise a TypeError with
...
more helpful error message for unsupported or mismatched types of arguments.
2014-10-04 14:58:43 +03:00
Serhiy Storchaka
8518b79a8d
Issue #15275 : Clean up and speed up the ntpath module.
2014-07-23 20:43:13 +03:00
Serhiy Storchaka
7dfaa27fdd
Issue #6815 : os.path.expandvars() now supports non-ASCII environment
...
variables names and values.
2014-02-13 10:14:48 +02:00
Serhiy Storchaka
dbb101909d
Issue #6815 : os.path.expandvars() now supports non-ASCII environment
...
variables names and values.
2014-02-13 10:13:53 +02:00