[issue13224] Change str(class) to return only the class name

Éric Araujo report at bugs.python.org
Fri Oct 21 15:29:41 CEST 2011


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

I would argue that the previous behavior of str(class) was undefined, or an implementation detail; as a new feature, my patch can break some code that relied on the previous behavior, but we may judge think it’s worth the cost.

BTW, doctest is inherently fragile and broken by many changes, so I’m not too concerned about it.

----------

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


More information about the Python-bugs-list mailing list