20 Apr
2021
20 Apr
'21
1:12 a.m.
On Tue, Apr 20, 2021 at 4:24 PM Inada Naoki <songofacandy@gmail.com> wrote:
Just an idea: do not save co_name and co_firstlineno in code object for function annotations. When creating a function object from a code object, they can be copied from annotated function.
I created a pull request. It use `__co_annotations__` for name, but use `<func.__qualname__>.__co_annotations__` for qualname. https://github.com/larryhastings/co_annotations/pull/11 -- Inada Naoki <songofacandy@gmail.com>