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

2010-12-18 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed in 3.2 (r87368) and 3.1 (r87370), thanks for the patch! -- assignee: -> ezio.melotti resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker

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

2010-12-07 Thread Éric Araujo
Éric Araujo added the comment: Looks good to me. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

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

2010-12-06 Thread Daniel Urban
Daniel Urban added the comment: Okay, I found it :-) Here is a new patch, now with a test. -- Added file: http://bugs.python.org/file19966/issue5587b.diff ___ Python tracker ___

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

2010-12-05 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

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

2010-12-05 Thread Daniel Urban
Daniel Urban added the comment: > Thanks for the patch! Can you include also a test that verifies > that the repr is printed correctly? Sure. Where should I put the test? I didn't found any dict_proxy tests, except in test_descr.py ("# Classes don't allow __dict__ assignment and have readonly

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

2010-12-05 Thread Ezio Melotti
Ezio Melotti added the comment: Thanks for the patch! Can you include also a test that verifies that the repr is printed correctly? (You can take a look at #7310 if you want to see a possible approach.) -- ___ Python tracker

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

2010-12-05 Thread Daniel Urban
Daniel Urban 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: +du

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

2010-08-04 Thread David Stanek
David Stanek added the comment: A possible fix is to add a __repr__ implementation to proxydict. I've attached a patch and also posted it to: http://codereview.appspot.com/1908043. -- keywords: +patch nosy: +dstanek Added file: http://bugs.python.org/file18376/5587.patch _

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

2010-07-11 Thread Mark Lawrence
Mark Lawrence added the comment: Note that 2.7 output is the same as for 2.6. -- nosy: +BreamoreBoy stage: unit test needed -> needs patch ___ Python tracker ___

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

2010-01-15 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti priority: -> normal stage: -> test needed type: -> behavior versions: +Python 3.2 -Python 3.0 ___ Python tracker ___ __

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

2009-04-24 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- title: vars() no longer has a use __repr__ -> vars() no longer has a useful __repr__ ___ Python tracker ___