[issue4113] Add custom __repr__ to functools.partial

Éric Araujo report at bugs.python.org
Wed Dec 1 21:34:00 CET 2010


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

I think the main purpose of repr is debugging, so I’d favor the unambiguous form (with the id) to the nice-looking one (module.name).

----------

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


More information about the Python-bugs-list mailing list