[Python-3000] PEP 3137 plan of attack

Jim Jewett jimjjewett at gmail.com
Wed Oct 17 02:40:01 CEST 2007


On 10/15/07, Guido van Rossum <guido at python.org> wrote:
> There's one thing that I forgot to add to PEP 3137. It's the removal
> of the basestring type. I think this is a reasonable thing to do.
> Christian Heimes has a patch that does this cleanly. Anyone objecting,
> please speak up now!

I don't like replacing the abstract basestring with a concrete type in
isinstance checks.  I agree that the right answer is something in ABC,
which may not need to be a builtin.

Does tearing out basestring before adding that "something" (String?)
cause any problems?

-jJ


More information about the Python-3000 mailing list