summaryrefslogtreecommitdiff
path: root/Mailman/Version.py
diff options
context:
space:
mode:
authorbwarsaw2002-10-25 19:06:33 +0000
committerbwarsaw2002-10-25 19:06:33 +0000
commit0612003f309394789ec11a65580374866f74076c (patch)
tree3e89869e50c7e5c1c037d9067919d6fb7cb3568c /Mailman/Version.py
parent15d254f9eafd10f06adb3508245378086ebddab9 (diff)
downloadmailman-0612003f309394789ec11a65580374866f74076c.tar.gz
mailman-0612003f309394789ec11a65580374866f74076c.tar.zst
mailman-0612003f309394789ec11a65580374866f74076c.zip
pending_requests(): The requests.pck database may have Unicode strings
in them, say if an encoded name appeared in a From header. But maketext() may return byte strings with non-ascii characters in them, and concatenating these two types of strings is a no no. The local fix (implemented here) is to make sure that pending_requests() returns a byte string with no characters that are illegal in the list's preferred language's charset. The longer term fix probably ought to be that we use Unicode everywhere and that maketext() returns a Unicode.
Diffstat (limited to 'Mailman/Version.py')
0 files changed, 0 insertions, 0 deletions