[issue19717] resolve() fails when the path doesn't exist

Vajrasky Kok report at bugs.python.org
Tue Dec 17 09:20:33 CET 2013


Vajrasky Kok added the comment:

I based my implementation on this statement:

"Guido pointed out that it may more useful to resolve the path components until one doesn't exist"

"until one doesn't exist" in this case means P(BASE, 'foo', 'in', 'spam') resolves until BASE / 'foo'.

If different spec is better, I'll change the implementation.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19717>
_______________________________________


More information about the Python-bugs-list mailing list