[issue42202] Optimize function annotation

Dennis Sweeney report at bugs.python.org
Sun Jan 2 23:30:24 EST 2022


Dennis Sweeney <sweeney.dennis650 at gmail.com> added the comment:

I believe this change accidentally affected the API of PyFunction_GetAnnotations: previously it would only return dict or NULL, now it can also return a tuple. See bpo-46236

----------
nosy: +Dennis Sweeney

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


More information about the Python-bugs-list mailing list