]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.10] bpo-46784: Add newly exported expat symbols to the namespace. (GH-31397) ...
authorGregory P. Smith <greg@krypto.org>
Sat, 19 Feb 2022 00:53:49 +0000 (16:53 -0800)
committerGitHub <noreply@github.com>
Sat, 19 Feb 2022 00:53:49 +0000 (16:53 -0800)
commite05e3d20d309603010f2c1194e612f894ad8a985
treeb5923b089c77ca0997ebf626d286a6bb0ebcc546
parent6eb34772fda2e46ba9a265e038b6e0f303bd790e
[3.10] bpo-46784: Add newly exported expat symbols to the namespace. (GH-31397) (GH-31420)

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>
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