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 ocean-city
Recipients ocean-city
Date 2009-04-28.01:43:21
SpamBayes Score 5.60232e-10
Marked as misclassified No
Message-id <>
Hello. I noticed test_urllib fails on windows.

ERROR: test_copy (__main__.urlretrieve_FileTests)
Traceback (most recent call last):
  File "", line 241, in test_copy
    test_support.TESTFN), second_temp)
  File "e:\python-dev\trunk\lib\", line 94, in urlretrieve
    return _urlopener.retrieve(url, filename, reporthook, data)
  File "e:\python-dev\trunk\lib\", line 238, in retrieve
    fp =, data)
  File "e:\python-dev\trunk\lib\", line 206, in open
    return getattr(self, name)(url)
  File "e:\python-dev\trunk\lib\", line 464, in open_file
    return self.open_local_file(url)
  File "e:\python-dev\trunk\lib\", line 478, in open_local_file
    raise IOError(e.errno, e.strerror, e.filename)
IOError: [Errno 22] ネットワークに到達できません。ネットワークのトラブル
ィングについては、Windows ヘルプを参照してください。:


This happens since r71780. Workaround is to add "|" to safe list of 
  fullurl = quote(fullurl, safe="%/:=&?~#+!$,;'@()*[]")

# I don't know "|" is really safe.
Date User Action Args
2009-04-28 01:43:23ocean-citysetrecipients: + ocean-city
2009-04-28 01:43:23ocean-citysetmessageid: <>
2009-04-28 01:43:22ocean-citylinkissue5861 messages
2009-04-28 01:43:21ocean-citycreate