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 pitrou
Recipients Arfrever, christian.heimes, eli.bendersky, ezio.melotti, flox, georg.brandl, pitrou, skrah
Date 2012-10-01.21:39:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Example of this is the following code in treebuilder_handle_start:

    if (this != Py_None) {
        if (element_add_subelement((ElementObject*) this, node) < 0)
            goto error;

(note the overly optimistic cast)

but this is really a pervasive problem, since in many places TreeBuilder is hard-wired to use a Element instance and nothing else (despite the element_factory).

Note that simpleTAL cannot use the _elementtree.Element class, since their subclass also inherits from an exception subclass, and the object layouts conflict with each other (yeah, crappy design).
Date User Action Args
2012-10-01 21:39:25pitrousetrecipients: + pitrou, georg.brandl, christian.heimes, ezio.melotti, Arfrever, eli.bendersky, skrah, flox
2012-10-01 21:39:24pitrousetmessageid: <>
2012-10-01 21:39:24pitroulinkissue16089 messages
2012-10-01 21:39:20pitroucreate