Message203819
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? |
|
Date |
User |
Action |
Args |
2013-11-22 17:45:53 | pitrou | set | recipients:
+ pitrou, gvanrossum, neologix |
2013-11-22 17:45:53 | pitrou | set | messageid: <1385142353.37.0.842056066182.issue19717@psf.upfronthosting.co.za> |
2013-11-22 17:45:53 | pitrou | link | issue19717 messages |
2013-11-22 17:45:53 | pitrou | create | |
|