[New-bugs-announce] [issue8329] select.select() can return lists with identical id()'s

Mike Kent report at bugs.python.org
Tue Apr 6 23:19:38 CEST 2010


New submission from Mike Kent <mike.kent at sage.com>:

If select.select() returns two or more empty lists, these empty lists will all refer to the same list; that is, they will have identical id()'s.  If you then have reason to alter one of the returned empty lists, you are altering all of the returned empty lists.  This can result in some significant debugging time spent, and curse words uttered.

I encountered this in Python 2.5.4, but have not yet verified it on a more recent version.  Searching through the Issue Tracker showed nothing similar.

----------
components: Library (Lib)
messages: 102496
nosy: mrmakent
severity: normal
status: open
title: select.select() can return lists with identical id()'s
versions: Python 2.5

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


More information about the New-bugs-announce mailing list