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 <rep...@bugs.python.org> <http://bugs.python.org/issue26098> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com