[Distutils] PEP 241 draft
Andrew Kuchling
akuchlin@mems-exchange.org
Tue Mar 13 15:07:01 2001
On Tue, Mar 13, 2001 at 12:45:41PM -0500, Brad Clements wrote:
>Couldn't distutils include a very tiny "xml generator" that writes out the data in XML
>format, rather than this ancient rfc822 form?
This could equally be done by people who need the XML form; it would
be a few lines of code:
metadata = rfc822.Message(open('METADATA'))
print "<root><name>%s</name>..." % (metadata['name'], ...)
Since the RFC-822 parser is already written, we don't gain anything by
having to write a SAX or xmllib handler... *unless* someone shows that
we need the ability of XML to encode full-blown trees. I currently
believe we don't need that, but will listen to a good argument.
--amk