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 pitrou
Recipients Arfrever, mrabarnett, ncoghlan, pitrou, serhiy.storchaka
Date 2012-06-30.16:35:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1341074080.9718.1.camel@localhost.localdomain>
In-reply-to <1341073449.28.0.370484594724.issue15216@psf.upfronthosting.co.za>
Content
> 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.
History
Date User Action Args
2012-06-30 16:35:40pitrousetrecipients: + pitrou, ncoghlan, mrabarnett, Arfrever, serhiy.storchaka
2012-06-30 16:35:39pitroulinkissue15216 messages
2012-06-30 16:35:39pitroucreate