[Python-3000] Types and classes

Guido van Rossum guido at python.org
Thu Apr 3 20:18:48 CEST 2008


On Thu, Apr 3, 2008 at 12:58 AM, "Martin v. Löwis" <martin at v.loewis.de> wrote:
> > All I really mean to fix is to standardize the terminology, especially
>  > in repr().
>
>  So you don't want to be called a wimp anymore ?-)

Indeed.

>  ------------------------------------------------------------------------
>  r23331 | gvanrossum | 2001-09-25 05:56:29 +0200 (Di, 25 Sep 2001) | 5 lines
>
>  Change repr() of a new-style class to say <class 'ClassName'> rather
>  than <type 'ClassName'>.  Exception: if it's a built-in type or an
>  extension type, continue to call it <type 'ClassName>.  Call me a
>  wimp, but I don't want to break more user code than necessary.
>
>  ------------------------------------------------------------------------

Well, if we're going to break user code, 3.0 is the time to do it. :-)

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


More information about the Python-3000 mailing list