summaryrefslogtreecommitdiff
path: root/Misc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2017-01-08 17:28:20 -0800
committerRaymond Hettinger <python@rcn.com>2017-01-08 17:28:20 -0800
commit01a053991ffed3ca4a8cb22838b36782df70629f (patch)
treea817b06a7310fd7d4237d1f3fd7e4ec94a24bdf1 /Misc
parent9bc3d0b51b40160cfed36dbf717ba1d674d901aa (diff)
downloadcpython-01a053991ffed3ca4a8cb22838b36782df70629f.tar.gz
Issue #29203: functools.lru_cache() now respects PEP 468
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 973b0209aa..809fd456e8 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -47,6 +47,10 @@ Library
- Issue #28961: Fix unittest.mock._Call helper: don't ignore the name parameter
anymore. Patch written by Jiajun Huang.
+- Issue #29203: functools.lru_cache() now respects PEP 468 and preserves
+ the order of keyword arguments. f(a=1, b=2) is now cached separately
+ from f(b=2, a=1) since both calls could potentially give different results.
+
- Issue #15812: inspect.getframeinfo() now correctly shows the first line of
a context. Patch by Sam Breese.