New submission from Terry J. Reedy <[EMAIL PROTECTED]>: >From py3 devel list today: ------------------------------------------------------------------------ > 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>. ------------------------------------------------------------------------ Well, if we're going to break user code, 3.0 is the time to do it. :-)
---------- components: Extension Modules, Interpreter Core keywords: easy messages: 65058 nosy: tjreedy severity: normal status: open title: Change 'type' to 'class' in repr/str(builtin-class) type: behavior versions: Python 3.0 __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2565> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com