Message368582
"""
Following functions likely should be wrapped with "#ifndef Py_LIMITED_API":
_PyUnicode_ClearStaticStrings
_PyUnicode_EQ
_PyUnicode_FromId
"""
It's already the case since at least Python 3.7. Extract of Python 3.7 Include/unicodeobject.h:
#ifndef Py_LIMITED_API
/* Return an interned Unicode object for an Identifier; may fail if there is no memory.*/
PyAPI_FUNC(PyObject*) _PyUnicode_FromId(_Py_Identifier*);
/* Clear all static strings. */
PyAPI_FUNC(void) _PyUnicode_ClearStaticStrings(void);
/* Fast equality check when the inputs are known to be exact unicode types
and where the hash values are equal (i.e. a very probable match) */
PyAPI_FUNC(int) _PyUnicode_EQ(PyObject *, PyObject *);
#endif /* !Py_LIMITED_API */ |
|
Date |
User |
Action |
Args |
2020-05-10 10:10:52 | vstinner | set | recipients:
+ vstinner, lemburg, georg.brandl, alexandre.vassalotti, donlorenzo, docs@python, berker.peksag, martin.panter, serhiy.storchaka, furkanonder |
2020-05-10 10:10:52 | vstinner | set | messageid: <1589105452.02.0.122243077367.issue1944@roundup.psfhosted.org> |
2020-05-10 10:10:52 | vstinner | link | issue1944 messages |
2020-05-10 10:10:51 | vstinner | create | |
|