[New-bugs-announce] [issue4736] io.BufferedRWPair.closed broken; tries to call bool writer.closed property

Miles report at bugs.python.org
Wed Dec 24 09:15:35 CET 2008


New submission from Miles <semanticist at gmail.com>:

The closed property of BufferedRWPair attempts to call the closed property 
of its writer as a method, which fails because writer.closed is a bool.

The following code demonstrates the error:

import socket
socket.socket().makefile('rwb').closed

----------
components: Library (Lib)
messages: 78257
nosy: semanticist
severity: normal
status: open
title: io.BufferedRWPair.closed broken; tries to call bool writer.closed property
type: behavior
versions: Python 2.6, Python 3.0

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


More information about the New-bugs-announce mailing list