homepage

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
Date 2000年12月18日.22:38:27
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Thanks for explaining this more.
I am surprised that a 301 redirect would give an invalid port -- but surely webmasters aren't perfect. :-)
The argument that urllib.Urlopener.open() checks for socket.error but not for other errors is a good one.
However I don't see the httplib.py code raising socket.error elsewhere. I'll ask Jeremy. The rest of the module seems to be using a totally different set of exceptions. On the other hand, it *can* raise socket.error, implicitly (when various socket calls are being made).
History
Date User Action Args
2007年08月23日 13:52:28adminlinkissue225744 messages
2007年08月23日 13:52:28admincreate

AltStyle によって変換されたページ (->オリジナル) /