Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id E4BFFA5678 for ; Mon, 27 Jan 2014 19:09:03 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 5632D14A2E1; Mon, 27 Jan 2014 19:09:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 4E8EC14A2DB for ; Mon, 27 Jan 2014 19:08:51 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 6v1T9Odl1cRd for ; Mon, 27 Jan 2014 19:08:50 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 661B314A2D9 for ; Mon, 27 Jan 2014 19:08:50 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 5B9E796; Mon, 27 Jan 2014 19:08:50 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Mon, 27 Jan 2014 19:08:50 +0000 From: "Thomas Klausner" Subject: CVS commit: pkgsrc/textproc/py-lxml To: pkgsrc-changes@NetBSD.org Reply-To: wiz@netbsd.org X-Mailer: log_accum Message-Id: <20140127190850.5B9E796@cvs.netbsd.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk Module Name: pkgsrc Committed By: wiz Date: Mon Jan 27 19:08:50 UTC 2014 Modified Files: pkgsrc/textproc/py-lxml: Makefile distinfo Log Message: Update to 3.3.0: 3.3.0 (2014-01-26) ================== Bugs fixed ---------- * The heuristic that distinguishes file paths from URLs was tightened to produce less false negatives. 3.3.0beta5 (2014-01-18) ======================= Features added -------------- * The PEP 393 unicode parsing support gained a fallback for wchar strings which might still be somewhat common on Windows systems. Bugs fixed ---------- * Several error handling problems were fixed throughout the code base that could previously lead to exceptions being silently swallowed or not properly reported. * The C-API function ``appendChild()`` is now deprecated as it does not propagate exceptions (its return type is ``void``). The new function ``appendChildToElement()`` was added as a safe replacement. * Passing a string into ``fromstringlist()`` raises an exception instead of parsing the string character by character. Other changes ------------- * Document cleanup code was simplified using the new GC features in Cython 0.20. 3.3.0beta4 (2014-01-12) ======================= Bugs fixed ---------- * The (empty) value returned by the ``attrib`` property of Entity and Comment objects was mutable. * Element class lookup wasn't available for the new pull parsers or when using a custom parser target. * Setting Element attributes on instantiation with both the ``attrib`` argument and keyword arguments could modify the mapping passed as ``attrib``. * LP#1266171: DTDs instantiated from internal/external subsets (i.e. through the docinfo property) lost their attribute declarations. Other changes ------------- * Built with Cython 0.20pre (gitrev 012ae82eb) to prepare support for Python 3.4. 3.3.0beta3 (2014-01-02) ======================= Features added -------------- * Unicode string parsing was optimised for Python 3.3 (PEP 393). Bugs fixed ---------- * HTML parsing of Unicode strings could misdecode the input on some platforms. * Crash in xmlfile() when closing open elements out of order in an error case. 3.3.0beta2 (2013-12-20) ======================= Features added -------------- * ``iterparse()`` supports the ``recover`` option. Bugs fixed ---------- * Crash in ``iterparse()`` for HTML parsing. * Crash in target parsing with attributes. Other changes ------------- * The safety check in the read-only tree implementation (e.g. used by ``PythonElementClassLookup``) raises a more appropriate ``ReferenceError`` for illegal access after tree disposal instead of an ``AssertionError``. This should only impact test code that specifically checks the original behaviour. 3.3.0beta1 (2013-12-12) ======================= Features added -------------- * New option ``handle_failures`` in ``make_links_absolute()`` and ``resolve_base_href()`` (lxml.html) that enables ignoring or discarding links that fail to parse as URLs. * New parser classes ``XMLPullParser`` and ``HTMLPullParser`` for incremental parsing, as implemented for ElementTree in Python 3.4. * ``iterparse()`` enables recovery mode by default for HTML parsing (``html=True``). Bugs fixed ---------- * LP#1255132: crash when trying to run validation over non-Element (e.g. comment or PI). * Error messages in the log and in exception messages that originated from libxml2 could accidentally be picked up from preceding warnings instead of the actual error. * The ``ElementMaker`` in lxml.objectify did not accept a dict as argument for adding attributes to the element it's building. This works as in lxml.builder now. * LP#1228881: ``repr(XSLTAccessControl)`` failed in Python 3. * Raise ``ValueError`` when trying to append an Element to itself or to one of its own descendants, instead of running into an infinite loop. * LP#1206077: htmldiff discarded whitespace from the output. * Compressed plain-text serialisation to file-like objects was broken. * lxml.html.formfill: Fix textarea form filling. The textarea used to be cleared before the new content was set, which removed the name attribute. Other changes ------------- * Some basic API classes use freelists internally for faster instantiation. This can speed up some ``iterparse()`` scenarios, for example. * ``iterparse()`` was rewritten to use the new ``*PullParser`` classes internally instead of being a parser itself. 3.2.5 (2014-01-02) ================== Bugs fixed ---------- * Crash in xmlfile() when closing open elements out of order in an error case. * Crash in target parsing with attributes. * LP#1255132: crash when trying to run validation over non-Element (e.g. comment or PI). To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 pkgsrc/textproc/py-lxml/Makefile cvs rdiff -u -r1.12 -r1.13 pkgsrc/textproc/py-lxml/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.