You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the following, made so that get_annotate_function is usable in metaclasses' __new__, should check for Mapping since __prepare__ can provide any mapping (see picture from PEP3115.
Hello!
I think the following, made so that
get_annotate_functionis usable in metaclasses'__new__, should check forMappingsince__prepare__can provide any mapping (see picture from PEP3115.cpython/Lib/annotationlib.py
Line 630 in a81232c
Linked PRs
get_annotate_functionvs. mapping namespaces #132427