Fix issue 2522. locale.format now checks that it is passed
exactly one pattern, which avoids mysterious errors where it
had seemed to fail to do localization.
diff --git a/Misc/ACKS b/Misc/ACKS
index b7cd25a..b5f656e 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -480,6 +480,7 @@
Chad Miller
Jay T. Miller
Roman Milner
+Andrii V. Mishkovskyi
Dustin J. Mitchell
Dom Mitchell
Doug Moen
@@ -490,6 +491,7 @@
Sjoerd Mullender
Sape Mullender
Michael Muller
+R. David Murray
Piotr Meyer
John Nagle
Takahiro Nakayama
diff --git a/Misc/NEWS b/Misc/NEWS
index 6907c97..d51a360 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -200,6 +200,10 @@
Library
-------
+- Issue #2522: locale.format now checks its first argument to ensure it has
+ been passed only one pattern, avoiding mysterious errors where it appeared
+ that it was failing to do localization.
+
- Issue #5583: Added optional Extensions in Distutils. Initial patch by Georg
Brandl.