8f0b66
%global modname lxml
8f0b66
8f0b66
%bcond_with python2
8f0b66
8f0b66
Name:           python-%{modname}
8f0b66
Version:        4.4.1
e9f73a
Release:        7%{?dist}
8f0b66
Summary:        XML processing library combining libxml2/libxslt with the ElementTree API
8f0b66
8f0b66
License:        BSD
8f0b66
URL:            https://github.com/lxml/lxml
8f0b66
Source0:        https://lxml.de/files/%{modname}-%{version}.tgz
8f0b66
ee1835
# Fix for CVE-2020-27783: mXSS due to the use of improper parser
ee1835
# Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1901633
ee1835
# Two upstream commits combined:
ee1835
#   Version 4.6.1: https://github.com/lxml/lxml/commit/89e7aad6e7ff9ecd88678ff25f885988b184b26e
ee1835
#   Version 4.6.2: https://github.com/lxml/lxml/commit/a105ab8dc262ec6735977c25c13f0bdfcdec72a7
ee1835
Patch0:         CVE-2020-27783.patch
ee1835
567b75
# Fix for CVE-2021-28957: missing input sanitization
567b75
# for formaction HTML5 attributes which may lead to XSS
567b75
# Fixed upstream: https://github.com/lxml/lxml/commit/2d01a1ba8984e0483ce6619b972832377f208a0d
567b75
Patch1: CVE-2021-28957.patch
567b75
e9f73a
# Fix for CVE-2021-43818: HTML Cleaner allows crafted
e9f73a
# and SVG embedded scripts to pass through
e9f73a
# Fixed upstream:
e9f73a
# https://github.com/lxml/lxml/commit/12fa9669007180a7bb87d990c375cf91ca5b664a
e9f73a
# https://github.com/lxml/lxml/commit/f2330237440df7e8f39c3ad1b1aa8852be3b27c0
e9f73a
Patch2: CVE-2021-43818.patch
e9f73a
8f0b66
# Exclude i686 arch. Due to a modularity issue it's being added to the
8f0b66
# x86_64 compose of CRB, but we don't want to ship it at all.
8f0b66
# See: https://projects.engineering.redhat.com/browse/RCM-72605
8f0b66
ExcludeArch: i686
8f0b66
8f0b66
BuildRequires:  gcc
8f0b66
BuildRequires:  libxml2-devel
8f0b66
BuildRequires:  libxslt-devel
8f0b66
8f0b66
%global _description \
8f0b66
lxml is a Pythonic, mature binding for the libxml2 and libxslt libraries. It\
8f0b66
provides safe and convenient access to these libraries using the ElementTree It\
8f0b66
extends the ElementTree API significantly to offer support for XPath, RelaxNG,\
8f0b66
XML Schema, XSLT, C14N and much more.To contact the project, go to the project\
8f0b66
home page < or see our bug tracker at case you want to use the current ...
8f0b66
8f0b66
%description %{_description}
8f0b66
8f0b66
%package -n     python%{python3_pkgversion}-%{modname}
8f0b66
Summary:        %{summary}
8f0b66
BuildRequires:  python%{python3_pkgversion}-devel
8f0b66
BuildRequires:  python%{python3_pkgversion}-setuptools
8f0b66
BuildRequires:  python%{python3_pkgversion}-Cython
8f0b66
BuildRequires:  python%{python3_pkgversion}-rpm-macros
8f0b66
Suggests:       python%{python3_version}dist(cssselect) >= 0.7
8f0b66
Suggests:       python%{python3_version}dist(html5lib)
8f0b66
Suggests:       python%{python3_version}dist(beautifulsoup4)
8f0b66
%{?python_provide:%python_provide python%{python3_pkgversion}-%{modname}}
8f0b66
8f0b66
%description -n python%{python3_pkgversion}-%{modname} %{_description}
8f0b66
8f0b66
Python 3 version.
8f0b66
8f0b66
%prep
ee1835
%autosetup -p1 -n %{modname}-%{version}
8f0b66
# Remove pregenerated Cython C sources
8f0b66
find -type f -name '*.c' -print -delete
8f0b66
8f0b66
%build
e9f73a
export WITH_CYTHON=true
e9f73a
%py3_build
8f0b66
8f0b66
%install
8f0b66
%py3_install
8f0b66
8f0b66
%check
e9f73a
# The tests assume inplace build, so we copy the built library to source-dir.
e9f73a
# If not done that, Python can either import the tests or the extension modules, but not both.
e9f73a
cp -a build/lib.%{python3_platform}-%{python3_version}/* src/
e9f73a
# The options are: verbose, unit, functional
e9f73a
%{python3} test.py -vuf
8f0b66
8f0b66
%files -n python%{python3_pkgversion}-%{modname}
8f0b66
%license doc/licenses/ZopePublicLicense.txt LICENSES.txt
8f0b66
%doc README.rst src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt
8f0b66
%{python3_sitearch}/%{modname}/
8f0b66
%{python3_sitearch}/%{modname}-*.egg-info/
8f0b66
8f0b66
%changelog
e9f73a
* Thu Jan 06 2022 Charalampos Stratakis <cstratak@redhat.com> - 4.4.1-7
e9f73a
- Security fix for CVE-2021-43818
e9f73a
Resolves: rhbz#2032569
e9f73a
567b75
* Wed Mar 24 2021 Charalampos Stratakis <cstratak@redhat.com> - 4.4.1-6
567b75
- Security fix for CVE-2021-28957
567b75
Resolves: rhbz#1941534
567b75
ee1835
* Thu Dec 03 2020 Lumír Balhar <lbalhar@redhat.com> - 4.4.1-5
ee1835
- Security fix for CVE-2020-27783: mXSS due to the use of improper parser
ee1835
Resolves: rhbz#1901633
ee1835
8f0b66
* Thu Dec 12 2019 Tomas Orsava <torsava@redhat.com> - 4.4.1-4
8f0b66
- Exclude unsupported i686 arch
8f0b66
8f0b66
* Wed Nov 20 2019 Lumír Balhar <lbalhar@redhat.com> - 4.4.1-3
8f0b66
- Adjusted for Python 3.8 module in RHEL 8
8f0b66
8f0b66
* Sat Sep 07 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.4.1-2
8f0b66
- Generate C files using py3 Cython
8f0b66
8f0b66
* Sat Sep 07 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.4.1-1
8f0b66
- Update to 4.4.1
8f0b66
8f0b66
* Fri Aug 16 2019 Miro Hrončok <mhroncok@redhat.com> - 4.4.0-2
8f0b66
- Rebuilt for Python 3.8
8f0b66
8f0b66
* Sat Aug 03 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.4.0-1
8f0b66
- Update to 4.4.0
8f0b66
8f0b66
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.5-3
8f0b66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
8f0b66
8f0b66
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.5-2
8f0b66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
8f0b66
8f0b66
* Tue Dec 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.2.5-1
8f0b66
- Update to 4.2.5
8f0b66
8f0b66
* Sun Sep 02 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.2.4-1
8f0b66
- Update to 4.2.4
8f0b66
8f0b66
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.3-2
8f0b66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
8f0b66
8f0b66
* Sat Jul 07 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.2.3-1
8f0b66
- Update to 4.2.3
8f0b66
8f0b66
* Sun Jun 17 2018 Miro Hrončok <mhroncok@redhat.com> - 4.2.1-2
8f0b66
- Rebuilt for Python 3.7
8f0b66
8f0b66
* Wed Apr 25 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.2.1-1
8f0b66
- Update to 4.2.1
8f0b66
8f0b66
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.1-2
8f0b66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
8f0b66
8f0b66
* Sun Nov 05 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.1.1-1
8f0b66
- Update to 4.1.1
8f0b66
8f0b66
* Tue Oct 10 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.0.0-2
8f0b66
- Conditionally allow building without Cython
8f0b66
8f0b66
* Thu Oct 05 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.0.0-1
8f0b66
- Update to 4.0.0
8f0b66
8f0b66
* Sat Aug 12 2017 Kevin Fenzi <kevin@scrye.com> - 3.8.0-1
8f0b66
- Update to 3.8.0. Fixes bug #1458529
8f0b66
8f0b66
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.2-4
8f0b66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
8f0b66
8f0b66
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.2-3
8f0b66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
8f0b66
8f0b66
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.2-2
8f0b66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
8f0b66
8f0b66
* Mon Jan 09 2017 Fabio Alessandro Locati <fale@fedoraproject.org> - 3.7.2-1
8f0b66
- Update to 3.7.2
8f0b66
8f0b66
* Sun Dec 25 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 3.7.1-1
8f0b66
- Update to 3.7.1
8f0b66
8f0b66
* Tue Dec 13 2016 Stratakis Charalampos <cstratak@redhat.com> - 3.7.0-2
8f0b66
- Rebuild for Python 3.6
8f0b66
8f0b66
* Sun Dec 11 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 3.7.0-1
8f0b66
- Update to 3.7.0
8f0b66
8f0b66
* Thu Sep 08 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 3.6.4-1
8f0b66
- Update to 3.6.4
8f0b66
8f0b66
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.4-5
8f0b66
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
8f0b66
8f0b66
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.4-4
8f0b66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
8f0b66
8f0b66
* Thu Jan 21 2016 Dan Horák <dan[at]danny.cz> - 3.4.4-3
8f0b66
- fix conditional
8f0b66
8f0b66
* Fri Nov 06 2015 Robert Kuska <rkuska@redhat.com> - 3.4.4-2
8f0b66
- Rebuilt for Python3.5 rebuild
8f0b66
8f0b66
* Fri Aug 28 2015 Peter Robinson <pbrobinson@fedoraproject.org> 3.4.4-1
8f0b66
- Update to 3.4.4
8f0b66
- Use %%license, cleanup spec
8f0b66
8f0b66
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.6-2
8f0b66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
8f0b66
8f0b66
* Fri Aug 29 2014 Jeffrey C. Ollie <jeff@ocjtech.us> - 3.3.6-1
8f0b66
- 3.3.6 (2014-08-28)
8f0b66
- ==================
8f0b66
-
8f0b66
- Bugs fixed
8f0b66
- ----------
8f0b66
-
8f0b66
- * Prevent tree cycle creation when adding Elements as siblings.
8f0b66
-
8f0b66
- * LP#1361948: crash when deallocating Element siblings without parent.
8f0b66
-
8f0b66
- * LP#1354652: crash when traversing internally loaded documents in XSLT
8f0b66
-   extension functions.
8f0b66
8f0b66
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
8f0b66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
8f0b66
8f0b66
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.5-3
8f0b66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
8f0b66
8f0b66
* Wed May 14 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 3.3.5-2
8f0b66
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
8f0b66
8f0b66
* Mon Apr 28 2014 Jeffrey Ollie <jeff@ocjtech.us> - 3.3.5-1
8f0b66
- 3.3.5 (2014-04-18)
8f0b66
- ==================
8f0b66
-
8f0b66
- Bugs fixed
8f0b66
- ----------
8f0b66
-
8f0b66
- * HTML cleaning could fail to strip javascript links that mix control
8f0b66
-   characters into the link scheme.
8f0b66
8f0b66
* Mon Apr 28 2014 Jeffrey Ollie <jeff@ocjtech.us> - 3.3.4-1
8f0b66
- 3.3.4 (2014-04-03)
8f0b66
- ==================
8f0b66
-
8f0b66
- Features added
8f0b66
- --------------
8f0b66
-
8f0b66
- * Source line numbers above 65535 are available on Elements when
8f0b66
-   using libxml2 2.9 or later.
8f0b66
-
8f0b66
- Bugs fixed
8f0b66
- ----------
8f0b66
-
8f0b66
- * lxml.html.fragment_fromstring() failed for bytes input in Py3.
8f0b66
8f0b66
* Wed Mar 26 2014 Jeffrey Ollie <jeff@ocjtech.us> - 3.3.3-4
8f0b66
- Fix macro definition
8f0b66
8f0b66
* Wed Mar 26 2014 Jeffrey Ollie <jeff@ocjtech.us> - 3.3.3-3
8f0b66
- Add python3-cssselect to correct package
8f0b66
8f0b66
* Mon Mar 24 2014 Jeffrey Ollie <jeff@ocjtech.us> - 3.3.3-3
8f0b66
- python3-cssselect is not available on F19
8f0b66
8f0b66
* Mon Mar 24 2014 Jeffrey Ollie <jeff@ocjtech.us> - 3.3.3-2
8f0b66
- BZ#1075070  add requires and buildrequires for cssselect
8f0b66
8f0b66
* Tue Mar 11 2014 Jeffrey Ollie <jeff@ocjtech.us> - 3.3.3-1
8f0b66
- 3.3.3 (2014-03-04)
8f0b66
- ==================
8f0b66
-
8f0b66
- Bugs fixed
8f0b66
- ----------
8f0b66
-
8f0b66
- * LP#1287118: Crash when using Element subtypes with ``__slots__``.
8f0b66
-
8f0b66
- Other changes
8f0b66
- -------------
8f0b66
-
8f0b66
- * The internal classes ``_LogEntry`` and ``_Attrib`` can no longer be
8f0b66
-   subclassed from Python code.
8f0b66
8f0b66
* Tue Mar 11 2014 Alexander Todorov <atodorov@redhat.com> - 3.3.2-2
8f0b66
- Add check section #1075070
8f0b66
8f0b66
* Fri Feb 28 2014 Jeffrey Ollie <jeff@ocjtech.us> - 3.3.2-1
8f0b66
- 3.3.2 (2014-02-26)
8f0b66
- ==================
8f0b66
-
8f0b66
- Bugs fixed
8f0b66
- ----------
8f0b66
-
8f0b66
- * The properties ``resolvers`` and ``version``, as well as the methods
8f0b66
-   ``set_element_class_lookup()`` and ``makeelement()``, were lost from
8f0b66
-   ``iterparse`` objects.
8f0b66
-
8f0b66
- * LP#1222132: instances of ``XMLSchema``, ``Schematron`` and ``RelaxNG``
8f0b66
-   did not clear their local ``error_log`` before running a validation.
8f0b66
-
8f0b66
- * LP#1238500: lxml.doctestcompare mixed up "expected" and "actual" in
8f0b66
-   attribute values.
8f0b66
-
8f0b66
- * Some file I/O tests were failing in MS-Windows due to incorrect temp
8f0b66
-   file usage.  Initial patch by Gabi Davar.
8f0b66
-
8f0b66
- * LP#910014: duplicate IDs in a document were not reported by DTD
8f0b66
-   validation.
8f0b66
-
8f0b66
- * LP#1185332: ``tostring(method="html")`` did not use HTML serialisation
8f0b66
-   semantics for trailing tail text.  Initial patch by Sylvain Viollon.
8f0b66
-
8f0b66
- * LP#1281139: ``.attrib`` value of Comments lost its mutation methods
8f0b66
-   in 3.3.0.  Even though it is empty and immutable, it should still
8f0b66
-   provide the same interface as that returned for Elements.
8f0b66
8f0b66
* Fri Feb 28 2014 Jeffrey Ollie <jeff@ocjtech.us> - 3.3.2-1
8f0b66
- 3.3.1 (2014-02-12)
8f0b66
- ==================
8f0b66
-
8f0b66
- Bugs fixed
8f0b66
- ----------
8f0b66
-
8f0b66
- * LP#1014290: HTML documents parsed with ``parser.feed()`` failed to find
8f0b66
-   elements during tag iteration.
8f0b66
-
8f0b66
- * LP#1273709: Building in PyPy failed due to missing support for
8f0b66
-   ``PyUnicode_Compare()`` and ``PyByteArray_*()`` in PyPy's C-API.
8f0b66
-
8f0b66
- * LP#1274413: Compilation in MSVC failed due to missing "stdint.h" standard
8f0b66
-   header file.
8f0b66
-
8f0b66
- * LP#1274118: iterparse() failed to parse BOM prefixed files.
8f0b66
8f0b66
* Mon Jan 27 2014 Jeffrey Ollie <jeff@ocjtech.us> - 3.3.0-2
8f0b66
- Update Cython requirement to >= 0.20
8f0b66
8f0b66
* Mon Jan 27 2014 Jeffrey Ollie <jeff@ocjtech.us> - 3.3.0-1
8f0b66
- 3.3.0 (2014-01-26)
8f0b66
- ==================
8f0b66
-
8f0b66
- Features added
8f0b66
- --------------
8f0b66
-
8f0b66
- Bugs fixed
8f0b66
- ----------
8f0b66
-
8f0b66
- * The heuristic that distinguishes file paths from URLs was tightened
8f0b66
-   to produce less false negatives.
8f0b66
-
8f0b66
- Other changes
8f0b66
- -------------
8f0b66
-
8f0b66
-
8f0b66
- 3.3.0beta5 (2014-01-18)
8f0b66
- =======================
8f0b66
-
8f0b66
- Features added
8f0b66
- --------------
8f0b66
-
8f0b66
- * The PEP 393 unicode parsing support gained a fallback for wchar strings
8f0b66
-   which might still be somewhat common on Windows systems.
8f0b66
-
8f0b66
- Bugs fixed
8f0b66
- ----------
8f0b66
-
8f0b66
- * Several error handling problems were fixed throughout the code base that
8f0b66
-   could previously lead to exceptions being silently swallowed or not
8f0b66
-   properly reported.
8f0b66
-
8f0b66
- * The C-API function ``appendChild()`` is now deprecated as it does not
8f0b66
-   propagate exceptions (its return type is ``void``).  The new function
8f0b66
-   ``appendChildToElement()`` was added as a safe replacement.
8f0b66
-
8f0b66
- * Passing a string into ``fromstringlist()`` raises an exception instead of
8f0b66
-   parsing the string character by character.
8f0b66
-
8f0b66
- Other changes
8f0b66
- -------------
8f0b66
-
8f0b66
- * Document cleanup code was simplified using the new GC features in
8f0b66
-   Cython 0.20.
8f0b66
-
8f0b66
-
8f0b66
- 3.3.0beta4 (2014-01-12)
8f0b66
- =======================
8f0b66
-
8f0b66
- Features added
8f0b66
- --------------
8f0b66
-
8f0b66
- Bugs fixed
8f0b66
- ----------
8f0b66
-
8f0b66
- * The (empty) value returned by the ``attrib`` property of Entity and
8f0b66
-   Comment objects was mutable.
8f0b66
-
8f0b66
- * Element class lookup wasn't available for the new pull parsers or when
8f0b66
-   using a custom parser target.
8f0b66
-
8f0b66
- * Setting Element attributes on instantiation with both the ``attrib``
8f0b66
-   argument and keyword arguments could modify the mapping passed as
8f0b66
-   ``attrib``.
8f0b66
-
8f0b66
- * LP#1266171: DTDs instantiated from internal/external subsets (i.e.
8f0b66
-   through the docinfo property) lost their attribute declarations.
8f0b66
-
8f0b66
- Other changes
8f0b66
- -------------
8f0b66
-
8f0b66
- * Built with Cython 0.20pre (gitrev 012ae82eb) to prepare support for
8f0b66
-   Python 3.4.
8f0b66
-
8f0b66
-
8f0b66
- 3.3.0beta3 (2014-01-02)
8f0b66
- =======================
8f0b66
-
8f0b66
- Features added
8f0b66
- --------------
8f0b66
-
8f0b66
- * Unicode string parsing was optimised for Python 3.3 (PEP 393).
8f0b66
-
8f0b66
- Bugs fixed
8f0b66
- ----------
8f0b66
-
8f0b66
- * HTML parsing of Unicode strings could misdecode the input on some
8f0b66
-   platforms.
8f0b66
-
8f0b66
- * Crash in xmlfile() when closing open elements out of order in an error
8f0b66
-   case.
8f0b66
-
8f0b66
- Other changes
8f0b66
- -------------
8f0b66
-
8f0b66
-
8f0b66
- 3.3.0beta2 (2013-12-20)
8f0b66
- =======================
8f0b66
-
8f0b66
- Features added
8f0b66
- --------------
8f0b66
-
8f0b66
- * ``iterparse()`` supports the ``recover`` option.
8f0b66
-
8f0b66
- Bugs fixed
8f0b66
- ----------
8f0b66
-
8f0b66
- * Crash in ``iterparse()`` for HTML parsing.
8f0b66
-
8f0b66
- * Crash in target parsing with attributes.
8f0b66
-
8f0b66
- Other changes
8f0b66
- -------------
8f0b66
-
8f0b66
- * The safety check in the read-only tree implementation (e.g. used by
8f0b66
-   ``PythonElementClassLookup``) raises a more appropriate
8f0b66
-   ``ReferenceError`` for illegal access after tree disposal instead of
8f0b66
-   an ``AssertionError``. This should only impact test code that
8f0b66
-   specifically checks the original behaviour.
8f0b66
-
8f0b66
-
8f0b66
- 3.3.0beta1 (2013-12-12)
8f0b66
- =======================
8f0b66
-
8f0b66
- Features added
8f0b66
- --------------
8f0b66
-
8f0b66
- * New option ``handle_failures`` in ``make_links_absolute()`` and
8f0b66
-   ``resolve_base_href()`` (lxml.html) that enables ignoring or
8f0b66
-   discarding links that fail to parse as URLs.
8f0b66
-
8f0b66
- * New parser classes ``XMLPullParser`` and ``HTMLPullParser`` for
8f0b66
-   incremental parsing, as implemented for ElementTree in Python 3.4.
8f0b66
-
8f0b66
- * ``iterparse()`` enables recovery mode by default for HTML parsing
8f0b66
-   (``html=True``).
8f0b66
-
8f0b66
- Bugs fixed
8f0b66
- ----------
8f0b66
-
8f0b66
- * LP#1255132: crash when trying to run validation over non-Element (e.g.
8f0b66
-   comment or PI).
8f0b66
-
8f0b66
- * Error messages in the log and in exception messages that originated
8f0b66
-   from libxml2 could accidentally be picked up from preceding warnings
8f0b66
-   instead of the actual error.
8f0b66
-
8f0b66
- * The ``ElementMaker`` in lxml.objectify did not accept a dict as
8f0b66
-   argument for adding attributes to the element it's building. This
8f0b66
-   works as in lxml.builder now.
8f0b66
-
8f0b66
- * LP#1228881: ``repr(XSLTAccessControl)`` failed in Python 3.
8f0b66
-
8f0b66
- * Raise ``ValueError`` when trying to append an Element to itself or
8f0b66
-   to one of its own descendants, instead of running into an infinite
8f0b66
-   loop.
8f0b66
-
8f0b66
- * LP#1206077: htmldiff discarded whitespace from the output.
8f0b66
-
8f0b66
- * Compressed plain-text serialisation to file-like objects was broken.
8f0b66
-
8f0b66
- * lxml.html.formfill: Fix textarea form filling.
8f0b66
-   The textarea used to be cleared before the new content was set,
8f0b66
-   which removed the name attribute.
8f0b66
-
8f0b66
- Other changes
8f0b66
- -------------
8f0b66
-
8f0b66
- * Some basic API classes use freelists internally for faster
8f0b66
-   instantiation.  This can speed up some ``iterparse()`` scenarios,
8f0b66
-   for example.
8f0b66
-
8f0b66
- * ``iterparse()`` was rewritten to use the new ``*PullParser``
8f0b66
-   classes internally instead of being a parser itself.
8f0b66
8f0b66
* Mon Nov 11 2013 Jeffrey Ollie <jeff@ocjtech.us> - 3.2.4-1
8f0b66
- 3.2.4 (2013-11-07)
8f0b66
- ==================
8f0b66
-
8f0b66
- Bugs fixed
8f0b66
- ----------
8f0b66
-
8f0b66
- * Memory leak when creating an XPath evaluator in a thread.
8f0b66
-
8f0b66
- * LP#1228881: ``repr(XSLTAccessControl)`` failed in Python 3.
8f0b66
-
8f0b66
- * Raise ``ValueError`` when trying to append an Element to itself or
8f0b66
-   to one of its own descendants.
8f0b66
-
8f0b66
- * LP#1206077: htmldiff discarded whitespace from the output.
8f0b66
-
8f0b66
- * Compressed plain-text serialisation to file-like objects was broken.
8f0b66
8f0b66
* Wed Sep 18 2013 Jeffrey Ollie <jeff@ocjtech.us> - 3.2.3-2
8f0b66
- Add requirement for on python-cssselect for the python2 version
8f0b66
8f0b66
* Sun Jul 28 2013 Jeffrey Ollie <jeff@ocjtech.us> - 3.2.3-1
8f0b66
- and here's a version 3.2.3. The last release accidentally lost the ability
8f0b66
- to work on Python 2.4. There are no other changes over 3.2.2.
8f0b66
-
8f0b66
- 3.2.2 (2013-07-28)
8f0b66
- ==================
8f0b66
-
8f0b66
- Features added
8f0b66
- --------------
8f0b66
-
8f0b66
- Bugs fixed
8f0b66
- ----------
8f0b66
-
8f0b66
- * LP#1185701: spurious XMLSyntaxError after finishing iterparse().
8f0b66
-
8f0b66
- * Crash in lxml.objectify during xsi annotation.
8f0b66
-
8f0b66
- Other changes
8f0b66
- -------------
8f0b66
-
8f0b66
- * Return values of user provided element class lookup methods are now
8f0b66
-   validated against the type of the XML node they represent to prevent
8f0b66
-   API class mismatches.
8f0b66
8f0b66
* Sun May 12 2013 Jeffrey Ollie <jeff@ocjtech.us> - 3.2.1-1
8f0b66
- 3.2.1 (2013-05-11)
8f0b66
- ==================
8f0b66
-
8f0b66
- Features added
8f0b66
- --------------
8f0b66
-
8f0b66
- * The methods ``apply_templates()`` and ``process_children()`` of XSLT
8f0b66
-   extension elements have gained two new boolean options ``elements_only``
8f0b66
-   and ``remove_blank_text`` that discard either all strings or
8f0b66
-   whitespace-only strings from the result list.
8f0b66
-
8f0b66
- Bugs fixed
8f0b66
- ----------
8f0b66
-
8f0b66
- * When moving Elements to another tree, the namespace cleanup mechanism
8f0b66
-   no longer drops namespace prefixes from attributes for which it finds
8f0b66
-   a default namespace declaration, to prevent them from appearing as
8f0b66
-   unnamespaced attributes after serialisation.
8f0b66
-
8f0b66
- * Returning non-type objects from a custom class lookup method could lead
8f0b66
-   to a crash.
8f0b66
-
8f0b66
- * Instantiating and using subtypes of Comments and ProcessingInstructions
8f0b66
-   crashed.
8f0b66
8f0b66
* Fri May 10 2013 Jeffrey Ollie <jeff@ocjtech.us> - 3.2.0-1
8f0b66
- 3.2.0 (2013-04-28)
8f0b66
- ==================
8f0b66
-
8f0b66
- Features added
8f0b66
- --------------
8f0b66
-
8f0b66
- Bugs fixed
8f0b66
- ----------
8f0b66
-
8f0b66
- * LP#690319: Leading whitespace could change the behaviour of the string
8f0b66
-   parsing functions in ``lxml.html``.
8f0b66
-
8f0b66
- * LP#599318: The string parsing functions in ``lxml.html`` are more robust
8f0b66
-   in the face of uncommon HTML content like framesets or missing body tags.
8f0b66
-   Patch by Stefan Seelmann.
8f0b66
-
8f0b66
- * LP#712941: I/O errors while trying to access files with paths that
8f0b66
-   contain non-ASCII characters could raise ``UnicodeDecodeError`` instead
8f0b66
-   of properly reporting the ``IOError``.
8f0b66
-
8f0b66
- * LP#673205: Parsing from in-memory strings disabled network access in the
8f0b66
-   default parser and made subsequent attempts to parse from a URL fail.
8f0b66
-
8f0b66
- * LP#971754: lxml.html.clean appends 'nofollow' to 'rel' attributes instead
8f0b66
-   of overwriting the current value.
8f0b66
-
8f0b66
- * LP#715687: lxml.html.clean no longer discards scripts that are explicitly
8f0b66
-   allowed by the user provided whitelist.  Patch by Christine Koppelt.
8f0b66
-
8f0b66
- 3.1.2 (2013-04-12)
8f0b66
- ==================
8f0b66
-
8f0b66
- Bugs fixed
8f0b66
- ----------
8f0b66
-
8f0b66
- * LP#1136509: Passing attributes through the namespace-unaware API of
8f0b66
-   the sax bridge (i.e. the ``handler.startElement()`` method) failed
8f0b66
-   with a ``TypeError``.  Patch by Mike Bayer.
8f0b66
-
8f0b66
- * LP#1123074: Fix serialisation error in XSLT output when converting
8f0b66
-   the result tree to a Unicode string.
8f0b66
-
8f0b66
- * GH#105: Replace illegal usage of ``xmlBufLength()`` in libxml2 2.9.0
8f0b66
-   by properly exported API function ``xmlBufUse()``.
8f0b66
-
8f0b66
- 3.1.1 (2013-03-29)
8f0b66
- ==================
8f0b66
-
8f0b66
- Features added
8f0b66
- --------------
8f0b66
-
8f0b66
- Bugs fixed
8f0b66
- ----------
8f0b66
-
8f0b66
- * LP#1160386: Write access to ``lxml.html.FormElement.fields`` raised
8f0b66
-   an AttributeError in Py3.
8f0b66
-
8f0b66
- * Illegal memory access during cleanup in incremental xmlfile writer.
8f0b66
-
8f0b66
- Other changes
8f0b66
- -------------
8f0b66
-
8f0b66
- * The externally useless class ``lxml.etree._BaseParser`` was removed
8f0b66
-   from the module dict.
8f0b66
8f0b66
* Fri Mar  8 2013 Jeffrey Ollie <jeff@ocjtech.us> - 3.1.0-1
8f0b66
- 3.1.0 (2013-02-10)
8f0b66
- ==================
8f0b66
-
8f0b66
- Features added
8f0b66
- --------------
8f0b66
-
8f0b66
- * GH#89: lxml.html.clean allows overriding the set of attributes that it
8f0b66
-   considers 'safe'.  Patch by Francis Devereux.
8f0b66
-
8f0b66
- Bugs fixed
8f0b66
- ----------
8f0b66
-
8f0b66
- * LP#1104370: ``copy.copy(el.attrib)`` raised an exception.  It now returns
8f0b66
-   a copy of the attributes as a plain Python dict.
8f0b66
-
8f0b66
- * GH#95: When used with namespace prefixes, the  ``el.find*()`` methods
8f0b66
-   always used the first namespace mapping that was provided for each
8f0b66
-   path expression instead of using the one that was actually passed
8f0b66
-   in for the current run.
8f0b66
-
8f0b66
- * LP#1092521, GH#91: Fix undefined C symbol in Python runtimes compiled
8f0b66
-   without threading support.  Patch by Ulrich Seidl.
8f0b66
-
8f0b66
- Other changes
8f0b66
- -------------
8f0b66
-
8f0b66
-
8f0b66
- 3.1beta1 (2012-12-21)
8f0b66
- =====================
8f0b66
-
8f0b66
- Features added
8f0b66
- --------------
8f0b66
-
8f0b66
- * New build-time option ``--with-unicode-strings`` for Python 2 that
8f0b66
-   makes the API always return Unicode strings for names and text
8f0b66
-   instead of byte strings for plain ASCII content.
8f0b66
-
8f0b66
- * New incremental XML file writing API ``etree.xmlfile()``.
8f0b66
-
8f0b66
- * E factory in lxml.objectify is callable to simplify the creation of
8f0b66
-   tags with non-identifier names without having to resort to getattr().
8f0b66
-
8f0b66
- Bugs fixed
8f0b66
- ----------
8f0b66
-
8f0b66
- * When starting from a non-namespaced element in lxml.objectify, searching
8f0b66
-   for a child without explicitly specifying a namespace incorrectly found
8f0b66
-   namespaced elements with the requested local name, instead of restricting
8f0b66
-   the search to non-namespaced children.
8f0b66
-
8f0b66
- * GH#85: Deprecation warnings were fixed for Python 3.x.
8f0b66
-
8f0b66
- * GH#33: lxml.html.fromstring() failed to accept bytes input in Py3.
8f0b66
-
8f0b66
- * LP#1080792: Static build of libxml2 2.9.0 failed due to missing file.
8f0b66
-
8f0b66
- Other changes
8f0b66
- -------------
8f0b66
-
8f0b66
- * The externally useless class ``_ObjectifyElementMakerCaller`` was
8f0b66
-   removed from the module API of lxml.objectify.
8f0b66
-
8f0b66
- * LP#1075622: lxml.builder is faster for adding text to elements with
8f0b66
-   many children.  Patch by Anders Hammarquist.
8f0b66
8f0b66
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.1-2
8f0b66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
8f0b66
8f0b66
* Mon Oct 15 2012 Jeffrey Ollie <jeff@ocjtech.us> - 3.0.1-1
8f0b66
- 3.0.1 (2012-10-14)
8f0b66
- Bugs fixed
8f0b66
-
8f0b66
-  * LP#1065924: Element proxies could disappear during garbage collection
8f0b66
-    in PyPy without proper cleanup.
8f0b66
-  * GH#71: Failure to work with libxml2 2.6.x.
8f0b66
-  * LP#1065139: static MacOS-X build failed in Py3.
8f0b66
8f0b66
* Wed Oct 10 2012 Jeffrey Ollie <jeff@ocjtech.us> - 3.0-1
8f0b66
- 3.0 (2012-10-08)
8f0b66
- ================
8f0b66
-
8f0b66
- Features added
8f0b66
- --------------
8f0b66
-
8f0b66
- Bugs fixed
8f0b66
- ----------
8f0b66
-
8f0b66
- * End-of-file handling was incorrect in iterparse() when reading from
8f0b66
-   a low-level C file stream and failed in libxml2 2.9.0 due to its
8f0b66
-   improved consistency checks.
8f0b66
-
8f0b66
- Other changes
8f0b66
- -------------
8f0b66
-
8f0b66
- * The build no longer uses Cython by default unless the generated C files
8f0b66
-   are missing.  To use Cython, pass the option "--with-cython".  To ignore
8f0b66
-   the fatal build error when Cython is required but not available (e.g. to
8f0b66
-   run special setup.py commands that do not actually run a build), pass
8f0b66
-   "--without-cython".
8f0b66
-
8f0b66
-
8f0b66
- 3.0beta1 (2012-09-26)
8f0b66
- =====================
8f0b66
-
8f0b66
- Features added
8f0b66
- --------------
8f0b66
-
8f0b66
- * Python level access to (optional) libxml2 memory debugging features
8f0b66
-   to simplify debugging of memory leaks etc.
8f0b66
-
8f0b66
- Bugs fixed
8f0b66
- ----------
8f0b66
-
8f0b66
- * Fix a memory leak in XPath by switching to Cython 0.17.1.
8f0b66
-
8f0b66
- * Some tests were adapted to work with PyPy.
8f0b66
-
8f0b66
- Other changes
8f0b66
- -------------
8f0b66
-
8f0b66
- * The code was adapted to work with the upcoming libxml2 2.9.0 release.
8f0b66
-
8f0b66
-
8f0b66
- 3.0alpha2 (2012-08-23)
8f0b66
- ======================
8f0b66
-
8f0b66
- Features added
8f0b66
- --------------
8f0b66
-
8f0b66
- * The .iter() method of elements now accepts tag arguments like "{*}name"
8f0b66
-   to search for elements with a given local name in any namespace.  With
8f0b66
-   this addition, all combinations of wildcards now work as expected:
8f0b66
-   "{ns}name", "{}name", "{*}name", "{ns}*", "{}*" and "{*}*".  Note that
8f0b66
-   "name" is equivalent to "{}name", but "*" is "{*}*".  The same change
8f0b66
-   applies to the .getiterator(), .itersiblings(), .iterancestors(),
8f0b66
-   .iterdescendants(), .iterchildren() and .itertext() methods,  the
8f0b66
-   strip_attributes(), strip_elements() and strip_tags() functions as well
8f0b66
-   as the iterparse() function.
8f0b66
-
8f0b66
- * C14N allows specifying the inclusive prefixes to be promoted to
8f0b66
-   top-level during exclusive serialisation.
8f0b66
-
8f0b66
- Bugs fixed
8f0b66
- ----------
8f0b66
-
8f0b66
- * Passing long Unicode strings into the feed() parser interface failed to
8f0b66
-   read the entire string.
8f0b66
-
8f0b66
- Other changes
8f0b66
- -------------
8f0b66
-
8f0b66
-
8f0b66
- 3.0alpha1 (2012-07-31)
8f0b66
- ======================
8f0b66
-
8f0b66
- Features added
8f0b66
- --------------
8f0b66
-
8f0b66
- * Initial support for building in PyPy (through cpyext).
8f0b66
-
8f0b66
- * DTD objects gained an API that allows read access to their
8f0b66
-   declarations.
8f0b66
-
8f0b66
- * xpathgrep.py gained support for parsing line-by-line (e.g.
8f0b66
-   from grep output) and for surrounding the output with a new root
8f0b66
-   tag.
8f0b66
-
8f0b66
- * E-factory in lxml.builder accepts subtypes of known data
8f0b66
-   types (such as string subtypes) when building elements around them.
8f0b66
-
8f0b66
- * Tree iteration and iterparse() with a selective tag
8f0b66
-   argument supports passing a set of tags.  Tree nodes will be
8f0b66
-   returned by the iterators if they match any of the tags.
8f0b66
-
8f0b66
- Bugs fixed
8f0b66
- ----------
8f0b66
-
8f0b66
- * The .find*() methods in lxml.objectify no longer use XPath
8f0b66
-   internally, which makes them faster in many cases (especially when
8f0b66
-   short circuiting after a single or couple of elements) and fixes
8f0b66
-   some behavioural differences compared to lxml.etree.  Note that
8f0b66
-   this means that they no longer support arbitrary XPath expressions
8f0b66
-   but only the subset that the ElementPath language supports.
8f0b66
-   The previous implementation was also redundant with the normal
8f0b66
-   XPath support, which can be used as a replacement.
8f0b66
-
8f0b66
- * el.find('*') could accidentally return a comment or processing
8f0b66
-   instruction that happened to be in the wrong spot.  (Same for the
8f0b66
-   other .find*() methods.)
8f0b66
-
8f0b66
- * The error logging is less intrusive and avoids a global setup where
8f0b66
-   possible.
8f0b66
-
8f0b66
- * Fixed undefined names in html5lib parser.
8f0b66
-
8f0b66
- * xpathgrep.py did not work in Python 3.
8f0b66
-
8f0b66
- * Element.attrib.update() did not accept an attrib of
8f0b66
-   another Element as parameter.
8f0b66
-
8f0b66
- * For subtypes of ElementBase that make the .text or .tail
8f0b66
-   properties immutable (as in objectify, for example), inserting text
8f0b66
-   when creating Elements through the E-Factory feature of the class
8f0b66
-   constructor would fail with an exception, stating that the text
8f0b66
-   cannot be modified.
8f0b66
-
8f0b66
- Other changes
8f0b66
- --------------
8f0b66
-
8f0b66
- * The code base was overhauled to properly use 'const' where the API
8f0b66
-   of libxml2 and libxslt requests it.  This also has an impact on the
8f0b66
-   public C-API of lxml itself, as defined in etreepublic.pxd, as
8f0b66
-   well as the provided declarations in the lxml/includes/ directory.
8f0b66
-   Code that uses these declarations may have to be adapted.  On the
8f0b66
-   plus side, this fixes several C compiler warnings, also for user
8f0b66
-   code, thus making it easier to spot real problems again.
8f0b66
-
8f0b66
- * The functionality of "lxml.cssselect" was moved into a separate PyPI
8f0b66
-   package called "cssselect".  To continue using it, you must install
8f0b66
-   that package separately.  The "lxml.cssselect" module is still
8f0b66
-   available and provides the same interface, provided the "cssselect"
8f0b66
-   package can be imported at runtime.
8f0b66
-
8f0b66
- * Element attributes passed in as an attrib dict or as keyword
8f0b66
-   arguments are now sorted by (namespaced) name before being created
8f0b66
-   to make their order predictable for serialisation and iteration.
8f0b66
-   Note that adding or deleting attributes afterwards does not take
8f0b66
-   that order into account, i.e. setting a new attribute appends it
8f0b66
-   after the existing ones.
8f0b66
-
8f0b66
- * Several classes that are for internal use only were removed
8f0b66
-   from the lxml.etree module dict:
8f0b66
-   _InputDocument, _ResolverRegistry, _ResolverContext, _BaseContext,
8f0b66
-   _ExsltRegExp, _IterparseContext, _TempStore, _ExceptionContext,
8f0b66
-   __ContentOnlyElement, _AttribIterator, _NamespaceRegistry,
8f0b66
-   _ClassNamespaceRegistry, _FunctionNamespaceRegistry,
8f0b66
-   _XPathFunctionNamespaceRegistry, _ParserDictionaryContext,
8f0b66
-   _FileReaderContext, _ParserContext, _PythonSaxParserTarget,
8f0b66
-   _TargetParserContext, _ReadOnlyProxy, _ReadOnlyPIProxy,
8f0b66
-   _ReadOnlyEntityProxy, _ReadOnlyElementProxy, _OpaqueNodeWrapper,
8f0b66
-   _OpaqueDocumentWrapper, _ModifyContentOnlyProxy,
8f0b66
-   _ModifyContentOnlyPIProxy, _ModifyContentOnlyEntityProxy,
8f0b66
-   _AppendOnlyElementProxy, _SaxParserContext, _FilelikeWriter,
8f0b66
-   _ParserSchemaValidationContext, _XPathContext,
8f0b66
-   _XSLTResolverContext, _XSLTContext, _XSLTQuotedStringParam
8f0b66
-
8f0b66
- * Several internal classes can no longer be inherited from:
8f0b66
-   _InputDocument, _ResolverRegistry, _ExsltRegExp, _ElementUnicodeResult,
8f0b66
-   _IterparseContext, _TempStore, _AttribIterator, _ClassNamespaceRegistry,
8f0b66
-   _XPathFunctionNamespaceRegistry, _ParserDictionaryContext,
8f0b66
-   _FileReaderContext, _PythonSaxParserTarget, _TargetParserContext,
8f0b66
-   _ReadOnlyPIProxy, _ReadOnlyEntityProxy, _OpaqueDocumentWrapper,
8f0b66
-   _ModifyContentOnlyPIProxy, _ModifyContentOnlyEntityProxy,
8f0b66
-   _AppendOnlyElementProxy, _FilelikeWriter, _ParserSchemaValidationContext,
8f0b66
-   _XPathContext, _XSLTResolverContext, _XSLTContext,
8f0b66
-   _XSLTQuotedStringParam, _XSLTResultTree, _XSLTProcessingInstruction
8f0b66
8f0b66
* Thu Sep 27 2012 Jeffrey Ollie <jeff@ocjtech.us> - 2.3.5-1
8f0b66
- Bugs fixed
8f0b66
-
8f0b66
-  * Crash when merging text nodes in element.remove().
8f0b66
-  * Crash in sax/target parser when reporting empty doctype.
8f0b66
8f0b66
* Thu Sep 27 2012 Jeffrey Ollie <jeff@ocjtech.us> - 2.3.4-1
8f0b66
- Bugs fixed
8f0b66
-
8f0b66
-  * Crash when building an nsmap (Element property) with empty namespace
8f0b66
-    URIs.
8f0b66
-  * Crash due to race condition when errors (or user messages) occur during
8f0b66
-    threaded XSLT processing (or compilation).
8f0b66
-  * XSLT stylesheet compilation could ignore compilation errors.
8f0b66
8f0b66
* Sat Aug 04 2012 David Malcolm <dmalcolm@redhat.com> - 2.3.3-4
8f0b66
- rebuild for https://fedoraproject.org/wiki/Features/Python_3.3
8f0b66
8f0b66
* Fri Aug  3 2012 David Malcolm <dmalcolm@redhat.com> - 2.3.3-3
8f0b66
- remove rhel logic from with_python3 conditional
8f0b66
8f0b66
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.3-2
8f0b66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
8f0b66
8f0b66
* Thu Jan  5 2012 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.3.3-1
8f0b66
- 2.3.3 (2012-01-04)
8f0b66
- Features added
8f0b66
-
8f0b66
-  * lxml.html.tostring() gained new serialisation options with_tail and
8f0b66
-    doctype.
8f0b66
-
8f0b66
- Bugs fixed
8f0b66
-
8f0b66
-  * Fixed a crash when using iterparse() for HTML parsing and requesting
8f0b66
-    start events.
8f0b66
-  * Fixed parsing of more selectors in cssselect. Whitespace before pseudo-
8f0b66
-    elements and pseudo-classes is significant as it is a descendant
8f0b66
-    combinator. "E :pseudo" should parse the same as "E *:pseudo", not
8f0b66
-    "E:pseudo". Patch by Simon Sapin.
8f0b66
-  * lxml.html.diff no longer raises an exception when hitting 'img' tags
8f0b66
-    without 'src' attribute.
8f0b66
8f0b66
* Mon Nov 14 2011 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.3.2-1
8f0b66
- 2.3.2 (2011-11-11)
8f0b66
- Features added
8f0b66
-
8f0b66
-   * lxml.objectify.deannotate() has a new boolean option
8f0b66
-     cleanup_namespaces to remove the objectify namespace declarations
8f0b66
-     (and generally clean up the namespace declarations) after removing
8f0b66
-     the type annotations.
8f0b66
-   * lxml.objectify gained its own SubElement() function as a copy of
8f0b66
-     etree.SubElement to avoid an otherwise redundant import of
8f0b66
-     lxml.etree on the user side.
8f0b66
-
8f0b66
- Bugs fixed
8f0b66
-
8f0b66
-    * Fixed the "descendant" bug in cssselect a second time (after a first
8f0b66
-      fix in lxml 2.3.1). The previous change resulted in a serious
8f0b66
-      performance regression for the XPath based evaluation of the
8f0b66
-      translated expression. Note that this breaks the usage of some
8f0b66
-      of the generated XPath expressions as XSLT location paths that
8f0b66
-      previously worked in 2.3.1.
8f0b66
-    * Fixed parsing of some selectors in cssselect. Whitespace after
8f0b66
-      combinators ">", "+" and "~" is now correctly ignored. Previously
8f0b66
-      it was parsed as a descendant combinator. For example, "div> .foo"
8f0b66
-      was parsed the same as "div>* .foo" instead of "div>.foo". Patch by
8f0b66
-      Simon Sapin.
8f0b66
8f0b66
* Sun Sep 25 2011 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.3.1-1
8f0b66
- Features added
8f0b66
- --------------
8f0b66
-
8f0b66
- * New option kill_tags in lxml.html.clean to remove specific
8f0b66
-   tags and their content (i.e. their whole subtree).
8f0b66
-
8f0b66
- * pi.get() and pi.attrib on processing instructions to parse
8f0b66
-   pseudo-attributes from the text content of processing instructions.
8f0b66
-
8f0b66
- * lxml.get_include() returns a list of include paths that can be
8f0b66
-   used to compile external C code against lxml.etree.  This is
8f0b66
-   specifically required for statically linked lxml builds when code
8f0b66
-   needs to compile against the exact same header file versions as lxml
8f0b66
-   itself.
8f0b66
-
8f0b66
- * Resolver.resolve_file() takes an additional option
8f0b66
-   close_file that configures if the file(-like) object will be
8f0b66
-   closed after reading or not.  By default, the file will be closed,
8f0b66
-   as the user is not expected to keep a reference to it.
8f0b66
-
8f0b66
- Bugs fixed
8f0b66
- ----------
8f0b66
-
8f0b66
- * HTML cleaning didn't remove 'data:' links.
8f0b66
-
8f0b66
- * The html5lib parser integration now uses the 'official'
8f0b66
-   implementation in html5lib itself, which makes it work with newer
8f0b66
-   releases of the library.
8f0b66
-
8f0b66
- * In lxml.sax, endElementNS() could incorrectly reject a plain
8f0b66
-   tag name when the corresponding start event inferred the same plain
8f0b66
-   tag name to be in the default namespace.
8f0b66
-
8f0b66
- * When an open file-like object is passed into parse() or
8f0b66
-   iterparse(), the parser will no longer close it after use.  This
8f0b66
-   reverts a change in lxml 2.3 where all files would be closed.  It is
8f0b66
-   the users responsibility to properly close the file(-like) object,
8f0b66
-   also in error cases.
8f0b66
-
8f0b66
- * Assertion error in lxml.html.cleaner when discarding top-level elements.
8f0b66
-
8f0b66
- * In lxml.cssselect, use the xpath 'A//B' (short for
8f0b66
-   'A/descendant-or-self::node()/B') instead of 'A/descendant::B' for the
8f0b66
-   css descendant selector ('A B'). This makes a few edge cases to be
8f0b66
-   consistent with the selector behavior in WebKit and Firefox, and makes
8f0b66
-   more css expressions valid location paths (for use in xsl:template
8f0b66
-   match).
8f0b66
-
8f0b66
- * In lxml.html, non-selected <option> tags no longer show up in the
8f0b66
-   collected form values.
8f0b66
-
8f0b66
- * Adding/removing <option> values to/from a multiple select form
8f0b66
-   field properly selects them and unselects them.
8f0b66
-
8f0b66
- Other changes
8f0b66
- --------------
8f0b66
-
8f0b66
- * Static builds can specify the download directory with the
8f0b66
-   --download-dir option.
8f0b66
8f0b66
8f0b66
* Tue Apr 19 2011 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.3-1
8f0b66
- 2.3 (2011-02-06)
8f0b66
- ================
8f0b66
-
8f0b66
- Features added
8f0b66
- --------------
8f0b66
-
8f0b66
- * When looking for children, ``lxml.objectify`` takes '{}tag' as
8f0b66
-   meaning an empty namespace, as opposed to the parent namespace.
8f0b66
-
8f0b66
- Bugs fixed
8f0b66
- ----------
8f0b66
-
8f0b66
- * When finished reading from a file-like object, the parser
8f0b66
-   immediately calls its ``.close()`` method.
8f0b66
-
8f0b66
- * When finished parsing, ``iterparse()`` immediately closes the input
8f0b66
-   file.
8f0b66
-
8f0b66
- * Work-around for libxml2 bug that can leave the HTML parser in a
8f0b66
-   non-functional state after parsing a severly broken document (fixed
8f0b66
-   in libxml2 2.7.8).
8f0b66
-
8f0b66
- * ``marque`` tag in HTML cleanup code is correctly named ``marquee``.
8f0b66
-
8f0b66
- Other changes
8f0b66
- --------------
8f0b66
-
8f0b66
- * Some public functions in the Cython-level C-API have more explicit
8f0b66
-   return types.
8f0b66
-
8f0b66
- 2.3beta1 (2010-09-06)
8f0b66
- =====================
8f0b66
-
8f0b66
- Features added
8f0b66
- --------------
8f0b66
-
8f0b66
- Bugs fixed
8f0b66
- ----------
8f0b66
-
8f0b66
- * Crash in newer libxml2 versions when moving elements between
8f0b66
-   documents that had attributes on replaced XInclude nodes.
8f0b66
-
8f0b66
- * ``XMLID()`` function was missing the optional ``parser`` and
8f0b66
-   ``base_url`` parameters.
8f0b66
-
8f0b66
- * Searching for wildcard tags in ``iterparse()`` was broken in Py3.
8f0b66
-
8f0b66
- * ``lxml.html.open_in_browser()`` didn't work in Python 3 due to the
8f0b66
-   use of os.tempnam.  It now takes an optional 'encoding' parameter.
8f0b66
-
8f0b66
- Other changes
8f0b66
- --------------
8f0b66
-
8f0b66
- 2.3alpha2 (2010-07-24)
8f0b66
- ======================
8f0b66
-
8f0b66
- Features added
8f0b66
- --------------
8f0b66
-
8f0b66
- Bugs fixed
8f0b66
- ----------
8f0b66
-
8f0b66
- * Crash in XSLT when generating text-only result documents with a
8f0b66
-   stylesheet created in a different thread.
8f0b66
-
8f0b66
- Other changes
8f0b66
- --------------
8f0b66
-
8f0b66
- * ``repr()`` of Element objects shows the hex ID with leading 0x
8f0b66
-   (following ElementTree 1.3).
8f0b66
-
8f0b66
- 2.3alpha1 (2010-06-19)
8f0b66
- ======================
8f0b66
-
8f0b66
- Features added
8f0b66
- --------------
8f0b66
-
8f0b66
- * Keyword argument ``namespaces`` in ``lxml.cssselect.CSSSelector()``
8f0b66
-   to pass a prefix-to-namespace mapping for the selector.
8f0b66
-
8f0b66
- * New function ``lxml.etree.register_namespace(prefix, uri)`` that
8f0b66
-   globally registers a namespace prefix for a namespace that newly
8f0b66
-   created Elements in that namespace will use automatically.  Follows
8f0b66
-   ElementTree 1.3.
8f0b66
-
8f0b66
- * Support 'unicode' string name as encoding parameter in
8f0b66
-   ``tostring()``, following ElementTree 1.3.
8f0b66
-
8f0b66
- * Support 'c14n' serialisation method in ``ElementTree.write()`` and
8f0b66
-   ``tostring()``, following ElementTree 1.3.
8f0b66
-
8f0b66
- * The ElementPath expression syntax (``el.find*()``) was extended to
8f0b66
-   match the upcoming ElementTree 1.3 that will ship in the standard
8f0b66
-   library of Python 3.2/2.7.  This includes extended support for
8f0b66
-   predicates as well as namespace prefixes (as known from XPath).
8f0b66
-
8f0b66
- * During regular XPath evaluation, various ESXLT functions are
8f0b66
-   available within their namespace when using libxslt 1.1.26 or later.
8f0b66
-
8f0b66
- * Support passing a readily configured logger instance into
8f0b66
-   ``PyErrorLog``, instead of a logger name.
8f0b66
-
8f0b66
- * On serialisation, the new ``doctype`` parameter can be used to
8f0b66
-   override the DOCTYPE (internal subset) of the document.
8f0b66
-
8f0b66
- * New parameter ``output_parent`` to ``XSLTExtension.apply_templates()``
8f0b66
-   to append the resulting content directly to an output element.
8f0b66
-
8f0b66
- * ``XSLTExtension.process_children()`` to process the content of the
8f0b66
-   XSLT extension element itself.
8f0b66
-
8f0b66
- * ISO-Schematron support based on the de-facto Schematron reference
8f0b66
-   'skeleton implementation'.
8f0b66
-
8f0b66
- * XSLT objects now take XPath object as ``__call__`` stylesheet
8f0b66
-   parameters.
8f0b66
-
8f0b66
- * Enable path caching in ElementPath (``el.find*()``) to avoid parsing
8f0b66
-   overhead.
8f0b66
-
8f0b66
- * Setting the value of a namespaced attribute always uses a prefixed
8f0b66
-   namespace instead of the default namespace even if both declare the
8f0b66
-   same namespace URI.  This avoids serialisation problems when an
8f0b66
-   attribute from a default namespace is set on an element from a
8f0b66
-   different namespace.
8f0b66
-
8f0b66
- * XSLT extension elements: support for XSLT context nodes other than
8f0b66
-   elements: document root, comments, processing instructions.
8f0b66
-
8f0b66
- * Support for strings (in addition to Elements) in node-sets returned
8f0b66
-   by extension functions.
8f0b66
-
8f0b66
- * Forms that lack an ``action`` attribute default to the base URL of
8f0b66
-   the document on submit.
8f0b66
-
8f0b66
- * XPath attribute result strings have an ``attrname`` property.
8f0b66
-
8f0b66
- * Namespace URIs get validated against RFC 3986 at the API level
8f0b66
-   (required by the XML namespace specification).
8f0b66
-
8f0b66
- * Target parsers show their target object in the ``.target`` property
8f0b66
-   (compatible with ElementTree).
8f0b66
-
8f0b66
- Bugs fixed
8f0b66
- ----------
8f0b66
-
8f0b66
- * API is hardened against invalid proxy instances to prevent crashes
8f0b66
-   due to incorrectly instantiated Element instances.
8f0b66
-
8f0b66
- * Prevent crash when instantiating ``CommentBase`` and friends.
8f0b66
-
8f0b66
- * Export ElementTree compatible XML parser class as
8f0b66
-   ``XMLTreeBuilder``, as it is called in ET 1.2.
8f0b66
-
8f0b66
- * ObjectifiedDataElements in lxml.objectify were not hashable.  They
8f0b66
-   now use the hash value of the underlying Python value (string,
8f0b66
-   number, etc.) to which they compare equal.
8f0b66
-
8f0b66
- * Parsing broken fragments in lxml.html could fail if the fragment
8f0b66
-   contained an orphaned closing '' tag.
8f0b66
-
8f0b66
- * Using XSLT extension elements around the root of the output document
8f0b66
-   crashed.
8f0b66
-
8f0b66
- * ``lxml.cssselect`` did not distinguish between ``x[attr="val"]`` and
8f0b66
-   ``x [attr="val"]`` (with a space).  The latter now matches the
8f0b66
-   attribute independent of the element.
8f0b66
-
8f0b66
- * Rewriting multiple links inside of HTML text content could end up
8f0b66
-   replacing unrelated content as replacements could impact the
8f0b66
-   reported position of subsequent matches.  Modifications are now
8f0b66
-   simplified by letting the ``iterlinks()`` generator in ``lxml.html``
8f0b66
-   return links in reversed order if they appear inside the same text
8f0b66
-   node.  Thus, replacements and link-internal modifications no longer
8f0b66
-   change the position of links reported afterwards.
8f0b66
-
8f0b66
- * The ``.value`` attribute of ``textarea`` elements in lxml.html did
8f0b66
-   not represent the complete raw value (including child tags etc.). It
8f0b66
-   now serialises the complete content on read and replaces the
8f0b66
-   complete content by a string on write.
8f0b66
-
8f0b66
- * Target parser didn't call ``.close()`` on the target object if
8f0b66
-   parsing failed.  Now it is guaranteed that ``.close()`` will be
8f0b66
-   called after parsing, regardless of the outcome.
8f0b66
-
8f0b66
- Other changes
8f0b66
- -------------
8f0b66
-
8f0b66
- * Official support for Python 3.1.2 and later.
8f0b66
-
8f0b66
- * Static MS Windows builds can now download their dependencies
8f0b66
-   themselves.
8f0b66
-
8f0b66
- * ``Element.attrib`` no longer uses a cyclic reference back to its
8f0b66
-   Element object.  It therefore no longer requires the garbage
8f0b66
-   collector to clean up.
8f0b66
-
8f0b66
- * Static builds include libiconv, in addition to libxml2 and libxslt.
8f0b66
8f0b66
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.8-4
8f0b66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
8f0b66
8f0b66
* Wed Dec 29 2010  David Malcolm <dmalcolm@redhat.com> - 2.2.8-3
8f0b66
- rebuild for newer python3
8f0b66
8f0b66
* Fri Nov  5 2010 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2.8-2
8f0b66
- Rebuild for newer libxml2
8f0b66
8f0b66
* Mon Sep  6 2010 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2.8-1
8f0b66
- 2.2.8 (2010-09-02)
8f0b66
- Bugs fixed
8f0b66
-
8f0b66
-     * Crash in newer libxml2 versions when moving elements between
8f0b66
-       documents that had attributes on replaced XInclude nodes.
8f0b66
-     * Import fix for urljoin in Python 3.1+.
8f0b66
8f0b66
* Tue Aug 24 2010 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2.7-3
8f0b66
- Don't byte-compile files during install because setup.py doesn't
8f0b66
  properly byte compile for Python version 3.2
8f0b66
8f0b66
* Sun Aug 22 2010 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2.7-2
8f0b66
- Rebuild for Python 3.2
8f0b66
8f0b66
* Mon Jul 26 2010 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2.7-1
8f0b66
- 2.2.7 (2010-07-24)
8f0b66
- Bugs fixed
8f0b66
-
8f0b66
-     * Crash in XSLT when generating text-only result documents with a stylesheet created in a different thread.
8f0b66
8f0b66
* Mon Jul 26 2010 David Malcolm <dmalcolm@redhat.com> - 2.2.6-4
8f0b66
- actually add the patch this time
8f0b66
8f0b66
* Mon Jul 26 2010 David Malcolm <dmalcolm@redhat.com> - 2.2.6-3
8f0b66
- workaround for 2to3 issue (patch 0; bug 600036)
8f0b66
8f0b66
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 2.2.6-2
8f0b66
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
8f0b66
8f0b66
* Tue Mar  2 2010 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2.6-1
8f0b66
- 2.2.6 (2010-03-02)
8f0b66
-
8f0b66
- Bugs fixed
8f0b66
-
8f0b66
-    * Fixed several Python 3 regressions by building with Cython 0.11.3.
8f0b66
8f0b66
* Mon Mar  1 2010 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2.5-1
8f0b66
- 2.2.5 (2010-02-28)
8f0b66
-
8f0b66
- Features added
8f0b66
-
8f0b66
-    * Support for running XSLT extension elements on the input root node
8f0b66
-      (e.g. in a template matching on "/").
8f0b66
-
8f0b66
- Bugs fixed
8f0b66
-
8f0b66
-    * Crash in XPath evaluation when reading smart strings from a document
8f0b66
-      other than the original context document.
8f0b66
-    * Support recent versions of html5lib by not requiring its XHTMLParser
8f0b66
-      in htmlparser.py anymore.
8f0b66
-    * Manually instantiating the custom element classes in lxml.objectify
8f0b66
-      could crash.
8f0b66
-    * Invalid XML text characters were not rejected by the API when they
8f0b66
-      appeared in unicode strings directly after non-ASCII characters.
8f0b66
-    * lxml.html.open_http_urllib() did not work in Python 3.
8f0b66
-    * The functions strip_tags() and strip_elements() in lxml.etree did
8f0b66
-      not remove all occurrences of a tag in all cases.
8f0b66
-    * Crash in XSLT extension elements when the XSLT context node is not
8f0b66
-      an element.
8f0b66
8f0b66
* Mon Feb 15 2010 Thomas Spura <tomspur@fedoraproject.org> - 2.2.4-2
8f0b66
- update to current python3 guidelines
8f0b66
- be more explicit in %%files
8f0b66
- use %%global and not %%define
8f0b66
- create docs subpackage
8f0b66
- add stripping 3-byte Byte Order Marker from src/lxml/tests/test_errors.py
8f0b66
  to get 2to3 to work (dmalcolm)
8f0b66
- fixes FTBFS (#564674)
8f0b66
8f0b66
* Thu Jan 14 2010 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2.4-1
8f0b66
- Update to 2.2.4
8f0b66
- Enable Python 3 subpackage
8f0b66
8f0b66
* Thu Nov  5 2009 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2.3-3
8f0b66
- F-13's python build chain must be a little different...
8f0b66
8f0b66
* Thu Nov  5 2009 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2.3-2
8f0b66
- Add option to build a Python 3 subpackage, original patch by David Malcolm
8f0b66
8f0b66
* Fri Oct 30 2009 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2.3-1
8f0b66
- 2.2.3 (2009-10-30)
8f0b66
- Bugs fixed
8f0b66
-
8f0b66
-    * The resolve_entities option did not work in the incremental feed
8f0b66
-      parser.
8f0b66
-    * Looking up and deleting attributes without a namespace could hit a
8f0b66
-      namespaced attribute of the same name instead.
8f0b66
-    * Late errors during calls to SubElement() (e.g. attribute related
8f0b66
-      ones) could leave a partially initialised element in the tree.
8f0b66
-    * Modifying trees that contain parsed entity references could result
8f0b66
-      in an infinite loop.
8f0b66
-    * ObjectifiedElement.__setattr__ created an empty-string child element
8f0b66
-      when the attribute value was rejected as a non-unicode/non-ascii
8f0b66
-      string
8f0b66
-    * Syntax errors in lxml.cssselect could result in misleading error
8f0b66
-      messages.
8f0b66
-    * Invalid syntax in CSS expressions could lead to an infinite loop in
8f0b66
-      the parser of lxml.cssselect.
8f0b66
-    * CSS special character escapes were not properly handled in
8f0b66
-      lxml.cssselect.
8f0b66
-    * CSS Unicode escapes were not properly decoded in lxml.cssselect.
8f0b66
-    * Select options in HTML forms that had no explicit value attribute
8f0b66
-      were not handled correctly. The HTML standard dictates that their
8f0b66
-      value is defined by their text content. This is now supported by
8f0b66
-      lxml.html.
8f0b66
-    * XPath raised a TypeError when finding CDATA sections. This is now
8f0b66
-      fully supported.
8f0b66
-    * Calling help(lxml.objectify) didn't work at the prompt.
8f0b66
-    * The ElementMaker in lxml.objectify no longer defines the default
8f0b66
-      namespaces when annotation is disabled.
8f0b66
-    * Feed parser failed to honour the 'recover' option on parse errors.
8f0b66
-    * Diverting the error logging to Python's logging system was broken.
8f0b66
8f0b66
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.2-2
8f0b66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
8f0b66
8f0b66
* Sun Jun 21 2009 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2.2-1
8f0b66
- 2.2.2 (2009-06-21)
8f0b66
- Features added
8f0b66
-
8f0b66
-    * New helper functions strip_attributes(), strip_elements(),
8f0b66
-      strip_tags() in lxml.etree to remove attributes/subtrees/tags
8f0b66
-      from a subtree.
8f0b66
-
8f0b66
- Bugs fixed
8f0b66
-
8f0b66
-    * Namespace cleanup on subtree insertions could result in missing
8f0b66
-      namespace declarations (and potentially crashes) if the element
8f0b66
-      defining a namespace was deleted and the namespace was not used
8f0b66
-      by the top element of the inserted subtree but only in deeper
8f0b66
-      subtrees.
8f0b66
-    * Raising an exception from a parser target callback didn't always
8f0b66
-      terminate the parser.
8f0b66
-    * Only {true, false, 1, 0} are accepted as the lexical representation
8f0b66
-      for BoolElement ({True, False, T, F, t, f} not any more), restoring
8f0b66
-      lxml <= 2.0 behaviour.
8f0b66
8f0b66
* Tue Jun  2 2009 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2.1-1
8f0b66
- 2.2.1 (2009-06-02)
8f0b66
- Features added
8f0b66
-
8f0b66
-    * Injecting default attributes into a document during XML Schema
8f0b66
-      validation (also at parse time).
8f0b66
-    * Pass huge_tree parser option to disable parser security restrictions
8f0b66
-      imposed by libxml2 2.7.
8f0b66
-
8f0b66
- Bugs fixed
8f0b66
-
8f0b66
-    * The script for statically building libxml2 and libxslt didn't work
8f0b66
-      in Py3.
8f0b66
-    * XMLSchema() also passes invalid schema documents on to libxml2 for
8f0b66
-      parsing (which could lead to a crash before release 2.6.24).
8f0b66
8f0b66
* Tue Mar 24 2009 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2-1
8f0b66
- 2.2 (2009-03-21)
8f0b66
- Features added
8f0b66
-
8f0b66
-    * Support for standalone flag in XML declaration through
8f0b66
-      tree.docinfo.standalone and by passing standalone=True/False on
8f0b66
-      serialisation.
8f0b66
-
8f0b66
- Bugs fixed
8f0b66
-
8f0b66
-    * Crash when parsing an XML Schema with external imports from a
8f0b66
-      filename.
8f0b66
8f0b66
* Fri Feb 27 2009 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2-0.8.beta4
8f0b66
- 2.2beta4 (2009-02-27)
8f0b66
- Features added
8f0b66
-
8f0b66
-    * Support strings and instantiable Element classes as child arguments
8f0b66
-      to the constructor of custom Element classes.
8f0b66
-    * GZip compression support for serialisation to files and file-like
8f0b66
-      objects.
8f0b66
-
8f0b66
- Bugs fixed
8f0b66
-
8f0b66
-    * Deep-copying an ElementTree copied neither its sibling PIs and
8f0b66
-      comments nor its internal/external DTD subsets.
8f0b66
-    * Soupparser failed on broken attributes without values.
8f0b66
-    * Crash in XSLT when overwriting an already defined attribute using
8f0b66
-      xsl:attribute.
8f0b66
-    * Crash bug in exception handling code under Python 3. This was due to
8f0b66
-      a problem in Cython, not lxml itself.
8f0b66
-    * lxml.html.FormElement._name() failed for non top-level forms.
8f0b66
-    * TAG special attribute in constructor of custom Element classes was
8f0b66
-      evaluated incorrectly.
8f0b66
-
8f0b66
- Other changes
8f0b66
-
8f0b66
-    * Official support for Python 3.0.1.
8f0b66
-    * Element.findtext() now returns an empty string instead of None for
8f0b66
-      Elements without text content.
8f0b66
8f0b66
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-0.7.beta3
8f0b66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
8f0b66
8f0b66
* Tue Feb 17 2009 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2-0.6.beta3
8f0b66
- 2.2beta3 (2009-02-17)
8f0b66
- Features added
8f0b66
-
8f0b66
-    * XSLT.strparam() class method to wrap quoted string parameters that
8f0b66
-     require escaping.
8f0b66
-
8f0b66
- Bugs fixed
8f0b66
-
8f0b66
-    * Memory leak in XPath evaluators.
8f0b66
-    * Crash when parsing indented XML in one thread and merging it with
8f0b66
-      other documents parsed in another thread.
8f0b66
-    * Setting the base attribute in lxml.objectify from a unicode string
8f0b66
-      failed.
8f0b66
-    * Fixes following changes in Python 3.0.1.
8f0b66
-    * Minor fixes for Python 3.
8f0b66
-
8f0b66
- Other changes
8f0b66
-
8f0b66
-    * The global error log (which is copied into the exception log) is now
8f0b66
-      local to a thread, which fixes some race conditions.
8f0b66
-    * More robust error handling on serialisation.
8f0b66
8f0b66
* Sun Jan 25 2009 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2-0.5.beta2
8f0b66
- 2.2beta2 (2009-01-25)
8f0b66
- Bugs fixed
8f0b66
-
8f0b66
-    * Potential memory leak on exception handling. This was due to a
8f0b66
-      problem in Cython, not lxml itself.
8f0b66
-    * iter_links (and related link-rewriting functions) in lxml.html would
8f0b66
-      interpret CSS like url("link") incorrectly (treating the quotation
8f0b66
-      marks as part of the link).
8f0b66
-    * Failing import on systems that have an io module.
8f0b66
8f0b66
* Fri Dec 12 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2-0.4.beta1
8f0b66
- 2.2beta1 (2008-12-12)
8f0b66
- Features added
8f0b66
-
8f0b66
-    * Allow lxml.html.diff.htmldiff to accept Element objects,
8f0b66
-      not just HTML strings.
8f0b66
-
8f0b66
- Bugs fixed
8f0b66
-
8f0b66
-    * Crash when using an XPath evaluator in multiple threads.
8f0b66
-    * Fixed missing whitespace before Link:... in lxml.html.diff.
8f0b66
-
8f0b66
- Other changes
8f0b66
-
8f0b66
-    * Export lxml.html.parse.
8f0b66
8f0b66
* Fri Nov 28 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2-0.3.alpha1
8f0b66
- Rebuild for Python 2.6
8f0b66
8f0b66
* Mon Nov 24 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2-0.2.alpha1
8f0b66
- Don't forget to upload the sources!
8f0b66
8f0b66
* Mon Nov 24 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2-0.1.alpha1
8f0b66
- 2.2alpha1 (2008-11-23)
8f0b66
- Features added
8f0b66
-
8f0b66
-    * Support for XSLT result tree fragments in XPath/XSLT extension
8f0b66
-      functions.
8f0b66
-    * QName objects have new properties namespace and localname.
8f0b66
-    * New options for exclusive C14N and C14N without comments.
8f0b66
-    * Instantiating a custom Element classes creates a new Element.
8f0b66
-
8f0b66
- Bugs fixed
8f0b66
-
8f0b66
-    * XSLT didn't inherit the parse options of the input document.
8f0b66
-    * 0-bytes could slip through the API when used inside of Unicode
8f0b66
-      strings.
8f0b66
-    * With lxml.html.clean.autolink, links with balanced parenthesis, that
8f0b66
-      end in a parenthesis, will be linked in their entirety (typical with
8f0b66
-      Wikipedia links).
8f0b66
8f0b66
* Mon Nov 17 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.1.3-1
8f0b66
- 2.1.3 (2008-11-17)
8f0b66
- Bugs fixed
8f0b66
-
8f0b66
-    * Ref-count leaks when lxml enters a try-except statement while an
8f0b66
-      outside exception lives in sys.exc_*(). This was due to a problem
8f0b66
-      in Cython, not lxml itself.
8f0b66
-    * Parser Unicode decoding errors could get swallowed by other
8f0b66
-      exceptions.
8f0b66
-    * Name/import errors in some Python modules.
8f0b66
-    * Internal DTD subsets that did not specify a system or public ID
8f0b66
-      were not serialised and did not appear in the docinfo property
8f0b66
-      of ElementTrees.
8f0b66
-    * Fix a pre-Py3k warning when parsing from a gzip file in Py2.6.
8f0b66
-    * Test suite fixes for libxml2 2.7.
8f0b66
-    * Resolver.resolve_string() did not work for non-ASCII byte strings.
8f0b66
-    * Resolver.resolve_file() was broken.
8f0b66
-    * Overriding the parser encoding didn't work for many encodings.
8f0b66
8f0b66
* Fri Sep  5 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.1.2-1
8f0b66
- 2.1.2 (2008-09-05)
8f0b66
- Features added
8f0b66
-
8f0b66
-    * lxml.etree now tries to find the absolute path name of files when
8f0b66
-      parsing from a file-like object. This helps custom resolvers when
8f0b66
-      resolving relative URLs, as lixbml2 can prepend them with the path of
8f0b66
-      the source document.
8f0b66
-
8f0b66
- Bugs fixed
8f0b66
-
8f0b66
-    * Memory problem when passing documents between threads.
8f0b66
-    * Target parser did not honour the recover option and raised an exception
8f0b66
-      instead of calling .close() on the target.
8f0b66
8f0b66
* Fri Jul 25 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.1.1-1
8f0b66
- Update to 2.1.1
8f0b66
8f0b66
* Fri Jun 20 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.0.7-1
8f0b66
- Update to 2.0.7
8f0b66
- Update download URL
8f0b66
8f0b66
* Sat May 31 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.0.6-1
8f0b66
- Update to 2.0.6
8f0b66
8f0b66
* Thu May  8 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.0.5-1
8f0b66
- Update to 2.0.5
8f0b66
8f0b66
* Wed Mar 26 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.0.3-1
8f0b66
- Update to 2.0.3
8f0b66
8f0b66
* Sat Feb 23 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.0.2-1
8f0b66
- Update to 2.0.2
8f0b66
8f0b66
* Tue Feb 19 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.0.1-1
8f0b66
- Update to 2.0.1
8f0b66
8f0b66
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.3.6-2
8f0b66
- Autorebuild for GCC 4.3
8f0b66
8f0b66
* Sun Nov  4 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.3.6-1
8f0b66
- Update to 1.3.6.
8f0b66
8f0b66
* Mon Oct 22 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.3.5-1
8f0b66
- Update to 1.3.5.
8f0b66
8f0b66
* Thu Aug 30 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.3.4-1
8f0b66
- Update to 1.3.4.
8f0b66
8f0b66
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 1.3.3-3
8f0b66
- Rebuild for selinux ppc32 issue.
8f0b66
8f0b66
* Tue Aug 28 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.3.3-2
8f0b66
- BR python-setuptools-devel
8f0b66
8f0b66
* Mon Jul 30 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.3.3-1
8f0b66
- Update to 1.3.3
8f0b66
8f0b66
* Fri Jan 19 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.1.2-1
8f0b66
- Update to 1.1.2
8f0b66
8f0b66
* Thu Dec 14 2006 Jason L Tibbitts III <tibbs@math.uh.edu> - 1.0.3-3
8f0b66
- Rebuild for new Python
8f0b66
8f0b66
* Sat Sep 16 2006 Shahms E. King <shahms@shahms.com> 1.0.3-2
8f0b66
- Rebuild for FC6
8f0b66
8f0b66
* Thu Aug 17 2006 Shahms E. King <shahms@shahms.com> 1.0.3-1
8f0b66
- Update to new upstream version
8f0b66
8f0b66
* Fri Aug 11 2006 Shahms E. King <shahms@shahms.com> 1.0.2-2
8f0b66
- Include, don't ghost .pyo files per new guidelines
8f0b66
8f0b66
* Fri Jul 07 2006 Shahms E. King <shahms@shahms.com> 1.0.2-1
8f0b66
- Update to new upstream release
8f0b66
8f0b66
* Mon Jun 26 2006 Shahms E. King <shahms@shahms.com> 1.0.1-1
8f0b66
- Update to new upstream release
8f0b66
8f0b66
* Fri Jun 02 2006 Shahms E. King <shahms@shahms.com> 1.0-1
8f0b66
- Update to new upstream 1.0 release
8f0b66
8f0b66
* Wed Apr 26 2006 Shahms E. King <shahms@shahms.com> 0.9.1-3
8f0b66
- Add python-setuptools to BuildRequires
8f0b66
- Use dist tag
8f0b66
8f0b66
* Wed Apr 26 2006 Shahms E. King <shahms@shahms.com> 0.9.1-2
8f0b66
- Fix summary and description
8f0b66
8f0b66
* Tue Apr 18 2006 Shahms E. King <shahms@shahms.com> 0.9.1-1
8f0b66
- update the new upstream version
8f0b66
- remove Pyrex build req
8f0b66
8f0b66
* Tue Dec 13 2005 Shahms E. King <shahms@shahms.com> 0.8-1
8f0b66
- Initial package