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