[issue26098] PEP 510: Specialize functions with guards

STINNER Victor report at bugs.python.org
Tue Jan 19 07:51:09 EST 2016


STINNER Victor added the comment:

Patch version 3:

* guards are now tracked by the garbage collector. That's a very important requirements to not change the Python semantics at exit, when a guard keeps a strong reference to the global namespace:

https://mail.python.org/pipermail/python-dev/2016-January/142792.html

* add more tests: call specialize() with invalid types, set __code__

----------
Added file: http://bugs.python.org/file41661/specialize-3.patch

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


More information about the Python-bugs-list mailing list