New submission from Miles <semantic...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue4736>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to