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 vstinner
Recipients gvanrossum, loewis, neologix, pitrou, python-dev, vstinner, yselivanov
Date 2014-07-24.20:00:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1406232047.94.0.474969429014.issue22018@psf.upfronthosting.co.za>
In-reply-to
Content
> I think if it's not a socket (or a closed one) it should raise ValueError or perhaps OSError -- TypeError would mean that it's not an int.

Oh, you're right. Updated patch, version 8, now raises a ValueError.
History
Date User Action Args
2014-07-24 20:00:48vstinnersetrecipients: + vstinner, gvanrossum, loewis, pitrou, neologix, python-dev, yselivanov
2014-07-24 20:00:47vstinnersetmessageid: <1406232047.94.0.474969429014.issue22018@psf.upfronthosting.co.za>
2014-07-24 20:00:47vstinnerlinkissue22018 messages
2014-07-24 20:00:47vstinnercreate