[issue11145] '%o' % user-defined instance
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>
More information about the Python-bugs-list