[Python-Dev] other "magic strings" issues

Fred L. Drake, Jr. fdrake at acm.org
Fri Nov 7 14:05:14 EST 2003


Guido van Rossum writes:
 > Anyway, I've been nearly convinced that the various constants should
 > be part of the str class.  But should corresponding constants be added
 > to the Unicode class???  Some would be very large.  If not, I'm less
 > convinced that they belong on the str class.

I'm happy for them to stay where they are.

 > Also, perhaps the locale-dependent variables should perhaps be moved
 > into the locale module?  That would avoid the Unicode question above,
 > because the locale module doesn't apply to Unicode.

+1


  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at acm.org>
PythonLabs at Zope Corporation



More information about the Python-Dev mailing list