Message293653
| Author |
scoder |
| Recipients |
benjamin.peterson, eli.bendersky, scoder, serhiy.storchaka |
| Date |
2017年05月14日.15:59:15 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1494777555.58.0.840491614584.issue30365@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Looks good to me (didn't test it).
Note that getchildren() is not deprecated in lxml because it's actually the fastest way to build a list of the children. It's faster than list(element) because it avoids the Python (C-level) iteration overhead. However, that probably wouldn't be substantial enough to merit adding it if it wasn't there already. I'm ok with deprecating the method in ET. It's redundant there. |
|