[Python-Dev] PEP 563: get_type_hints should use closure when available