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, flox, jcea, ncoghlan, python-dev, scoder
Date 2013-08-25.15:16:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1377443767.04.0.103309700474.issue17741@psf.upfronthosting.co.za>
In-reply-to
Content
Actually, let me revise my rpevious comment. I think we should fake the new interface for now by adding a TreeEventBuilder that requires having its own TreeBuilder internally, instead of wrapping an arbitrary target. That way, we can avoid having to clean up the existing dependency of the C parser on the C-level TreeBuilder implementation.

Once this cleanup gets done, we can add the support for wrapping user defined targets as a feature.

So, basically, I propose to take the route that my TreeEventBuilder patch went, just with a simplified implementation. I'll see if I can cut down the patch to those essentials.

Would you be ok with something that uses the isinstance() hack in the parser?
History
Date User Action Args
2013-08-25 15:16:07scodersetrecipients: + scoder, jcea, ncoghlan, eli.bendersky, flox, python-dev
2013-08-25 15:16:07scodersetmessageid: <1377443767.04.0.103309700474.issue17741@psf.upfronthosting.co.za>
2013-08-25 15:16:07scoderlinkissue17741 messages
2013-08-25 15:16:06scodercreate