1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 20:25:14 +03:00
libxml2/python
Nick Wellnhofer aca16fb3d4 tree: Report malloc failures
Fix many places where malloc failures aren't reported.

Make some API function return an error code. Changing the return type
from void to int is technically an ABI break but should be safe on most
platforms.

- xmlNodeSetContent
- xmlNodeSetContentLen
- xmlNodeAddContent
- xmlNodeAddContentLen
- xmlNodeSetBase

Introduce new API functions that return a separate error code if a
memory allocation fails.

- xmlNodeGetAttrValue
- xmlNodeGetBaseSafe
- xmlGetNsListSafe

Introduce private functions xmlTreeEnsureXMLDecl and xmlSplitQName4.

Don't report low-level errors to the global error handler.

Fix tree

Introduce xmlGetNsListSafe

Fix tree
2023-12-11 22:13:05 +01:00
..
tests tree: Report malloc failures 2023-12-11 22:13:05 +01:00
.gitignore .gitignore: Split up and rearrange .gitignore files 2023-04-30 16:22:27 +02:00
drv_libxml2.py python 3: libxml2.c wrappers create Unicode str already 2016-03-11 16:18:13 +08:00
generator.py nanohttp: Deprecate public API 2023-11-27 13:43:06 +01:00
libxml2-python-api.xml Fix typos 2020-03-08 17:41:53 +01:00
libxml_wrap.h Avoid EDG deprecation warnings for LCC compiler 2023-11-22 05:34:56 +00:00
libxml.c Remove Trio 2023-11-23 15:48:52 +01:00
libxml.py Fix typos 2020-03-08 17:41:53 +01:00
Makefile.am python: Make sure to distribute new files 2023-11-04 19:32:07 +01:00
pyproject.toml python: Make it compatible with python3.12 2023-10-23 18:02:03 +02:00
README Redirect links to xmlsoft.org 2022-02-13 23:10:00 +01:00
setup.py.in python: Make it compatible with python3.12 2023-10-23 18:02:03 +02:00
types.c error: Make xmlGetLastError return a const error 2023-09-22 13:29:07 +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:
    https://gitlab.gnome.org/GNOME/libxml2/-/wikis/home
    and
    https://gitlab.gnome.org/GNOME/libxslt/-/wikis/home

The latest version of the sources for this module and the
associated libraries can be found at:
    https://gitlab.gnome.org/GNOME/libxml2/-/releases

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