bpo-43795: Mark PyCodec_Unregister as a function, not data, in stable… · python/cpython@8f3ef45

GitHub

Original file line numberDiff line numberDiff line change@@ -0,0 +1,2 @@

1+:c:func:`PyCodec_Unregister` is now properly exported as a function in the

2+Windows Stable ABI DLL.

Original file line numberDiff line numberDiff line change@@ -2097,7 +2097,7 @@ function PyModule_AddObjectRef

20972097 added 3.10

20982098data Py_FileSystemDefaultEncodeErrors

20992099 added 3.10

2100-data PyCodec_Unregister

2100+function PyCodec_Unregister

21012101 added 3.10

21022102function PyErr_SetInterruptEx

21032103 added 3.10

Original file line numberDiff line numberDiff line change@@ -156,6 +156,7 @@ EXPORT_FUNC(PyCodec_ReplaceErrors)

156156EXPORT_FUNC(PyCodec_StreamReader)

157157EXPORT_FUNC(PyCodec_StreamWriter)

158158EXPORT_FUNC(PyCodec_StrictErrors)

159+EXPORT_FUNC(PyCodec_Unregister)

159160EXPORT_FUNC(PyCodec_XMLCharRefReplaceErrors)

160161EXPORT_FUNC(PyComplex_FromDoubles)

161162EXPORT_FUNC(PyComplex_ImagAsDouble)

@@ -734,7 +735,6 @@ EXPORT_DATA(PyCallIter_Type)

734735EXPORT_DATA(PyCapsule_Type)

735736EXPORT_DATA(PyCFunction_Type)

736737EXPORT_DATA(PyClassMethodDescr_Type)

737-EXPORT_DATA(PyCodec_Unregister)

738738EXPORT_DATA(PyComplex_Type)

739739EXPORT_DATA(PyDict_Type)

740740EXPORT_DATA(PyDictItems_Type)