This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vajrasky
Recipients gvanrossum, neologix, pitrou, serhiy.storchaka, vajrasky
Date 2013-12-10.08:58:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1386665926.05.0.548812691022.issue19717@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks for the review, Antoine! Here is the updated patch. I haven't tested it on Windows yet because I want to clarify one thing.

Let's say we have this valid directory:

/tmp/@test123 <= directory

And this directory only has one valid file:

/tmp/@test123/cutecat <= file

We agree that pathlib.Path('/tmp/@test123/foo').resolve(False) => '/tmp/@test123/foo'.

But what about this case: pathlib.Path('/tmp/@test123/cutecat/foo').resolve(False)?

It should be "/tmp/@test123/cutecat" or "/tmp/@test123/cutecat/foo"?
History
Date User Action Args
2013-12-10 08:58:46vajraskysetrecipients: + vajrasky, gvanrossum, pitrou, neologix, serhiy.storchaka
2013-12-10 08:58:46vajraskysetmessageid: <1386665926.05.0.548812691022.issue19717@psf.upfronthosting.co.za>
2013-12-10 08:58:46vajraskylinkissue19717 messages
2013-12-10 08:58:45vajraskycreate