[Python-Dev] Python in Unicode context

Guido van Rossum guido at python.org
Tue Aug 3 22:14:58 CEST 2004


> P.S. - Command line switch for command line switch :-), a switch for
> fully turning on the newer type system would be more productive than
> `-U', and put some pressure for refreshening the library in this area.
> Just curious, as I do not intend to volunteer in this area, is there
> something else than Exception in the Python internals that rely on
> old-style classes?

Probably not, but making Exception a new-style class won't be easy.

(It will also break code that creates a class used as an exception
that doesn't derive from Exception, but those should be shot. :-)

Until Exception is a new-style class, such a switch wouldn't really
work.

--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-Dev mailing list