This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author skip.montanaro
Recipients
Date 2007-02-11.19:14:28
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Martin,

I'm returning to this after a pause as well...  Suppose I have a subclass of dict.  When dumping with
my proposed patch it will get dumped as a list.  If it is to be dumped as some lowest common
denominator type, it should be a dict I think.  For example:

#!/usr/bin/env python

class D(dict):
    pass

d = D(x=1, y=2, z=3)
print d
print list(d)

Until we address is case (at least) I'm un-accepting the patch...

Skip
History
Date User Action Args
2007-08-23 15:44:53adminlinkissue1374063 messages
2007-08-23 15:44:53admincreate