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 skrah
Recipients orsenthil, skrah, vinay.sajip
Date 2011-05-09.21:32:11
SpamBayes Score 1.4024879e-05
Marked as misclassified No
Message-id <1304976733.32.0.616387683905.issue12039@psf.upfronthosting.co.za>
In-reply-to
Content
We might have two issues here. On FreeBSD the select.error occurs
reliably starting with r69723 (when the tests were added):

[buildbot@freebsd-amd64 /usr/home/buildbot/cpython]$ ./python -m test -uall test_logging
[1/1] test_logging
/usr/home/buildbot/cpython/Lib/logging/handlers.py:475: ResourceWarning: unclosed <socket.socket object, fd=3, family=2, type=1, proto=0>
  self.retryTime = now + self.retryPeriod
/usr/home/buildbot/cpython/Lib/logging/handlers.py:475: ResourceWarning: unclosed <socket.socket object, fd=3, family=2, type=1, proto=0>
  self.retryTime = now + self.retryPeriod
Exception in thread Thread-9:
Traceback (most recent call last):
  File "/usr/home/buildbot/cpython/Lib/threading.py", line 737, in _bootstrap_inner
    self.run()
  File "/usr/home/buildbot/cpython/Lib/threading.py", line 690, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/home/buildbot/cpython/Lib/test/test_logging.py", line 667, in serve_forever
    asyncore.loop(poll_interval, map=self.sockmap)
  File "/usr/home/buildbot/cpython/Lib/asyncore.py", line 214, in loop
    poll_fun(timeout, map)
  File "/usr/home/buildbot/cpython/Lib/asyncore.py", line 144, in poll
    r, w, e = select.select(r, w, e, timeout)
select.error: (9, 'Bad file descriptor')
History
Date User Action Args
2011-05-09 21:32:13skrahsetrecipients: + skrah, vinay.sajip, orsenthil
2011-05-09 21:32:13skrahsetmessageid: <1304976733.32.0.616387683905.issue12039@psf.upfronthosting.co.za>
2011-05-09 21:32:11skrahlinkissue12039 messages
2011-05-09 21:32:11skrahcreate