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 r.david.murray
Recipients brechtm, eli.bendersky, r.david.murray, scoder
Date 2013-11-03.18:30:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1383503449.78.0.86570819013.issue19483@psf.upfronthosting.co.za>
In-reply-to
Content
Yes, you have to do the sys.modules set at the start of your application.

The python module is what gets imported, it is just that the C classes override some of the classes from the Python module when they are imported.  So no, there's no way to make the pure python available in cPython other than blocking the _elementtree import at application startup.

If you want to discuss changing this fact, it would be a broader discussion in the context of PEP 399, and should take place on the python-dev mailing list.
History
Date User Action Args
2013-11-03 18:30:49r.david.murraysetrecipients: + r.david.murray, scoder, eli.bendersky, brechtm
2013-11-03 18:30:49r.david.murraysetmessageid: <1383503449.78.0.86570819013.issue19483@psf.upfronthosting.co.za>
2013-11-03 18:30:49r.david.murraylinkissue19483 messages
2013-11-03 18:30:49r.david.murraycreate