[Python-Dev] Pickling in XML format
Guido van Rossum
Wed, 07 Aug 2002 20:21:35 -0400
> Do you guys have any thoughts on the merits of adding dumpXML and
> loadXML methods to the pickle module?
That doesn't belong in the pickle module. An XML format to store
Python-specific data structures doesn't make sense. Storing data
in XML makes total sense, but should probably be guided by some XML
standard and not by the set of data types that happen to be available
in Python. Put it in the xml module.
Note that xmlrpclib.py already has a way to do this, for the data
types supported by XMLRPC.
--Guido van Rossum (home page: http://www.python.org/~guido/)