Message164398
| 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. |
|