[Python-Dev] Proposed tweaks to functools.wraps
Nick Coghlan
ncoghlan at gmail.com
Wed Aug 11 05:10:28 CEST 2010
On Wed, Aug 11, 2010 at 12:39 PM, Benjamin Peterson <benjamin at python.org> wrote:
> which would require ignoring the absence of __annotations__.
It turns out the patch that added __annotations__ support also made a
change to make all of the copied attributes optional.
So I'll be tidying up the implementation of that, extending it to the
updated attributes and adding unit tests to make sure they're all
optional.
Cheers,
Nick.
--
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
More information about the Python-Dev
mailing list