Skip to content

Commit

Permalink
gh-115398: Increment PyExpat_CAPI_MAGIC for SetReparseDeferralEnabled…
Browse files Browse the repository at this point in the history
… addition (GH-116301)

* Increment PyExpat_CAPI_MAGIC due to SetReparseDeferralEnabled addition.

This is a followup to git commit
6a95676 from Github PR #115623.

* RESTify news API list.
  • Loading branch information
gpshead committed Mar 4, 2024
1 parent 17c4849 commit eda2963
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Include/pyexpat.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

/* note: you must import expat.h before importing this module! */

#define PyExpat_CAPI_MAGIC "pyexpat.expat_CAPI 1.1"
#define PyExpat_CAPI_MAGIC "pyexpat.expat_CAPI 1.2"
#define PyExpat_CAPSULE_NAME "pyexpat.expat_CAPI"

struct PyExpat_CAPI
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Allow controlling Expat >=2.6.0 reparse deferral (CVE-2023-52425) by adding
five new methods:

* ``xml.etree.ElementTree.XMLParser.flush``
* ``xml.etree.ElementTree.XMLPullParser.flush``
* ``xml.parsers.expat.xmlparser.GetReparseDeferralEnabled``
* ``xml.parsers.expat.xmlparser.SetReparseDeferralEnabled``
* ``xml.sax.expatreader.ExpatParser.flush``
* :meth:`xml.etree.ElementTree.XMLParser.flush`
* :meth:`xml.etree.ElementTree.XMLPullParser.flush`
* :meth:`xml.parsers.expat.xmlparser.GetReparseDeferralEnabled`
* :meth:`xml.parsers.expat.xmlparser.SetReparseDeferralEnabled`
* :meth:`xml.sax.expatreader.ExpatParser.flush`

0 comments on commit eda2963

Please sign in to comment.