diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-03-08 09:35:47 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-08 09:35:47 (GMT) |
commit | ccbc31ecf3a08ef626be9bbb099f0ce801142fc8 (patch) | |
tree | 53e0a8336e748d49b719d2d178d8e935d50afd4a /Misc | |
parent | 28ad79e732f8bba7b7cf02e006c1e36b88adeefd (diff) | |
download | cpython-ccbc31ecf3a08ef626be9bbb099f0ce801142fc8.zip cpython-ccbc31ecf3a08ef626be9bbb099f0ce801142fc8.tar.gz cpython-ccbc31ecf3a08ef626be9bbb099f0ce801142fc8.tar.bz2 |
bpo-46784: Add newly exported expat symbols to the namespace. (GH-31397) (GH-31419)
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>
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2022-02-18-22-10-30.bpo-46784.SVOQJx.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-02-18-22-10-30.bpo-46784.SVOQJx.rst b/Misc/NEWS.d/next/Library/2022-02-18-22-10-30.bpo-46784.SVOQJx.rst new file mode 100644 index 0000000..d190816 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2022-02-18-22-10-30.bpo-46784.SVOQJx.rst @@ -0,0 +1 @@ +Fix libexpat symbols collisions with user dynamically loaded or statically linked libexpat in embedded Python. |