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 akuchling, jait, phr, skip.montanaro
Date 2010-12-13.13:30:23
SpamBayes Score 7.2768007e-06
Marked as misclassified No
Message-id <1292247025.97.0.300585391382.issue469972@psf.upfronthosting.co.za>
In-reply-to
Content
> FWIW, (simple)json module serializes subclasses of builtin types
> just as expected.

Does that round trip properly?  For instance, if you serialize an
instance of a list subclass does it unserialize as a list instance
or as the subclass?

Perhaps JSON has some way of supporting a user-defined set of types.
XML-RPC has no way to do that, and feeding in an instance of a
subtype then getting the base type out on the other end was deemed
a bad thing.
History
Date User Action Args
2010-12-13 13:30:26skip.montanarosetrecipients: + skip.montanaro, akuchling, phr, jait
2010-12-13 13:30:25skip.montanarosetmessageid: <1292247025.97.0.300585391382.issue469972@psf.upfronthosting.co.za>
2010-12-13 13:30:23skip.montanarolinkissue469972 messages
2010-12-13 13:30:23skip.montanarocreate