Skip to content

Comments

[3.10] bpo-46784: Add newly exported expat symbols to the namespace. (GH-31397)#31420

Merged
gpshead merged 1 commit intopython:3.10from
gpshead:backport-6312c10-3.10
Feb 19, 2022
Merged

[3.10] bpo-46784: Add newly exported expat symbols to the namespace. (GH-31397)#31420
gpshead merged 1 commit intopython:3.10from
gpshead:backport-6312c10-3.10

Conversation

@gpshead
Copy link
Member

@gpshead gpshead commented Feb 18, 2022

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

(The newer libexpat upgrade has no new symbols).

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

Co-authored-by: Yilei "Dolee" Yang [email protected]

https://bugs.python.org/issue46784

…ythonGH-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
(cherry picked from commit 6312c10)

Co-authored-by: Yilei "Dolee" Yang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants