]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-46784: Add newly exported expat symbols to the namespace. (GH-31397)
authorYilei "Dolee" Yang <yileiyang@google.com>
Fri, 18 Feb 2022 22:33:06 +0000 (14:33 -0800)
committerGitHub <noreply@github.com>
Fri, 18 Feb 2022 22:33:06 +0000 (14:33 -0800)
commit6312c1052c0186b4596fc45c42fd3ade9f8f5911
treec57f8f3591daa6d5514493f7076c14d43f7852cb
parent892ff93d7f47f8edae5c8a0f5d5ffd4b0a8f8d77
bpo-46784: Add newly exported expat symbols to the namespace. (GH-31397)

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
Misc/NEWS.d/next/Library/2022-02-18-22-10-30.bpo-46784.SVOQJx.rst [new file with mode: 0644]
Modules/expat/pyexpatns.h