summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2010-08-08 00:56:52 (GMT)
committerRaymond Hettinger <python@rcn.com>2010-08-08 00:56:52 (GMT)
commitc6d80c1bef62c996d1a7d3b544a108fef17fbf65 (patch)
tree69bfd207498ceb86fcec365e074c50c0f752e5fc /Misc
parentf56c9cd30d7b7113e32a2562f66cc78a3ec441a3 (diff)
downloadcpython-c6d80c1bef62c996d1a7d3b544a108fef17fbf65.zip
cpython-c6d80c1bef62c996d1a7d3b544a108fef17fbf65.tar.gz
cpython-c6d80c1bef62c996d1a7d3b544a108fef17fbf65.tar.bz2
Issue 8814: functools.wraps() did not copy __annotations__.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/ACKS1
-rw-r--r--Misc/NEWS4
2 files changed, 5 insertions, 0 deletions
diff --git a/Misc/ACKS b/Misc/ACKS
index 6edb710..67684eb 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -144,6 +144,7 @@ Steve Clift
Nick Coghlan
Josh Cogliati
Dave Cole
+Terrence Cole
Benjamin Collar
Jeffery Collins
Paul Colomiets
diff --git a/Misc/NEWS b/Misc/NEWS
index aceb158..997b883 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,10 @@ What's New in Python 3.1.3?
Core and Builtins
-----------------
+- Issue #8814: function annotations (the ``__annotations__`` attribute)
+ are now included in the set of attributes copied by default by
+ functools.wraps and functools.update_wrapper. Patch by Terrence Cole.
+
- Issue #83755: Implicit set-to-frozenset conversion was not thread-safe.
- Issue #9416: Fix some issues with complex formatting where the