[issue25548] Show the address in the repr for class objects
Peter Eisentraut
report at bugs.python.org
Sat Jun 18 00:30:37 EDT 2016
Peter Eisentraut added the comment:
I understand the reasoning here, but I want to say booh to this change in 3.6.0a2 because it breaks my tests. It used to be that type(x) returned a predictable string, and that was an easy way to verify the result types of things.
Perhaps a __str__ implementation could be added that avoids the memory address?
----------
nosy: +petere
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25548>
_______________________________________
More information about the Python-bugs-list
mailing list