[issue13224] Change str(x) to return only the qualname for some types
Martin Panter
report at bugs.python.org
Thu Aug 6 02:15:52 CEST 2015
Martin Panter added the comment:
I’m a bit confused. In the current patch, the new type_str() function appears to use the “qualname” (which I support), but some of the test changes seem to contradict this, e.g.:
>>> C.foo(1)
-classmethod <class 'test.test_descrtut.C'> 1
+classmethod C 1
Also, I think this new feature should be documented.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13224>
_______________________________________
More information about the Python-bugs-list
mailing list