Antoine Pitrou <pitrou at free.fr> added the comment: Marc-Andre, this patch should address your comments. Added file: http://bugs.python.org/file12656/decode6.patch _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue4868> _______________________________________