[issue12137] EBADF in test_urllibnet

Antoine Pitrou report at bugs.python.org
Sat May 21 18:34:14 CEST 2011


New submission from Antoine Pitrou <pitrou at free.fr>:

This is probably a transient failure due to the remote host being unavailable, but the "bad file descriptor" error is not ok:


test test_urllibnet failed -- Traceback (most recent call last):
  File "/Users/pythonbuildbot/buildarea/3.x.hansen-osx-x86/build/Lib/test/test_urllibnet.py", line 70, in test_readlines
    self.assertIsInstance(open_url.readlines(), list,
  File "/Users/pythonbuildbot/buildarea/3.x.hansen-osx-x86/build/Lib/http/client.py", line 509, in read
    s = self.fp.read(amt)
  File "/Users/pythonbuildbot/buildarea/3.x.hansen-osx-x86/build/Lib/socket.py", line 279, in readinto
    return self._sock.recv_into(b)
socket.error: [Errno 9] Bad file descriptor

----------
components: Library (Lib)
messages: 136455
nosy: orsenthil, pitrou
priority: normal
severity: normal
status: open
title: EBADF in test_urllibnet
versions: Python 3.2, Python 3.3

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


More information about the Python-bugs-list mailing list