➜

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.

作者 pitrou
收信人 Arfrever, mrabarnett, ncoghlan, pitrou, serhiy.storchaka
日期 2012-06-30.16:35:39
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1341074080.9718.1.camel@localhost.localdomain>
In-reply-to <1341073449.28.0.370484594724.issue15216@psf.upfronthosting.co.za>
内容
> Would a "set_encoding" method be Pythonic? I would've preferred an
> "encoding" property which flushes the output when it's changed.

I would prefer to have a method. The side-effect is too violent to be
hidden behind a property.
Besides, you want to set encoding and errors in a single operation.
历史
日期 用户 动作 参数
2012-06-30 16:35:40pitrou修改recipients: + pitrou, ncoghlan, mrabarnett, Arfrever, serhiy.storchaka
2012-06-30 16:35:39pitrou链接issue15216 messages
2012-06-30 16:35:39pitrou创建