classification
Title: io.BufferedRWPair.closed broken; tries to call bool writer.closed property
Type: behavior Stage:
Components: Library (Lib) Versions: Python 3.0, Python 2.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: benjamin.peterson, semanticist
Priority: normal Keywords:

Created on 2008-12-24 08:15 by semanticist, last changed 2008-12-24 15:10 by benjamin.peterson. This issue is now closed.

Messages (2)
msg78257 - (view) Author: Miles (semanticist) Date: 2008-12-24 08:15
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
msg78262 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2008-12-24 15:10
Thanks for the report. Fixed in r67923.
History
Date User Action Args
2008-12-24 15:10:51benjamin.petersonsetstatus: open -> closed
resolution: fixed
messages: + msg78262
nosy: + benjamin.peterson
2008-12-24 08:15:34semanticistcreate