Oh right, Cython seems to be a false positive. A code search found 3 references to __Pyx_PyObject_LookupSpecial():
PYPI-2022-01-26-TOP-5000/Cython-0.29.26.tar.gz: Cython-0.29.26/Cython/Compiler/ExprNodes.py: lookup_func_name = '__Pyx_PyObject_LookupSpecial' PYPI-2022-01-26-TOP-5000/Cython-0.29.26.tar.gz: Cython-0.29.26/Cython/Compiler/Nodes.py: code.putln("%s = __Pyx_PyObject_LookupSpecial(%s, %s); %s" % ( PYPI-2022-01-26-TOP-5000/Cython-0.29.26.tar.gz: Cython-0.29.26/Cython/Utility/ObjectHandling.c: static CYTHON_INLINE PyObject* __Pyx_PyObject_LookupSpecial(PyObject* obj, PyObject* attr_name) { Oh, that's not "_PyObject_LookupSpecial()", it doesn't use the _Py_Identifier type: static CYTHON_INLINE PyObject* __Pyx_PyObject_LookupSpecial(PyObject* obj, PyObject* attr_name) { ... } Victor On Thu, Feb 3, 2022 at 7:27 PM <dw-...@d-woods.co.uk> wrote: > > Victor Stinner wrote: > > On Wed, Feb 2, 2022 at 11:49 PM Eric Snow ericsnowcurren...@gmail.com wrote: > > > In the top 5000 PyPI projects, I found 11 projects using them: > > * Cython-0.29.26 (and so indirect most projects using Cython) > > I believe Cython is (for once) a false alarm here. I don't think it uses any > of those functions. > > It has a comment that contains "_PyObject_LookupAttrId" - > https://github.com/cython/cython/blob/8d2df028bf9536942b60670bf0aa80d6acc7464a/Cython/Utility/ObjectHandling.c#L1061 > - This is a bit of code that we'd adapted from CPython and the comment just > explains what the original line is. > > It's possible I've missed something of course, in which case let me know. > > David > _______________________________________________ > Python-Dev mailing list -- python-dev@python.org > To unsubscribe send an email to python-dev-le...@python.org > https://mail.python.org/mailman3/lists/python-dev.python.org/ > Message archived at > https://mail.python.org/archives/list/python-dev@python.org/message/5WICJJ5GYJE54JKPG56UY33YHHFQROHX/ > Code of Conduct: http://python.org/psf/codeofconduct/ -- Night gathers, and now my watch begins. It shall not end until my death. _______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/DXXEYI7YPZCQO6VAPLVNVVAPH4LZ4KVU/ Code of Conduct: http://python.org/psf/codeofconduct/