Message377764
I can't say how ElementTree works without more checking, but this solution cannot work in general. Given a pointer to an object that's in a list, how would you get to the next item? Say the parent list-like object has a C array of pointers to the objects it contains, and removing one of the objects re-shuffles that list. How would keeping a pointer to the current object help you?
In any event, I don't think this behavior is going to change. |
|
Date |
User |
Action |
Args |
2020-10-01 15:34:14 | eric.smith | set | recipients:
+ eric.smith, scoder, eli.bendersky, docs@python, serhiy.storchaka, WoodyWoo |
2020-10-01 15:34:14 | eric.smith | set | messageid: <1601566454.06.0.427697921166.issue41892@roundup.psfhosted.org> |
2020-10-01 15:34:14 | eric.smith | link | issue41892 messages |
2020-10-01 15:34:13 | eric.smith | create | |
|