[Python-Dev] other "magic strings" issues

Martin v. Löwis martin at v.loewis.de
Fri Nov 7 14:15:30 EST 2003


"Raymond Hettinger" <python at rcn.com> writes:

> > Hm, I'd forgotten about ascii_letters.  It would make a beautiful
> > class attribute of str.
> 
> The problem with ascii_letters is that it is not constant.  Depending on
> the startup, it can optionally replace the usual definition with that
> provided by strop.lowercase.

Can you give an example?

Regards,
Martin



More information about the Python-Dev mailing list