[New-bugs-announce] [issue15842] Some SocketIO methods can succeed after close()

Antoine Pitrou report at bugs.python.org
Sat Sep 1 21:20:13 CEST 2012


New submission from Antoine Pitrou:

>>> import socket
>>> s = socket.socket()
>>> f = s.makefile("rb", buffering=0)
>>> f
<socket.SocketIO object at 0x7f2f323cd790>
>>> f.close()
>>> f.writable()
False
>>> f.readable()
False

----------
components: IO, Library (Lib)
messages: 169666
nosy: benjamin.peterson, hynek, pitrou, stutzbach
priority: normal
severity: normal
status: open
title: Some SocketIO methods can succeed after close()
type: behavior
versions: Python 3.2, Python 3.3

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


More information about the New-bugs-announce mailing list