Message118804
| Author |
belopolsky |
| Recipients |
belopolsky |
| Date |
2010年10月15日.16:54:38 |
| SpamBayes Score |
1.8703814e-09 |
| Marked as misclassified |
No |
| Message-id |
<1287161682.26.0.892900314694.issue10117@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Tools/scripts/reindent.py -d Lib/test/encoded_modules/module_koi8_r.py
Traceback (most recent call last):
File "Tools/scripts/reindent.py", line 310, in <module>
main()
File "Tools/scripts/reindent.py", line 93, in main
check(arg)
File "Tools/scripts/reindent.py", line 114, in check
r = Reindenter(f)
File "Tools/scripts/reindent.py", line 162, in __init__
self.raw = f.readlines()
File "Lib/codecs.py", line 300, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xf0 in position 59: invalid continuation byte
Attached patch fixes this issue. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年10月15日 16:54:42 | belopolsky | set | recipients:
+ belopolsky |
| 2010年10月15日 16:54:42 | belopolsky | set | messageid: <1287161682.26.0.892900314694.issue10117@psf.upfronthosting.co.za> |
| 2010年10月15日 16:54:39 | belopolsky | link | issue10117 messages |
| 2010年10月15日 16:54:39 | belopolsky | create |
|