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 pitrou
Recipients gvanrossum, neologix, pitrou
Date 2013-11-22.17:45:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1385142353.37.0.842056066182.issue19717@psf.upfronthosting.co.za>
In-reply-to
Content
Currently Path.resolve() raises FileNotFoundError when the path does not exist. Guido pointed out that it may more useful to resolve the path components until one doesn't exist, and then return the rest unchanged.

e.g. if /home/ points to /var/home/, Path("/home/antoine/toto") should resolve to Path("/var/home/antoine/toto") even if toto doesn't actually exist.

However, this makes the function less safe. Perhaps with a "strict" flag?
History
Date User Action Args
2013-11-22 17:45:53pitrousetrecipients: + pitrou, gvanrossum, neologix
2013-11-22 17:45:53pitrousetmessageid: <1385142353.37.0.842056066182.issue19717@psf.upfronthosting.co.za>
2013-11-22 17:45:53pitroulinkissue19717 messages
2013-11-22 17:45:53pitroucreate