[issue4736] io.BufferedRWPair.closed broken; tries to call bool writer.closed property

2008-12-24 Thread Miles

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



[issue4736] io.BufferedRWPair.closed broken; tries to call bool writer.closed property

2008-12-24 Thread Benjamin Peterson

Benjamin Peterson benja...@python.org added the comment:

Thanks for the report. Fixed in r67923.

--
nosy: +benjamin.peterson
resolution:  - fixed
status: open - closed

___
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