[issue1713041] fix for 1712742: corrects pprint's handling of 'depth'
Georg Brandl [EMAIL PROTECTED] added the comment: Okay, thank you all! Committed patch as r63164. -- resolution: - accepted status: open - closed _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1713041 _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1713041] fix for 1712742: corrects pprint's handling of 'depth'
Georg Brandl [EMAIL PROTECTED] added the comment: The test suite doesn't pass any longer when the patch is applied. -- nosy: +georg.brandl _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1713041 _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1713041] fix for 1712742: corrects pprint's handling of 'depth'
Rodrigo Bernardo Pimentel [EMAIL PROTECTED] added the comment: It seems that somewhere along the road between revision 55144 (where the first patch was generated) and current trunk (revision 63129), PrettyPrinter._format has stopped handling depth! I've attached a patch that fixes this, along with the fixes this issue originally proposed (including the tests and documentation updates). With this patch, unit tests and the documentation's doctests all pass. BTW, doctesting Doc/library/pprint.rst with optionflags=doctest.ELLIPSIS erroneously interprets pprint's '...' (indicating depth exceeded) as doctest ellipses! Testing without ELLIPSIS gives an error on output with something like [Recursion on list with id=...], testing with it hides errors. Ugh! -- nosy: +rbp -errebepe Added file: http://bugs.python.org/file10302/pprint-r63129.patch _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1713041 _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1713041] fix for 1712742: corrects pprint's handling of 'depth'
Raghuram Devarakonda added the comment: I was just searching for all my issues and found this one. Can some one please apply pprint.patch? Thanks. _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1713041 _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com