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 gvanrossum
Recipients gvanrossum, loewis, neologix, pitrou, python-dev, vstinner, yselivanov
Date 2014-07-24.19:55:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
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.
History
Date User Action Args
2014-07-24 19:55:58gvanrossumsetrecipients: + gvanrossum, loewis, pitrou, vstinner, neologix, python-dev, yselivanov
2014-07-24 19:55:58gvanrossumsetmessageid: <[email protected]>
2014-07-24 19:55:58gvanrossumlinkissue22018 messages
2014-07-24 19:55:57gvanrossumcreate