1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-27 04:55:04 +03:00
libxml2/python
John Beck 6bea543eca python/tests/sync.py assumes Python dictionaries are ordered
For https://bugzilla.gnome.org/show_bug.cgi?id=734017

Solaris has had libxml2 version 2.9.1 for a while, with Python versions 2.6 and
2.7.  While preparing to also build a module for Python 3.4, we ran into an
issue with the test case sync.py failing. The failure involved parsing a
string that included a Python dictionary, then complaining when the order of
the parsed result did not match the original order.  But Python dictionaries
are unordered by definition; see section 5.5 of
https://docs.python.org/2/tutorial/datastructures.html .  For whatever reason,
Python 2.6 and 2.7 always happened to report the pair of values back in their
original order, but with Python 3.4 the order is random.  The attached patch
allows for either order; it also fixes a typo that was repeated several times
thanks to the magic of copy & paste.
2014-10-06 18:26:27 +08:00
..
tests python/tests/sync.py assumes Python dictionaries are ordered 2014-10-06 18:26:27 +08:00
drv_libxml2.py Another round of fixes for older versions of Python 2013-07-12 11:18:11 +08:00
generator.py A few more fixes for python 3 affecting libxml2.py 2013-03-30 22:33:06 +08:00
libxml2-python-api.xml Add support for xpathRegisterVariable in Python 2013-03-27 15:55:36 +08:00
libxml_wrap.h Fix for compilation with python 2.6.8 2013-05-03 22:25:38 +08:00
libxml.c python: Fix compiler warnings when building python3 bindings 2013-06-03 22:03:28 +02:00
libxml.py Add methods for python3 iterator 2014-10-03 17:01:24 +08:00
Makefile.am Fix a linking error for python bindings 2013-04-19 15:02:33 +08:00
README
setup.py fix some tabs mixing incompatible with python3 2013-10-02 22:18:21 +08:00
setup.py.in First pass at starting porting to python3 2013-03-30 22:33:06 +08:00
TODO
types.c python: Fix compiler warnings when building python3 bindings 2013-06-03 22:03:28 +02:00

		Module libxml2-python
		=====================

This is the libxml2 python module, providing access to the
libxml2 and libxslt (if available) libraries. For general
informationss on those XML and XSLT libraries check their 
web pages at :
    http://xmlsoft.org/
    and
    http://xmlsoft.org/XSLT/

The latest version of the sources for this module and the
associated libraries can be found at:
    ftp://xmlsoft.org/

Binaries packages of the libxml2 and libxslt libraries can
be found either on the FTP site for Linux, from external
sources linked from the web pages, or as part of your set of
packages provided with your operating system.

NOTE:
this module distribution is not the primary distribution
of the libxml2 and libxslt Python binding code, but as 
the Python way of packaging those for non-Linux systems.
The main sources are the libxml2 and libxslt tar.gz found on
the site. One side effect is that the official RPM packages for
those modules are not generated from the libxml2-python
distributions but as part of the normal RPM packaging of
those two libraries.
The RPM packages can be found at:
    http://rpmfind.net/linux/rpm2html/search.php?query=libxml2-python
    http://rpmfind.net/linux/rpm2html/search.php?query=libxslt-python

Daniel Veillard