homepage

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 eli.bendersky
Recipients effbot, eli.bendersky, eric.araujo, ezio.melotti, flox, scoder
Date 2012年02月11日.04:05:58
SpamBayes Score 4.1157782e-05
Marked as misclassified No
Message-id <1328933160.4.0.295458153774.issue13988@psf.upfronthosting.co.za>
In-reply-to
Content
Florent, thanks for the patch - at this point code is more useful than talk :-)
Anyhow, I tried to apply it and a few tests in test_xml_etree_c fail, because it can't find fromstring and fromstringlist. This gets fixed when I import fromstringlist in cElementTree.py from ElementTree, and in the same file assign:
 fromstring = XML
Which is similar to what ElementTree itself does.
In general, I agree that a good first step would be to refactor the code to extract the boostrapping from _elementtree.c to cElementTree.py. As long as the tests pass, this can be committed regardless of this issue's original intent.
However, why did you leave some bootstrapping code inside? Can't all of it go away?
History
Date User Action Args
2012年02月11日 04:06:00eli.benderskysetrecipients: + eli.bendersky, effbot, scoder, ezio.melotti, eric.araujo, flox
2012年02月11日 04:06:00eli.benderskysetmessageid: <1328933160.4.0.295458153774.issue13988@psf.upfronthosting.co.za>
2012年02月11日 04:05:59eli.benderskylinkissue13988 messages
2012年02月11日 04:05:58eli.benderskycreate

AltStyle によって変換されたページ (->オリジナル) /