This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author akuchling
Recipients
Date 2004-09-01.13:32:35
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=11375

'e = r+w' means 'e' can contain the same descriptor twice, 
if it's both readable and writable, and I think this
matters.  Duplicate fd's don't cause a problem with the
select() system call itself, but the return value from
select.select() would include the file descriptor twice. 
(I've attached a test program that demonstrates this for
readable fds.)  

Therefore, I think the 'if is_r or is_w' logic is necessary.

History
Date User Action Args
2007-08-23 14:25:28adminlinkissue1011606 messages
2007-08-23 14:25:28admincreate