[Python-Dev] Status of XML fixes

Glenn Linderman v+python at g.nevcal.com
Mon Mar 18 05:16:57 CET 2013


On 3/17/2013 8:48 PM, Barry Warsaw wrote:
> On Mar 17, 2013, at 05:37 PM, Christian Heimes wrote:
>
>> Any attempt to fix the XML issues *will* change the behavior of the
>> library and result into an incompatibility with older releases. Benjamin
>> doesn't want to change the behavior of our XML libraries. IIRC Georg and
>> Barry are +0. I think that we should keep the current and unsafe
>> settings as default and add a simmple API to enable limitations and
>> protections.
> I strongly believe that the decision must be the same for all stable versions.
> We can't impose the madness of version checks on people for them to know what
> to do.

try:
    newSimpleXMLAPI()
    newapi = True
except Exception:
    newapi = False
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20130317/a99c1a74/attachment.html>


More information about the Python-Dev mailing list