summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2010-08-17 06:17:18 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2010-08-17 06:17:18 (GMT)
commit9887683f7407b2d4ec0e0ff1ff9b9a26137d0724 (patch)
tree07c1120d84c6a4f83ede41bccd2db5d08acb7ee4 /Misc
parent632a0c1476bce66a2226ce9b103d0ef96e739a2c (diff)
downloadcpython-9887683f7407b2d4ec0e0ff1ff9b9a26137d0724.zip
cpython-9887683f7407b2d4ec0e0ff1ff9b9a26137d0724.tar.gz
cpython-9887683f7407b2d4ec0e0ff1ff9b9a26137d0724.tar.bz2
Document and test the resolution of issue 3445 (tolerate missing attributes in functools.update_wrapper, previously implemented as a side effect of the __annotations__ copying patch) and implement issue 9567 (add a __wrapped__ attribute when using update_wrapper)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index e5bb8b8..7ec59b3 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -90,6 +90,12 @@ Extensions
Library
-------
+- Issue #9567: functools.update_wrapper now adds a __wrapped__ attribute
+ pointing to the original callable
+
+- Issue #3445: functools.update_wrapper now tolerates missing attributes
+ on wrapped callables
+
- Issue #5867: Add abc.abstractclassmethod and abc.abstractstaticmethod.
- Issue #9605: posix.getlogin() decodes the username with file filesystem