Aahz wrote:

>>It's not clear to me that if marshal is unsafe how XML could be safe.  In
>>this context they are both just serializations of basic Python data
>>structures.
>
> The difference is that parsing XML -- even badly malformed -- won't
> crash Python.

optimist.

>>> import os
>>> os.path.getsize("BL.xml")
1302
>>> from xml.dom import minidom
>>> x = minidom.parse("BL.xml")

(have patience.  have lots of patience.)

</F>



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to