On 17/12/14 17:49, Dylan Baker wrote:
With one very minor nit,
Reviewed-by: Dylan Baker <dylanx.c.ba...@intel.com>

Thanks for the review.

On Wednesday, December 17, 2014 11:05:29 AM Jose Fonseca wrote:
From: José Fonseca <jfons...@vmware.com>

etree.XMLSyntaxError is only available with lxml.  etree.ParseError is
available everywhere.  For lxml, etree.XMLSyntaxError is a subclass of
etree.ParseError.

Actually, lxml.etree.ParseError is a subclass of
lxml.etree.XMLSyntaxError.

Really? Odd, `pydoc lxml.etree` shows otherwise:

$  pydoc lxml.etree
[...]
CLASSES
[...]
    exceptions.Exception(exceptions.BaseException)
        Error
            LxmlError
                C14NError
                DTDError
                    DTDParseError
                    DTDValidateError
                DocumentInvalid
                LxmlRegistryError
                    NamespaceRegistryError
                LxmlSyntaxError(LxmlError, exceptions.SyntaxError)
                    ParseError
                        XMLSyntaxError


Jose
_______________________________________________
Piglit mailing list
Piglit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to