Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
May 5, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
:c:func:`PyCodec_Unregister` is now properly exported as a function in the
Windows Stable ABI DLL.
2 changes: 1 addition & 1 deletion Misc/stable_abi.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion PC/python3dll.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down