[issue3976] pprint._safe_repr is not general enough in one instance
Rodrigo Bernardo Pimentel
report at bugs.python.org
Fri Oct 8 21:00:40 CEST 2010
Rodrigo Bernardo Pimentel <rbp at isnomore.net> added the comment:
Armin: this has the problem that, if the object you're trying to compare is a class, self.obj.__lt__ expects a different number of parameters (i.e., it expects the instance). See issue 10017 . Testing with "<" works.
----------
nosy: +rbp
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3976>
_______________________________________
More information about the Python-bugs-list
mailing list