Message205779
| 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"? |
|