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