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 Kurt.Rose
Recipients Kurt.Rose, r.david.murray
Date 2015-05-12.22:39:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1431470387.55.0.790296542001.issue24169@psf.upfronthosting.co.za>
In-reply-to
Content
Totally agree this needs to be managed carefully.  My goal here was just to raise awareness and see if there is consensus that the behavior should be changed.

I came across this because an upstream process had a bug which led to impossible TCP ports being specified.  So, for my use case it would have been better if create_connection() had rejected the invalid data.

If we are talking about enhancements to the socket module, it would also be nice if errors included the address :-)
History
Date User Action Args
2015-05-12 22:39:47Kurt.Rosesetrecipients: + Kurt.Rose, r.david.murray
2015-05-12 22:39:47Kurt.Rosesetmessageid: <1431470387.55.0.790296542001.issue24169@psf.upfronthosting.co.za>
2015-05-12 22:39:47Kurt.Roselinkissue24169 messages
2015-05-12 22:39:47Kurt.Rosecreate