[issue41231] Type annotations lost when using wraps by default

Terry Davis report at bugs.python.org
Tue Jul 7 14:37:11 EDT 2020


Terry Davis <terry.y.davis at gmail.com> added the comment:

I don't understand this use-case, but would it make sense to `ChainMap` the wrapper's __annotations__ on top of the wrapped __annotations__?

----------
nosy: +Terry Davis

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


More information about the Python-bugs-list mailing list