[Python-3000] Four new failing tests

Greg Ewing greg.ewing at canterbury.ac.nz
Sun Aug 12 04:42:26 CEST 2007


Martin v. Löwis wrote:
> So I see the following options:
> 1. remove it entirely. Keep string.ascii_letters instead

I'd vote for this one. The only major use case for
string.letters I can see is testing whether something
is a letter using 'c in letters'. This obviously
doesn't scale when there can be thousands of letters,
and a function for testing letterness covers that use
case just as well.

The only other thing you might want to do is iterate
over all the possible letters, and that doesn't scale
either.

--
Greg


More information about the Python-3000 mailing list