Steve Dower added the comment:

At the point this code is running, it doesn't matter. The path doesn't exist, 
so trimming irrelevant segments from it will just cause a few extra iterations 
through resolve until we clear out enough of the absent segments to find 
something that does exist.

abspath just prepends the current working directory unless the path is rooted, 
so we essentially have unbounded concatenation of "\.." in that case.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29079>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to