[issue19918] PureWindowsPath.relative_to() is not case insensitive

2015-07-16 Thread Aaron Meurer
Changes by Aaron Meurer : -- nosy: +Aaron Meurer ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue19918] PureWindowsPath.relative_to() is not case insensitive

2014-12-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: pathlib is case-sensitive under OS X (under any non-Windows platform actually). -- ___ Python tracker ___ __

[issue19918] PureWindowsPath.relative_to() is not case insensitive

2014-12-18 Thread Chris Jerdonek
Chris Jerdonek added the comment: Was this also fixed for Mac OS X? Mac OS X is also case-insensitive by default, and on Python 3.4.2 I'm getting: >>> Path("Foo").relative_to("foo") Traceback (most recent call last): File "", line 1, in File "/opt/local/Library/Frameworks/Python.framewor

[issue19918] PureWindowsPath.relative_to() is not case insensitive

2013-12-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thanks! I've tweaked the patch a bit and committed it. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

[issue19918] PureWindowsPath.relative_to() is not case insensitive

2013-12-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 763f4416c4fd by Antoine Pitrou in branch 'default': Issue #19918: Fix PurePath.relative_to() under Windows. http://hg.python.org/cpython/rev/763f4416c4fd -- nosy: +python-dev ___ Python tracker

[issue19918] PureWindowsPath.relative_to() is not case insensitive

2013-12-11 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue19918] PureWindowsPath.relative_to() is not case insensitive

2013-12-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Actually relative_to() returns invalid path object. >>> import pathlib >>> p = pathlib.PureWindowsPath('C:/Foo/Bar/Baz').relative_to('C:') >>> p PureWindowsPath('//Foo/Bar/Baz') >>> str(p) 'Foo\\Bar\\Baz' >>> p.drive '' >>> p.root '' >>> p.parts ('\\', 'Fo

[issue19918] PureWindowsPath.relative_to() is not case insensitive

2013-12-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch which fixes first bug. -- keywords: +patch stage: needs patch -> patch review Added file: http://bugs.python.org/file33022/pathlib_relative_to.patch ___ Python tracker

[issue19918] PureWindowsPath.relative_to() is not case insensitive

2013-12-07 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: >>> import pathlib >>> pathlib.PureWindowsPath('C:/Foo/Bar').relative_to('C:/Foo') PureWindowsPath('Bar') >>> pathlib.PureWindowsPath('C:/Foo/Bar').relative_to('C:/foo') Traceback (most recent call last): File "", line 1, in File "/home/serhiy/py/cpython