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.

classification
Title: Error EBADF in test_urllibnet
Type: behavior Stage:
Components: Library (Lib) Versions: Python 3.4, Python 3.5
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: orsenthil, pitrou
Priority: normal Keywords:

Created on 2011-05-21 16:34 by pitrou, last changed 2022-04-11 14:57 by admin.

Messages (3)
msg136455 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2011-05-21 16:34
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
msg221434 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2014-06-24 08:20
No longer an issue?
msg236997 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2015-03-01 23:55
Can this be closed as it's stated to be a transient failure and it's nearly four years old?
History
Date User Action Args
2022-04-11 14:57:17adminsetgithub: 56346
2019-03-15 22:36:00BreamoreBoysetnosy: - BreamoreBoy
2015-03-01 23:55:55BreamoreBoysetmessages: + msg236997
2014-06-24 08:20:53BreamoreBoysetversions: + Python 3.4, Python 3.5, - Python 3.2, Python 3.3
nosy: + BreamoreBoy

messages: + msg221434

type: behavior
2011-05-28 19:44:09terry.reedysettitle: EBADF in test_urllibnet -> Error EBADF in test_urllibnet
2011-05-21 16:34:13pitroucreate