lxml.html interface for iterparse?
Bug #1932486 reported by
danny0838
This bug affects 1 person
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| lxml |
Triaged
|
Low
|
Unassigned | ||
Bug Description
I am parsing an HTML using iterparse. However, the returned element in each iteration does not implement the interface of lxml.html (https:/
Is there a way to parse an HTML iteratively like iterparse with lxml.html interface supported?

Seems a reasonable addition that should be trivial to add. PR welcome. Tests can go into a new file "test_parser.py" in "src/lxml/ html/tests/ ".