summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorGarvit Khatri <garvit.khatri@zomato.com>2017-03-28 15:43:38 (GMT)
committerR. David Murray <rdmurray@bitdance.com>2017-03-28 15:43:38 (GMT)
commit1cf93a76c2cf307f2e1e514a8944864f746337ea (patch)
tree85c7a1a948d17182efeaf6e6405ac64105f87f99 /Misc/NEWS
parentc8fa45bac2942accdb24dde318f87c9eb21dbfde (diff)
downloadcpython-1cf93a76c2cf307f2e1e514a8944864f746337ea.zip
cpython-1cf93a76c2cf307f2e1e514a8944864f746337ea.tar.gz
cpython-1cf93a76c2cf307f2e1e514a8944864f746337ea.tar.bz2
bpo-10379: add 'monetary' to format_string, deprecate format
Add the 'monetary' parameter to format_string so that all uses of format can be converted to format_string. Adjust the documentation accordingly, and add a deprecation warning when format is used.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 024b31d..eceee8d 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -397,6 +397,9 @@ Library
- bpo-29534: Fixed different behaviour of Decimal.from_float()
for _decimal and _pydecimal. Thanks Andrew Nester.
+- bpo-10379: locale.format_string now supports the 'monetary' keyword argument,
+ and locale.format is deprecated.
+
- Issue #28556: Various updates to typing module: typing.Counter, typing.ChainMap,
improved ABC caching, etc. Original PRs by Jelle Zijlstra, Ivan Levkivskyi,
Manuel Krebber, and Ɓukasz Langa.