[issue13224] Change str(x) to return only the (qual)name for some types

Éric Araujo report at bugs.python.org
Mon Feb 27 10:03:40 CET 2012


Éric Araujo <merwok at netwok.org> added the comment:

> Is your specific question whether it is okay that str(Counter.update) returns 'Counter.update'?
Yes, sorry if I was unclear.

> Yes, it is.  Same for Top.Nested.method.
Good!  I’ll commit soon.  I’ll make a note in Misc/NEWS, but I don’t think this should go to whatsnew or other doc, as it’s an implementation detail anyway (as discussed on the python-ideas thread).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13224>
_______________________________________


More information about the Python-bugs-list mailing list