[issue5587] vars() no longer has a useful __repr__

Daniel Urban report at bugs.python.org
Sun Dec 5 16:33:24 CET 2010


Daniel Urban <urban.dani+py at gmail.com> added the comment:

Based on David Stanek's patch I've made a patch against the current py3k branch. The only difference is, that dict_proxy.__repr__ instead of simply returning the repr of the dict, returns approximately "dict_proxy({!r})".format(self.dict).

----------
nosy: +durban
Added file: http://bugs.python.org/file19949/issue5587.diff

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


More information about the Python-bugs-list mailing list