[issue8460] Set a timeout in test_urllib2net

Senthil Kumaran report at bugs.python.org
Tue Apr 20 11:55:51 CEST 2010


Senthil Kumaran <orsenthil at gmail.com> added the comment:

Yes, definitely it needs to be ported. I realized that, py3k was in a bad shape at moment.

File "Lib/test/test_urllib2net.py", line 151, in _test_urls
    import logging
File "/home/senthil/python/py3k/Lib/logging/__init__.py", line 43, in <module>
    import threading
File "/home/senthil/python/py3k/Lib/threading.py", line 34, in <module>
    TIMEOUT_MAX = _thread.TIMEOUT_MAX
AttributeError: 'module' object has no attribute 'TIMEOUT_MAX'

This is without the patch in.
I was looking at what was wrong there, and once that is fix, merging this change to py3k would be fine.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8460>
_______________________________________


More information about the Python-bugs-list mailing list