Anton Barkovsky <swarmer...@gmail.com> added the comment:

Here's a patch with fix and tests.

Note that class objects are not comparable and have the same type so they
fall back on sorting by id. Should we sort them by name as a special case 
instead?

----------
keywords: +patch
Added file: http://bugs.python.org/file26433/pprint_fix.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10017>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to