Author eli.bendersky
Recipients Arfrever, effbot, eli.bendersky, eric.araujo, ezio.melotti, flox, scoder
Date 2012-02-11.08:08:56
SpamBayes Score 6.42664e-05
Marked as misclassified No
Message-id <1328947736.89.0.0896137937775.issue13988@psf.upfronthosting.co.za>
In-reply-to
Content
The more I think about it, the more the bootstrap code in _elementtree.c annoys me. It's the only instance of calling PyRun_String in Modules/ !

It's hackish and causes ugly import problems. If the C code needs stdlib functionality like copy.deepcopy, it should use PyImport_ImportModule like everyone else and not through a PyRun_String hack.

Since we've already decided to do some refactoring, I suggest all trace of the bootstrap is removed from _elementtree.c
History
Date User Action Args
2012-02-11 08:08:56eli.benderskysetrecipients: + eli.bendersky, effbot, scoder, ezio.melotti, eric.araujo, Arfrever, flox
2012-02-11 08:08:56eli.benderskysetmessageid: <1328947736.89.0.0896137937775.issue13988@psf.upfronthosting.co.za>
2012-02-11 08:08:56eli.benderskylinkissue13988 messages
2012-02-11 08:08:56eli.benderskycreate