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 wplappert
Recipients wplappert
Date 2008年09月13日.08:16:50
SpamBayes Score 2.7163383e-10
Marked as misclassified No
Message-id <1221293811.9.0.758930333034.issue3857@psf.upfronthosting.co.za>
In-reply-to
Content
The following 2 line program fails under Python 2.6rc1: 
Python 2.6b3 (r26b3:66303, Sep 8 2008, 13:45:13) [MSC v.1500 32 bit
(Intel)] on win32
as downloaded today (2008年09月13日):
#---- start program ---
import urllib
fh = urllib.urlopen('http://bugs.python.org/')
#---- end program ---
with the messages:
Traceback (most recent call last):
 File "bug.py", line 2, in <module>
 fh = urllib.urlopen('http://bugs.python.org/')
 File "d:\Python26\lib\urllib.py", line 87, in urlopen
 return opener.open(url)
 File "d:\Python26\lib\urllib.py", line 203, in open
 return getattr(self, name)(url)
 File "d:\Python26\lib\urllib.py", line 285, in open_http
 import httplib
 File "d:\Python26\lib\httplib.py", line 72, in <module>
 from test.test_support import catch_warning
ImportError: No module named test.test_support
The program works fine on Python 2.5
History
Date User Action Args
2008年09月13日 08:16:52wplappertsetrecipients: + wplappert
2008年09月13日 08:16:51wplappertsetmessageid: <1221293811.9.0.758930333034.issue3857@psf.upfronthosting.co.za>
2008年09月13日 08:16:51wplappertlinkissue3857 messages
2008年09月13日 08:16:50wplappertcreate

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