[Python-Dev] please back out changeset f903cf864191 before alpha-2
Stephen J. Turnbull
stephen at xemacs.org
Sun Aug 25 09:30:44 CEST 2013
Eli Bendersky writes:
> On Sat, Aug 24, 2013 at 5:55 PM, Stephen J. Turnbull <stephen at xemacs.org> wrote:
>> FWIW, as somebody who can recall using ET exactly once,
>> IncrementalParser is what I used.
> Just to be on the safe side, I want to make sure that you indeed
> mean IncrementalParser, which was committed 4 months ago into the
> Mercurial default branch (3.4) and has only seen an alpha release?
> Eli
Oops, and thank you for your courtesy.
No, actually looking at the code this time, I meant
xml.sax.xmlreader.IncrementalParser, which has the same API as the new
etree.ElementTree.IncrementalParser. No wonder it seems familiar.
As for the suggestion, AIUI, you proposed keeping the current layering
of iterparse on top of IncrementalParser, and then removing
Incrementalparser from the documentation.
My suggestion is to rename the current "IncrementalParser" class, and
then use the IncrementalParser interface for what is currently named
"iterparse". Assuming that, as Stefan claims, data_received == feed,
and so on.
Steve
More information about the Python-Dev
mailing list