Message57582
I found the errror in my previous patch. It lacked a self.decode=.. line
in the StreamReader.decode elif branch.
I attach a replacement patch diff-u.py26_utf8sig (apply to the 2.6 version
of utf_8_sig.py. (If allowed, I will next remove the incorrect patch.)
This one passes test_codecs.py as well as my previously attached test
module.
The resulting utf_8_sig.py may benefit from further refctoring, but I
didn't want to do more than necessary to fix the immediate bug.
Regards,
..jim |
|
| Date |
User |
Action |
Args |
| 2007-11-16 04:50:10 | jgsack | set | spambayes_score: 0.0292036 -> 0.0292036 recipients:
+ jgsack, doerwalter |
| 2007-11-16 04:50:10 | jgsack | set | spambayes_score: 0.0292036 -> 0.0292036 messageid: <1195188610.09.0.527316712628.issue1444@psf.upfronthosting.co.za> |
| 2007-11-16 04:50:10 | jgsack | link | issue1444 messages |
| 2007-11-16 04:50:09 | jgsack | create | |
|