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 <1406231758.04.0.47336158849.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.
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: <1406231758.04.0.47336158849.issue22018@psf.upfronthosting.co.za>
2014-07-24 19:55:58gvanrossumlinkissue22018 messages
2014-07-24 19:55:57gvanrossumcreate