aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Sapiro <mark@msapiro.net>2020-04-25 20:16:14 -0700
committerMark Sapiro <mark@msapiro.net>2020-04-25 20:16:14 -0700
commit12155455f6afa9243c18077bdd064fceb428e56c (patch)
treef6c70e346d626cd9a562b9c74fdea84a1ad23bff
parent8ec4dad9822f390a3e4a1fe7451ccc97f5a3d6de (diff)
downloadmailman2-12155455f6afa9243c18077bdd064fceb428e56c.tar.gz
mailman2-12155455f6afa9243c18077bdd064fceb428e56c.tar.xz
mailman2-12155455f6afa9243c18077bdd064fceb428e56c.zip
Workaround non-ascii in string.lowercase.
-rw-r--r--Mailman/Archiver/pipermail.py4
-rw-r--r--NEWS3
2 files changed, 7 insertions, 0 deletions
diff --git a/Mailman/Archiver/pipermail.py b/Mailman/Archiver/pipermail.py
index 62fb92e8..d0883a3f 100644
--- a/Mailman/Archiver/pipermail.py
+++ b/Mailman/Archiver/pipermail.py
@@ -12,6 +12,10 @@ import cPickle as pickle
from cStringIO import StringIO
from string import lowercase
+# Work around for some misguided Python packages that add iso-8859-1
+# accented characters to string.lowercase.
+lowercase = lowercase[:26]
+
__version__ = '0.09 (Mailman edition)'
VERSION = __version__
CACHESIZE = 100 # Number of slots in the cache
diff --git a/NEWS b/NEWS
index 41f897ad..5e35d462 100644
--- a/NEWS
+++ b/NEWS
@@ -15,6 +15,9 @@ Here is a history of user visible changes to Mailman.
- Bounce recognition for a non-compliant Yahoo format is added.
+ - Archiving workaround for non-ascii in string.lowercase in some Python
+ packages is added.
+
2.1.30 (13-Apr-2020)
New Features