Staging
v0.5.1
https://github.com/python/cpython
Revision 71572bbe82aa0836c036d44d41c8269ba6a321be authored by Victor Stinner on 12 July 2017, 12:41:34 UTC, committed by larryhastings on 12 July 2017, 12:41:34 UTC
* 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)
1 parent f734479
History
Tip revision: 71572bbe82aa0836c036d44d41c8269ba6a321be authored by Victor Stinner on 12 July 2017, 12:41:34 UTC
[3.4] bpo-29591, bpo-30694: Upgrade Modules/expat to libexpat 2.2.1 (#2164) (#2203)
Tip revision: 71572bb
File Mode Size
Python-ast.h -rw-r--r-- 19.0 KB
Python.h -rw-r--r-- 2.8 KB
abstract.h -rw-r--r-- 42.1 KB
accu.h -rw-r--r-- 1016 bytes
asdl.h -rw-r--r-- 1.2 KB
ast.h -rw-r--r-- 477 bytes
bitset.h -rw-r--r-- 792 bytes
bltinmodule.h -rw-r--r-- 264 bytes
boolobject.h -rw-r--r-- 886 bytes
bytearrayobject.h -rw-r--r-- 2.1 KB
bytes_methods.h -rw-r--r-- 2.0 KB
bytesobject.h -rw-r--r-- 4.8 KB
cellobject.h -rw-r--r-- 701 bytes
ceval.h -rw-r--r-- 7.0 KB
classobject.h -rw-r--r-- 1.6 KB
code.h -rw-r--r-- 4.1 KB
codecs.h -rw-r--r-- 6.4 KB
compile.h -rw-r--r-- 2.1 KB
complexobject.h -rw-r--r-- 1.9 KB
datetime.h -rw-r--r-- 8.3 KB
descrobject.h -rw-r--r-- 2.8 KB
dictobject.h -rw-r--r-- 5.1 KB
dtoa.h -rw-r--r-- 458 bytes
dynamic_annotations.h -rw-r--r-- 21.9 KB
enumobject.h -rw-r--r-- 253 bytes
errcode.h -rw-r--r-- 1.5 KB
eval.h -rw-r--r-- 597 bytes
fileobject.h -rw-r--r-- 1.8 KB
fileutils.h -rw-r--r-- 1.5 KB
floatobject.h -rw-r--r-- 4.5 KB
frameobject.h -rw-r--r-- 3.5 KB
funcobject.h -rw-r--r-- 3.7 KB
genobject.h -rw-r--r-- 1.1 KB
graminit.h -rw-r--r-- 1.8 KB
grammar.h -rw-r--r-- 2.0 KB
import.h -rw-r--r-- 3.8 KB
intrcheck.h -rw-r--r-- 460 bytes
iterobject.h -rw-r--r-- 567 bytes
listobject.h -rw-r--r-- 2.8 KB
longintrepr.h -rw-r--r-- 3.9 KB
longobject.h -rw-r--r-- 8.0 KB
marshal.h -rw-r--r-- 803 bytes
memoryobject.h -rw-r--r-- 2.8 KB
metagrammar.h -rw-r--r-- 253 bytes
methodobject.h -rw-r--r-- 3.2 KB
modsupport.h -rw-r--r-- 4.8 KB
moduleobject.h -rw-r--r-- 1.6 KB
namespaceobject.h -rw-r--r-- 297 bytes
node.h -rw-r--r-- 1008 bytes
object.h -rw-r--r-- 37.6 KB
objimpl.h -rw-r--r-- 13.5 KB
opcode.h -rw-r--r-- 5.1 KB
osdefs.h -rw-r--r-- 848 bytes
parsetok.h -rw-r--r-- 2.8 KB
patchlevel.h -rw-r--r-- 1.1 KB
pgen.h -rw-r--r-- 253 bytes
pgenheaders.h -rw-r--r-- 1.1 KB
py_curses.h -rw-r--r-- 4.1 KB
pyarena.h -rw-r--r-- 2.7 KB
pyatomic.h -rw-r--r-- 5.8 KB
pycapsule.h -rw-r--r-- 1.7 KB
pyctype.h -rw-r--r-- 1.3 KB
pydebug.h -rw-r--r-- 1019 bytes
pyerrors.h -rw-r--r-- 15.6 KB
pyexpat.h -rw-r--r-- 2.3 KB
pyfpe.h -rw-r--r-- 8.3 KB
pygetopt.h -rw-r--r-- 388 bytes
pyhash.h -rw-r--r-- 4.2 KB
pymacconfig.h -rw-r--r-- 2.9 KB
pymacro.h -rw-r--r-- 2.8 KB
pymath.h -rw-r--r-- 7.0 KB
pymem.h -rw-r--r-- 6.6 KB
pyport.h -rw-r--r-- 30.2 KB
pystate.h -rw-r--r-- 8.9 KB
pystrcmp.h -rw-r--r-- 436 bytes
pystrtod.h -rw-r--r-- 1.2 KB
pythonrun.h -rw-r--r-- 9.9 KB
pythread.h -rw-r--r-- 3.0 KB
pytime.h -rw-r--r-- 2.8 KB
rangeobject.h -rw-r--r-- 629 bytes
setobject.h -rw-r--r-- 3.2 KB
sliceobject.h -rw-r--r-- 1.6 KB
structmember.h -rw-r--r-- 2.0 KB
structseq.h -rw-r--r-- 1.3 KB
symtable.h -rw-r--r-- 5.0 KB
sysmodule.h -rw-r--r-- 1.3 KB
token.h -rw-r--r-- 1.8 KB
traceback.h -rw-r--r-- 2.2 KB
tupleobject.h -rw-r--r-- 2.4 KB
typeslots.h -rw-r--r-- 2.0 KB
ucnhash.h -rw-r--r-- 1.0 KB
unicodeobject.h -rw-r--r-- 76.3 KB
warnings.h -rw-r--r-- 1.4 KB
weakrefobject.h -rw-r--r-- 2.8 KB

back to top