bpo-43795: Mark PyCodec_Unregister as a function, not data, in stable ABI (GH-25920)

(cherry picked from commit cf86996a8e)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
This commit is contained in:
Miss Islington (bot) 2021-05-05 11:15:25 -07:00 committed by GitHub
parent 10d6f6bfd7
commit 8f3ef457ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 2 deletions

View file

@ -0,0 +1,2 @@
:c:func:`PyCodec_Unregister` is now properly exported as a function in the
Windows Stable ABI DLL.

View file

@ -2097,7 +2097,7 @@ function PyModule_AddObjectRef
added 3.10
data Py_FileSystemDefaultEncodeErrors
added 3.10
data PyCodec_Unregister
function PyCodec_Unregister
added 3.10
function PyErr_SetInterruptEx
added 3.10

View file

@ -156,6 +156,7 @@ EXPORT_FUNC(PyCodec_ReplaceErrors)
EXPORT_FUNC(PyCodec_StreamReader)
EXPORT_FUNC(PyCodec_StreamWriter)
EXPORT_FUNC(PyCodec_StrictErrors)
EXPORT_FUNC(PyCodec_Unregister)
EXPORT_FUNC(PyCodec_XMLCharRefReplaceErrors)
EXPORT_FUNC(PyComplex_FromDoubles)
EXPORT_FUNC(PyComplex_ImagAsDouble)
@ -734,7 +735,6 @@ EXPORT_DATA(PyCallIter_Type)
EXPORT_DATA(PyCapsule_Type)
EXPORT_DATA(PyCFunction_Type)
EXPORT_DATA(PyClassMethodDescr_Type)
EXPORT_DATA(PyCodec_Unregister)
EXPORT_DATA(PyComplex_Type)
EXPORT_DATA(PyDict_Type)
EXPORT_DATA(PyDictItems_Type)