[ python-Bugs-1462706 ] urllib2 bails if the localhost doens't have a fqdn hostname

SourceForge.net noreply at sourceforge.net
Sat Apr 1 17:40:18 CEST 2006


Bugs item #1462706, was opened at 2006-04-01 15:40
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1462706&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: splitscreen (splitscreen)
Assigned to: Nobody/Anonymous (nobody)
Summary: urllib2 bails if the localhost doens't have a fqdn hostname

Initial Comment:
When running the test suite I ran into a similar
problem to bug #1257988.

in the FileHandler class's get_names() method should be
wrapped in a try, except block because it shouldn't
assume that the localhost has a fqdn hostname.

Attached is a minimal diff against trunk r43542.

Matt

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1462706&group_id=5470


More information about the Python-bugs-list mailing list