New submission from Raymond Hettinger <rhettin...@users.sourceforge.net>:
The vars() builtin now returns a hard to view object. Formerly, it had a useful __repr__. Python 3.1a1 >>> class A: pass >>> vars(A) <dict_proxy object at 0x0131FE70> IDLE 2.6.1 >>> class A: pass >>> vars(A) {'__module__': '__main__', '__doc__': None} ---------- components: Interpreter Core messages: 84315 nosy: rhettinger severity: normal status: open title: vars() no longer has a use __repr__ versions: Python 3.0, Python 3.1 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5587> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com