On 3/15/19 4:27 AM, Lothar Schilling wrote: > Am 14.03.2019 um 18:55 schrieb Mark Sapiro: >> On 3/14/19 2:39 AM, Lothar Schilling wrote: ... >>> string >>> <module 'string' from '/usr/lib64/python2.6/string.pyc'> ... > Sadly not: > > import string > string.lowercase > 'abcdefghijklmnopqrstuvwxyz' > string > <module 'string' from 'string.pyc'>
This is interesting. Here you get <module 'string' from 'string.pyc'> and before (above) you got <module 'string' from '/usr/lib64/python2.6/string.pyc'>. I wonder why the difference. In the message at <https://mail.python.org/pipermail/mailman-users/2019-March/084243.html> I suggested this patch === modified file 'Mailman/Archiver/pipermail.py' --- Mailman/Archiver/pipermail.py 2018-05-03 21:23:47 +0000 +++ Mailman/Archiver/pipermail.py 2019-03-02 04:51:23 +0000 @@ -60,9 +60,12 @@ else: # Mixed case; assume that small parts of the last name will be # in lowercase, and check them against the list. - while i>0 and (L[i-1][0] in lowercase or - L[i-1].lower() in smallNameParts): - i = i - 1 + try: + while i>0 and (L[i-1][0] in lowercase or + L[i-1].lower() in smallNameParts): + i = i - 1 + except: + syslog('error', 'Exception in fixAuthor: %s', author) author = SPACE.join(L[-1:] + L[i:-1]) + ', ' + SPACE.join(L[:i]) return author I assume you still have that installed. In any case, if you add a second syslog line after the first syslog('error', 'lowercase value: %r', lowercase) What do you then get in Mailman's error log -- Mark Sapiro <m...@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org