[issue42904] get_type_hints does not provide localns for classes

Ken Jin report at bugs.python.org
Tue Apr 13 05:48:40 EDT 2021


Ken Jin <kenjin4096 at gmail.com> added the comment:

Yup I can! BTW, I agree with keeping the change in 3.10 only. I suspect it _may_ be backwards-incompatible in small edge cases (re: the long comment on the PR about suspicions with local and global scope).

----------
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

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


More information about the Python-bugs-list mailing list