On 4/25/20 5:36 AM, Tom Coradeschi via Mailman-Developers wrote:
>> On 24 Apr 2020, at 10:18 PM, Mark Sapiro <[email protected]> wrote:
>>
>> All that notwithstanding, I think this is the best patch for
>> avoiding/fixing the issue.
>>
>> === modified file 'Mailman/Archiver/pipermail.py'
>> --- Mailman/Archiver/pipermail.py    2018-05-03 21:23:47 +0000
>> +++ Mailman/Archiver/pipermail.py    2020-04-25 02:13:46 +0000
>> @@ -60,7 +60,7 @@
>>     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
>> +        while i>0 and (L[i-1][0] in lowercase[:26] or
>>                        L[i-1].lower() in smallNameParts):
>>             i = i - 1
>>     author = SPACE.join(L[-1:] + L[i:-1]) + ', ' + SPACE.join(L[:i])
> 
> Bingo - thanks for the tip, Mark. I need to become more facile in using the 
> search engines:-)
> 
> Any particular reason this hasn’t been flowed into the existing mailman 
> distribution?


Because its a workaround for a Debian (or some distro) Python packaging
issue which should be fixed by the packager, and because I only thought
of the above fix yesterday when generating the above reply.

Also, it seems quite rare. Yours is only the third report I've seen
which is very rare for something that would affect archiving of every
message.

All that said, I probably will put the above in the next patch release.

-- 
Mark Sapiro <[email protected]>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
_______________________________________________
Mailman-Developers mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/mailman-developers.python.org/
Mailman FAQ: https://wiki.list.org/x/AgA3

Security Policy: https://wiki.list.org/x/QIA9

Reply via email to