[Python-Dev] Issue #23903 - stable API is incomplete

Serhiy Storchaka storchaka at gmail.com
Wed Dec 21 08:06:44 EST 2016


On 21.12.16 11:50, Victor Stinner wrote:
> 2016-12-21 2:52 GMT+01:00 Steve Dower <steve.dower at python.org>:
>> _PyBytes_DecodeEscape
>> _PyDebug_PrintTotalRefs
>> _PyThreadState_Current
>> _PyTrash_thread_deposit_object
>> _PyTrash_thread_destroy_chain
>> _PyUnicode_DecodeUnicodeEscape
>> _Py_AddToAllObjects
>> _Py_ForgetReference
>> _Py_GetRefTotal
>> _Py_HashSecret_Initialized
>> _Py_NegativeRefcount
>> _Py_NewReference
>> _Py_PrintReferenceAddresses
>> _Py_PrintReferences
>> _Py_RefTotal
>
> These functions are private. Would it be possible to not export them?

Private functions used in public macros (like _Py_NewReference) should 
be exported.




More information about the Python-Dev mailing list