From 12155455f6afa9243c18077bdd064fceb428e56c Mon Sep 17 00:00:00 2001 From: Mark Sapiro Date: Sat, 25 Apr 2020 20:16:14 -0700 Subject: Workaround non-ascii in string.lowercase. --- Mailman/Archiver/pipermail.py | 4 ++++ NEWS | 3 +++ 2 files changed, 7 insertions(+) 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 -- cgit v1.2.3