[issue5069] Use sets instead of list in posixpath._resolve_link

2009-01-26 Thread Χρήστος Γεωργίου (Christos Georgiou)
New submission from Χρήστος Γεωργίου (Christos Georgiou) t...@users.sourceforge.net: The paths_seen object is a list; a set is more appropriate, since its main use is a lookup as in path in paths_seen -- components: Library (Lib) files: posixpath.diff keywords: patch messages: 80570

[issue5069] Use sets instead of list in posixpath._resolve_link

2009-01-26 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: Simple and correct. -- nosy: +gagenellina ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5069 ___

[issue5069] Use sets instead of list in posixpath._resolve_link

2009-01-26 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Thanks for the patch! Applied in r69003. -- nosy: +benjamin.peterson resolution: - accepted status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5069