]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-46784: Add newly exported expat symbols to the namespace. (GH-31397) (GH-31418)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 21 Feb 2022 19:18:26 +0000 (11:18 -0800)
committerGitHub <noreply@github.com>
Mon, 21 Feb 2022 19:18:26 +0000 (14:18 -0500)
commit61f3c308e435c5294e674ef59fed1d51f47e0089
tree7f756fbaad9261136b75b1f6ea9d0fce83fe42ad
parentd4f5bb912e67299b59b814b89a5afd9a8821a14e
bpo-46784: Add newly exported expat symbols to the namespace. (GH-31397) (GH-31418)

The libexpat 2.4.1 upgrade from  introduced the following new exported symbols:

* `testingAccountingGetCountBytesDirect`
* `testingAccountingGetCountBytesIndirect`
* `unsignedCharToPrintable`
* `XML_SetBillionLaughsAttackProtectionActivationThreshold`
* `XML_SetBillionLaughsAttackProtectionMaximumAmplification`

We need to adjust [Modules/expat/pyexpatns.h](https://github.com/python/cpython/blob/master/Modules/expat/pyexpatns.h)

(The newer libexpat upgrade  has no new symbols).

Automerge-Triggered-By: GH:gpshead
(cherry picked from commit 6312c1052c0186b4596fc45c42fd3ade9f8f5911)

Co-authored-by: Yilei "Dolee" Yang <yileiyang@google.com>
Misc/NEWS.d/next/Library/2022-02-18-22-10-30.bpo-46784.SVOQJx.rst [new file with mode: 0644]
Modules/expat/pyexpatns.h