Re: [Python-Dev] Use of coding cookie in 3.x stdlib

2010-07-19 Thread Alexander Belopolsky
On Mon, Jul 19, 2010 at 2:45 AM, Guido van Rossum wrote: > Sounds like a good idea to try to remove redundant cookies *and* to > remove most occasional use of non-ASCII characters outside comments. ... Please see http://bugs.python.org/issue9308 . I am going to post a patch shortly.

Re: [Python-Dev] Use of coding cookie in 3.x stdlib

2010-07-18 Thread Guido van Rossum
Sounds like a good idea to try to remove redundant cookies *and* to remove most occasional use of non-ASCII characters outside comments (except for unittests specifically trying to test Unicode features). Personally I would use \xXX escapes instead of spelling out the characters in shlex.py, for ex