Eli Bendersky writes:
 > On Sat, Aug 24, 2013 at 5:55 PM, Stephen J. Turnbull <step...@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


_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to