Message179920
> I don't really understand your algorithm. Why do you need a stack?
Before resolving the symlink we mark the path as unresolved symlink for detecting infinite symlink loops. Before resolving the symlink we mark the path as resolved symlink (and cache the resolved value for speed) for allowing finite symlink recursion.
Here is a test which pathlib fails. |
|
Date |
User |
Action |
Args |
2013-01-14 08:11:18 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, georg.brandl, pitrou, swarecki, ezio.melotti, r.david.murray, markon, BreamoreBoy, hynek, o11c, tzimmo |
2013-01-14 08:11:18 | serhiy.storchaka | set | messageid: <1358151077.98.0.474680451411.issue6975@psf.upfronthosting.co.za> |
2013-01-14 08:11:17 | serhiy.storchaka | link | issue6975 messages |
2013-01-14 08:11:17 | serhiy.storchaka | create | |
|