A Freudian slip of *EPIC PROPORTIONS*!

Terry Reedy tjreedy at udel.edu
Thu Nov 13 19:34:36 EST 2014


On 11/13/2014 6:11 PM, Rick Johnson wrote:

>      # The parse functions have no idea what to do with
>      # Unicode, so replace all Unicode characters with "x".
>      # This is "safe" so long as the only characters germane
>      # to parsing the structure of Python are 7-bit ASCII.
>      # It's *necessary* because Unicode strings don't have a
>      # .translate() method that supports deletechars.
>      uniphooey = str

It is customary to attribute quotes to their source.  This is from 2.x 
Lib/idlelib/PyParse.py.  The file was committed (and probably written) 
by David Scherer 2000-08-15.  Edits for unicode, including the above, 
were committed (and perhaps written) by Kurt B. Kaiser on 2001-07-13.

I doubt GvR ever saw this code.  I expect KBK has changed opinions with 
respect to unicode in 13 years, as has most everyone else.

-- 
Terry Jan Reedy




More information about the Python-list mailing list