| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#2203)
* bpo-29591: Upgrade Modules/expat to libexpat 2.2 (#2164)
* bpo-29591: Upgrade Modules/expat to libexpat 2.2
* bpo-29591: Restore Python changes on expat
* bpo-29591: Remove expat config of unsupported platforms
Remove the configuration (Modules/expat/*config.h) of unsupported
platforms:
* Amiga
* MacOS Classic on PPC32
* Open Watcom
* bpo-29591: Remove useless XML_HAS_SET_HASH_SALT
The XML_HAS_SET_HASH_SALT define of Modules/expat/expat.h became
useless since our local expat copy was upgrade to expat 2.1 (it's now
expat 2.2.0).
(cherry picked from commit 23ec4b57e1359f9c539b8defc317542173ae087e)
* bpo-30694: Upgrade Modules/expat/ to libexpat 2.2.1 (#2300)
New file: Modules/expat/siphash.h.
(cherry picked from commit 5ff7132313eb651107b179d20218dfe5d4e47f13)
* bpo-30726: PCbuild _elementtree: remove duplicate defines (#2348)
bpo-30726, bpo-29591: libexpat 2.2.1 of Modules/expat/ now uses
a winconfig.h configuration file which already defines:
* XML_NS
* XML_DTD
* BYTEORDER=1234
* XML_CONTEXT_BYTES=1024
* HAVE_MEMMOVE
Remove these defines from PCbuild/_elementtree.vcxproj to prevent
compiler warnings.
Co-Authored-By: Jeremy Kloth <jeremy.kloth@gmail.com>
(cherry picked from commit c8fb58bd7917151e63398587a7fc2126db7c26de)
* bpo-30726: Fix elementtree warnings on Windows due to expat upgrade (#2319)
* bpo-30726: Fix elementtree warnings on Windows
Caused by usage of `getenv` which should be safe. And a few integer
truncations which should also be ok.
* bpo-30726: Don't ignore libexpat warnings which haypo intends to fix upstream
(cherry picked from commit 87c65550730a8f85ce339ba197bce4fb7e836619)
|
| |
|
|
| |
expat parser.
|
| |
|
|
|
| |
Added additional tests for expat parser attributes.
Based on patch by John Leitch.
|
| |
|
|
| |
overflows. Added few missed PyErr_NoMemory().
|
| |
|
|
|
|
| |
exception tracebacks.
Initial patch by Mark Shannon.
|
| |
|
|
|
|
| |
to parse more than one XML document per pyexpat xmlparser instance.
(Original patches by Hirokazu Yamamoto and Amaury Forgeot d'Arc, with
suggested wording by David Gutteridge)
|
| |\ |
|
| | | |
|
| | | |
|
| | |
| |
| |
| | |
Python now uses SipHash24 on all major platforms.
|
| |\ \
| |/
| |
| | |
CID 486814
|
| | |
| |
| |
| | |
CID 486814
|
| |\ \
| |/
| |
| | |
CID 486663
|
| | |
| |
| |
| | |
CID 486663
|
| | |
| |
| |
| | |
functions if a Python exception was raised
|
| | |
| |
| |
| |
| | |
Check if XML_ParserCreate_MM() failed (ex: MemoryError) before using
self->itself.
|
| | |
| |
| |
| | |
cElementTree uses the same approach since at least Python 2.6
|
| | |
| |
| |
| |
| | |
Replace malloc() with PyMem_Malloc() when the GIL is held, or with
PyMem_RawMalloc() otherwise.
|
| | |
| |
| |
| | |
u can be NULL, use XDECREF
|
| |/
|
|
|
| |
CID 1040367 (#1 of 1): Resource leak (RESOURCE_LEAK)
leaked_storage: Variable u going out of scope leaks the storage it points to.
|
| |
|
|
|
|
|
| |
This affects pyexpat and _elementtree. PyExpat_CAPI now exposes a new
function - DefaultUnknownEncodingHandler.
Based on a patch by Serhiy Storchaka.
|
| |
|
|
| |
an internal XML encoding is UTF-8 or US-ASCII.
|
| |\
| |
| |
| |
| | |
an internal XML encoding is UTF-8 or US-ASCII. It now accepts bytes and
strings larger than 2 GiB.
|
| | |
| |
| |
| |
| | |
an internal XML encoding is UTF-8 or US-ASCII. It now accepts bytes and
strings larger than 2 GiB.
|
| | |
| |
| |
| | |
method doesn't require an argument again.
|
| | |
| |
| |
| | |
UseForeignDTD() method.
|
| |\ \
| |/
| |
| |
| |
| | |
errors correctly.
Patch by Serhiy Storchaka.
|
| | |
| |
| |
| |
| |
| | |
errors correctly.
Patch by Serhiy Storchaka.
|
| | |
| |
| |
| | |
Includes exposing a doctype handler from expat through pyexpat.
|
| |\ \
| |/
| |
| |
| | |
using --with-system-expat working when the system expat does not have
salted hash support.
|
| | |
| |
| |
| |
| | |
using --with-system-expat working when the system expat does not have
salted hash support.
|
| |\ \
| |/
| |
| |
| |
| | |
in the hash table internal to the pyexpat module's copy of the expat
library to avoid a denial of service due to hash collisions.
Patch by David Malcolm with some modifications by the expat project.
|
| | |\
| | |
| | |
| | |
| | |
| | | |
in the hash table internal to the pyexpat module's copy of the expat
library to avoid a denial of service due to hash collisions.
Patch by David Malcolm with some modifications by the expat project.
|
| | | |
| | |
| | |
| | |
| | |
| | | |
in the hash table internal to the pyexpat module's copy of the expat
library to avoid a denial of service due to hash collisions.
Patch by David Malcolm with some modifications by the expat project.
|
| | |\ \
| | |/ |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| |\ \ \
| |/ / |
|
| | |\ \
| | |/ |
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
svn+ssh://svn.python.org/python/branches/py3k
........
r85536 | georg.brandl | 2010-10-15 18:26:08 +0200 (Fr, 15 Okt 2010) | 1 line
#9054: fix crash when using pyexpat with a system expat lib version 2.0.1.
........
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r81032 | antoine.pitrou | 2010-05-09 17:52:27 +0200 (dim., 09 mai 2010) | 9 lines
Recorded merge of revisions 81029 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines
Untabify C files. Will watch buildbots.
........
................
|
| |\ \ \
| |/ / |
|
| | | | |
|
| |/ /
| |
| |
| | |
PyOS_snprintf().
|
| | |
| |
| |
| |
| |
| | |
Fix readinst() if file.read(n) returns a bytes object longer than n:
return -1 instead of the the buffer size to raise an exception.
Simplify also the function code.
|