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 rodolpho
Recipients christian.heimes, rodolpho, stranger4good, werneck, zanella
Date 2008-06-21.16:50:46
SpamBayes Score 0.00023765632
Marked as misclassified No
Message-id <1214067071.04.0.098191225201.issue2118@psf.upfronthosting.co.za>
In-reply-to
Content
Verified Werneck's patch and it also works on 2.6 and 3.0.

However, the previous code used to present a "friendly" message about
non-numeric ports: "socket.error: nonnumeric port" and now it raises
"ValueError: invalid literal for int() with base 10".

Should it be changed to inform that the exception is due to a
non-numeric port? (Just wrap int(port) with a try and change the raised
exception)
History
Date User Action Args
2008-06-21 16:51:39rodolphosetspambayes_score: 0.000237656 -> 0.00023765632
recipients: + rodolpho, christian.heimes, stranger4good, zanella, werneck
2008-06-21 16:51:12rodolphosetspambayes_score: 0.000237656 -> 0.000237656
messageid: <1214067071.04.0.098191225201.issue2118@psf.upfronthosting.co.za>
2008-06-21 16:50:51rodolpholinkissue2118 messages
2008-06-21 16:50:47rodolphocreate