[issue26098] PEP 510: Specialize functions with guards

STINNER Victor report at bugs.python.org
Wed Jan 27 05:54:44 EST 2016


STINNER Victor added the comment:

Patch version 5: implement PyFunction_RemoveSpecialized() and PyFunction_RemoveAllSpecialized() functions (with unit tests!).

I'm not sure that PyFunction_RemoveSpecialized() must return 0 (success) if the removed specialized code doesn't exist (invalid index).

----------
Added file: http://bugs.python.org/file41724/specialize-5.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26098>
_______________________________________


More information about the Python-bugs-list mailing list