This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author scoder
Recipients eli.bendersky, jcea, jkloth, scoder
Date 2013-09-03.09:21:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1378200073.67.0.663559356339.issue18902@psf.upfronthosting.co.za>
In-reply-to
Content
> This would make it possible to layer XMLPullParser on top of the stock XMLParser coupled with a special target that collects "events" from the callback calls.

Given that we have an XMLPullParser now, I think we should not clutter the API with more classes that do not add anything more than making other classes redundant. So, -1 on adding a special target that collects events. Anyone who wants to use that feature can just use the XMLPullParser.

In the Python implementation of that parser, custom targets can already be allowed right now. Only the C implementation prevents it currently (AFAICT) as it has its own built-in TreeBuilder target.

Therefore, +1 for the general cleanup to properly allow arbitrary targets as backend.

Also, +1 for allowing start-ns and end-ns event callbacks on parser targets, although that's a different feature entirely.
History
Date User Action Args
2013-09-03 09:21:13scodersetrecipients: + scoder, jcea, jkloth, eli.bendersky
2013-09-03 09:21:13scodersetmessageid: <1378200073.67.0.663559356339.issue18902@psf.upfronthosting.co.za>
2013-09-03 09:21:13scoderlinkissue18902 messages
2013-09-03 09:21:12scodercreate