[New-bugs-announce] [issue5069] Use sets instead of list in posixpath._resolve_link

Χρήστος Γεωργίου (Christos Georgiou) report at bugs.python.org
Mon Jan 26 15:18:13 CET 2009


New submission from Χρήστος Γεωργίου (Christos Georgiou) <tzot at 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
nosy: tzot
severity: normal
status: open
title: Use sets instead of list in posixpath._resolve_link
type: performance
versions: Python 2.7
Added file: http://bugs.python.org/file12867/posixpath.diff

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


More information about the New-bugs-announce mailing list