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 effbot, eli.bendersky, ezio.melotti, flox, scoder
Date 2012-02-10.16:46:24
SpamBayes Score 4.5537568e-06
Marked as misclassified No
Message-id <1328892384.82.0.513733843252.issue13988@psf.upfronthosting.co.za>
In-reply-to
Content
> In xml/etree there is:
> - ElementTree: tries to import cElementTree. On success, done. On
>   ImportError, imports pyElementTree
> - pyElementTree: the pure Python implementation
> - cElementTree: sets up the bootstrap Python code and tries to import
>   _elementtree. In case of an error, propagates an ImportError up.

What I had in mind is more like:
 - ElementTree: defines the python code and if _elementtree is available overrides part of it with the functions imported from it;
 - cElementTree: at this point it could just be a deprecated alias for ElementTree
History
Date User Action Args
2012-02-10 16:46:24ezio.melottisetrecipients: + ezio.melotti, effbot, scoder, eli.bendersky, flox
2012-02-10 16:46:24ezio.melottisetmessageid: <1328892384.82.0.513733843252.issue13988@psf.upfronthosting.co.za>
2012-02-10 16:46:24ezio.melottilinkissue13988 messages
2012-02-10 16:46:24ezio.melotticreate