Author serhiy.storchaka
Recipients BreamoreBoy, ezio.melotti, georg.brandl, hynek, markon, o11c, pitrou, r.david.murray, serhiy.storchaka, swarecki, tzimmo
Date 2013-01-14.08:11:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1358151077.98.0.474680451411.issue6975@psf.upfronthosting.co.za>
In-reply-to
Content
> 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.
History
Date User Action Args
2013-01-14 08:11:18serhiy.storchakasetrecipients: + serhiy.storchaka, georg.brandl, pitrou, swarecki, ezio.melotti, r.david.murray, markon, BreamoreBoy, hynek, o11c, tzimmo
2013-01-14 08:11:18serhiy.storchakasetmessageid: <1358151077.98.0.474680451411.issue6975@psf.upfronthosting.co.za>
2013-01-14 08:11:17serhiy.storchakalinkissue6975 messages
2013-01-14 08:11:17serhiy.storchakacreate