This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author amaury.forgeotdarc
Recipients amaury.forgeotdarc, christian.heimes, gvanrossum, pitrou, wojtekwalczak
Date 2008-06-13.13:37:11
SpamBayes Score 0.2019576
Marked as misclassified No
Message-id <1213364234.23.0.825756679117.issue1407@psf.upfronthosting.co.za>
In-reply-to
Content
I reproduce almost the same output.
"function.closed" often come in pair, because TextIOWrapper.closed is a
property which delegates to self.buffer.closed

I think that the first check in TextIOWrapper.write() is not necessary:
self.buffer.write(b) will also check for "self.buffer.closed", and there
is not much code in-between. The only side-effect is the decoder state.
History
Date User Action Args
2008-06-13 13:37:14amaury.forgeotdarcsetspambayes_score: 0.201958 -> 0.2019576
recipients: + amaury.forgeotdarc, gvanrossum, pitrou, christian.heimes, wojtekwalczak
2008-06-13 13:37:14amaury.forgeotdarcsetspambayes_score: 0.201958 -> 0.201958
messageid: <1213364234.23.0.825756679117.issue1407@psf.upfronthosting.co.za>
2008-06-13 13:37:13amaury.forgeotdarclinkissue1407 messages
2008-06-13 13:37:11amaury.forgeotdarccreate