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 ezio.melotti
Recipients Arfrever, effbot, eli.bendersky, eric.araujo, ezio.melotti, flox, python-dev, scoder, tshepang
Date 2012-02-13.09:18:00
SpamBayes Score 3.5218406e-10
Marked as misclassified No
Message-id <1329124681.11.0.863913383831.issue13988@psf.upfronthosting.co.za>
In-reply-to
Content
FWIW the JSON doc doesn't even mention the acceleration module _json, but since people here are used to import cElementTree I think it should be mentioned that it's now deprecated and accelerations are used automatically, so something like this would work:

.. versionchanged:: 3.3
   The :mod:`xml.etree.cElementTree` module is now deprecated.
   A fast implementation will be used automatically whenever available.

I also agree with Éric that there's no need to mention _elementtree (people might try to import that instead, and other implementations might use a different name).

Lib/test/test_xml_etree_c.py could also be removed, and the other tests could import cElementTree too (even though I'm not sure that works too well with doctests).

Shouldn't cElementTree raise an error when _elementtree is missing?
A DeprecationWarning should be added too.
History
Date User Action Args
2012-02-13 09:18:01ezio.melottisetrecipients: + ezio.melotti, effbot, scoder, eric.araujo, Arfrever, eli.bendersky, flox, tshepang, python-dev
2012-02-13 09:18:01ezio.melottisetmessageid: <1329124681.11.0.863913383831.issue13988@psf.upfronthosting.co.za>
2012-02-13 09:18:00ezio.melottilinkissue13988 messages
2012-02-13 09:18:00ezio.melotticreate