[issue9308] Remove redundant coding cookies from 3.x stdlib

Alexander Belopolsky report at bugs.python.org
Tue Jul 20 00:50:45 CEST 2010

Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:

On Mon, Jul 19, 2010 at 4:33 PM, Éric Araujo <report at bugs.python.org> wrote:
> The shlex fix was reverted IIRC because Mark was unsure of the fix, since our diff tools
> try to be too clever and decode files, not showing us the bytes differences.

Well, it is not clear what wordchars should be in shlex.  I would
think (c in wordchar) should be the same as (c.isalnum() or c == '_'),
but there are only 62 characters added  added in in posix mode:


while according to str.isalnum(), three are 71 alphanumeric characters
at code points between 128 and 255:


I don't know what POSIX definition of word character is.


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list