[Python-3000] Types and classes
Terry Reedy
tjreedy at udel.edu
Mon Apr 7 02:34:02 CEST 2008
"Guido van Rossum" <guido at python.org> wrote in message
news:ca471dc20804031118l30eae131i1487e46c19e55b56 at mail.gmail.com...
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. :-)
===============================
Could not find this in tracker, so http://bugs.python.org/issue2565
More information about the Python-3000
mailing list