[issue35438] Cleanup extension functions using _PyObject_LookupSpecial

Josh Rosenberg report at bugs.python.org
Mon Dec 10 16:31:29 EST 2018


Josh Rosenberg <shadowranger+python at gmail.com> added the comment:

Agreed with everything in Serhiy's comments. This patch disregards why _PyObject_LookupSpecial and the various _Py_IDENTIFIER related stuff was created in the first place (to handle a non-trivial task efficiently/correctly) in favor of trying to avoid C-APIs that are explicitly okay to use for the CPython standard extensions. The goal is a mistake in the first place; no patch fix will make the goal correct.

Closing as not a bug.

----------
resolution:  -> not a bug
stage: patch review -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35438>
_______________________________________


More information about the Python-bugs-list mailing list