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 vinay.sajip
Recipients orsenthil, skrah, vinay.sajip
Date 2011-05-09.21:01:55
SpamBayes Score 1.8805481e-06
Marked as misclassified No
Message-id <1304974916.55.0.0167149958885.issue12039@psf.upfronthosting.co.za>
In-reply-to
Content
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]
History
Date User Action Args
2011-05-09 21:01:56vinay.sajipsetrecipients: + vinay.sajip, orsenthil, skrah
2011-05-09 21:01:56vinay.sajipsetmessageid: <1304974916.55.0.0167149958885.issue12039@psf.upfronthosting.co.za>
2011-05-09 21:01:55vinay.sajiplinkissue12039 messages
2011-05-09 21:01:55vinay.sajipcreate