[issue11145] '%o' % user-defined instance

Armin Rigo report at bugs.python.org
Wed Feb 9 11:49:56 CET 2011


Armin Rigo <arigo at users.sourceforge.net> added the comment:

Eric: that's wrong, it is a magic method.  See for example "__oct__" in Objects/typeobject.c.  I'm not sure I understand why you would point this out, though.  A "SystemError: bad argument to internal function" or an "Assertion failed" are both bugs anyway.

----------

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


More information about the Python-bugs-list mailing list