Skip to content

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

Closed
miss-islington wants to merge 1 commit into
python:3.10from
miss-islington:backport-6312c10-3.10
Closed

miss-islington wants to merge 1 commit into
python:3.10from
miss-islington:backport-6312c10-3.10

Conversation

@miss-islington

@miss-islington miss-islington commented Feb 18, 2022 •

Copy link
Copy Markdown
Contributor

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 yileiyang@google.com

https://bugs.python.org/issue46784

@miss-islington

Copy link
Copy Markdown
Contributor Author

@yilei: Status check is done, and it's a success ✅ .

@miss-islington

Copy link
Copy Markdown
Contributor Author

@yilei: Status check is done, and it's a success ✅ .

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

Co-authored-by: Yilei "Dolee" Yang <yileiyang@google.com>
@miss-islington

Copy link
Copy Markdown
Contributor Author

@yilei: Status check is done, and it's a success ✅ .

@gpshead

gpshead commented Feb 19, 2022

Copy link
Copy Markdown
Member

superceded by #31420

@gpshead gpshead closed this Feb 19, 2022
@miss-islington
miss-islington deleted the backport-6312c10-3.10 branch February 19, 2022 01:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

5 participants