[Python-Dev] other "magic strings" issues

Martin v. Löwis martin at v.loewis.de
Fri Nov 7 16:16:32 EST 2003


Alex Martelli <aleaxit at yahoo.com> writes:

> Very interesting!  To me, this suggests fixing this performance bug
> -- there is no reason that I can see why the .is* methiods should be
> _slower_.  Would a performance bugfix (no implementation change,
> just a speedup) be OK for 2.3.3, I hope?

Yes, but I doubt you do much about it. I also fail to see how it is
relevant to ascii_letters. .islower is locale-aware, so it is your C
library which does the bulk of the work.

Regards,
Martin



More information about the Python-Dev mailing list