Vinay Sajip <[email protected]> added the comment:
The change which causes the apparently spurious messages is one made by
Senthil: 25298224cb25 - with the earlier revision 1ac03e071d65 the messages
don't occur, as you can see here:
vinay@eta-jaunty:~/projects/python/default$ hg update -r 69980
merging Lib/test/test_logging.py
5 files updated, 1 files merged, 0 files removed, 0 files unresolved
vinay@eta-jaunty:~/projects/python/default$ python3.3 Lib/test/regrtest.py
test_logging
[1/1] test_logging
1 test OK.
[131048 refs]
vinay@eta-jaunty:~/projects/python/default$ hg update -r 69981
4 files updated, 0 files merged, 0 files removed, 0 files unresolved
vinay@eta-jaunty:~/projects/python/default$ python3.3 Lib/test/regrtest.py
test_logging
[1/1] test_logging
Traceback (most recent call last):
File "/home/vinay/projects/python/default/Lib/logging/handlers.py", line
1053, in emit
h.getresponse() #can't do anything with the result
File "/home/vinay/projects/python/default/Lib/http/client.py", line 1046, in
getresponse
response.begin()
File "/home/vinay/projects/python/default/Lib/http/client.py", line 346, in
begin
version, status, reason = self._read_status()
File "/home/vinay/projects/python/default/Lib/http/client.py", line 316, in
_read_status
raise BadStatusLine(line)
http.client.BadStatusLine: ''
Logged from file test_logging.py, line 1484
/home/vinay/projects/python/default/Lib/logging/__init__.py:837:
ResourceWarning: unclosed <socket.socket object, fd=4, family=2, type=1,
proto=6>
self.emit(record)
Traceback (most recent call last):
File "/home/vinay/projects/python/default/Lib/logging/handlers.py", line
1053, in emit
h.getresponse() #can't do anything with the result
File "/home/vinay/projects/python/default/Lib/http/client.py", line 1046, in
getresponse
response.begin()
File "/home/vinay/projects/python/default/Lib/http/client.py", line 346, in
begin
version, status, reason = self._read_status()
File "/home/vinay/projects/python/default/Lib/http/client.py", line 316, in
_read_status
raise BadStatusLine(line)
http.client.BadStatusLine: ''
Logged from file test_logging.py, line 1484
/home/vinay/projects/python/default/Lib/logging/__init__.py:837:
ResourceWarning: unclosed <socket.socket object, fd=4, family=2, type=1,
proto=6>
self.emit(record)
1 test OK.
[131005 refs]
----------
nosy: +orsenthil
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue12039>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com