Alexander Belopolsky <belopol...@users.sourceforge.net> added the comment:
In the attached patch, I've removed encoding cookies in all files listed in the message above except >> Lib/test/bad_coding.py:# -*- coding: uft-8 -*- >> Lib/test/badsyntax_3131.py:# -*- coding: utf-8 -*- >> Lib/shlex.py:# -*- coding: iso-8859-1 -*- The bad_coding contains bad encoding cookie which is being tested, in badsyntax_3131, the cookie could be removed, but I think it clarifies the meaning of the file. It can probably be replaced with a comment explaining what is being tested. The shlex.py was reverted in r82560, so I am not touching it, but I suspect that the logic used to build wordchars is not correct on systems supporting unicode. I am adding Peter Åstrand to "nosy" because his name was miscoded in Lib/getopt.py and I fixed it by copying from Misc/ACKS. ---------- keywords: +patch nosy: +astrand stage: needs patch -> commit review Added file: http://bugs.python.org/file18067/issue9308.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9308> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com