Issue 8329: select.select() can return lists with identical id()'s (original) (raw)

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.