Message392317
kj: I just added support for default locals to inspect.get_annotation(), and I basically copied-and-pasted your dict(vars(base)) approach.
Is this "surprising, but required" behavior due specifically to this being a backwards-incompatible change? inspect.get_annotations() will be a new function in Python 3.10, which means I have no existing users to worry about. Does that mean I don't have the problem you're solving by reversing the order of namespace lookup, and I can just pass globals and locals in like normal? |
|
Date |
User |
Action |
Args |
2021-04-29 14:30:32 | larry | set | recipients:
+ larry, gvanrossum, pbryan, kj |
2021-04-29 14:30:32 | larry | set | messageid: <1619706632.49.0.933836704015.issue42904@roundup.psfhosted.org> |
2021-04-29 14:30:32 | larry | link | issue42904 messages |
2021-04-29 14:30:32 | larry | create | |
|