You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Change 'type' to 'class' in repr/str(builtin-class) #46817
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>.
------------------------------------------------------------------------
Well, if we're going to break user code, 3.0 is the time to do it. :-)
Activity
terryjreedy commentedon Apr 7, 2008
From py3 devel list today:
------------------------------------------------------------------------
loewis commentedon Apr 7, 2008
So which one should it be: type or class?
terryjreedy commentedon Apr 7, 2008
Finish the change from 'type' to 'class'
(See carefully written title ;-)
loewis commentedon Apr 7, 2008
This is now fixed in r62203.