Message119276
| Author |
eric.araujo |
| Recipients |
belopolsky, christian.heimes, eric.araujo, flox, georg.brandl, tim.peters |
| Date |
2010年10月21日.11:44:17 |
| SpamBayes Score |
4.820303e-05 |
| Marked as misclassified |
No |
| Message-id |
<1287661459.6.0.690933527263.issue10117@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
When working as a filter, reindent should use sys.{stdin,stdout}.encoding (defaulting to sys.getdefaultencoding()) for reading and writing, respectively. Detecting encoding on streams is not worth it IMO. People can set PYTHONIOENCODING for baroque needs. |
|