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 rthalley
Recipients
Date 2003-06-29.02:58:13
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=671513

I don't think the patch can be much simpler than it is.  We
can't raise the exception inside of internal_select(),
because we don't have the interpreter lock then.

It's a good thing that we do not attempt the I/O after we
know we have a timeout, since we don't want to actually do
the I/O have it succeed after all, and then return "timeout".

The other changes make sure result variables from the I/O
are always initialized, to keep the compiler from issuing
warnings.  (There's no chance we'd actually use one of those
variables in the timeout case, but some compilers can't
figure that out.)

I'll recheck things and post a followup message.  I'll see
what I can do about docs + unittests, though timezones
aren't working in our favor at the moment (I'm in Australia
right now).
History
Date User Action Args
2007-08-23 15:27:55adminlinkissue760257 messages
2007-08-23 15:27:55admincreate