[issue12454] mailbox: use ASCII to read/write .mh_sequences files
STINNER Victor
report at bugs.python.org
Thu Jun 30 18:35:53 CEST 2011
New submission from STINNER Victor <victor.stinner at haypocalc.com>:
The MH class uses the locale encoding to read and write .mh_sequences files. According to R. David Murray, ASCII can be safetly used instead. Extract of our discussion on IRC:
bitdancer> haypo: that's one of the cases where using locale
is probably correct, even though I'd rather it
used utf-8.
bitdancer> haypo: for nmh it is ASCII, for whatever that is worth.
bitdancer> I base this on the fact that the pick command says
that a utf-8 character is invalid.
bitdancer> for a sequence name.
bitdancer> Which is the only thing other than numbers that goes
in a sequences files.
Jerub> I concurr (was reading code)
----------
components: Library (Lib)
files: mailbox.patch
keywords: patch
messages: 139502
nosy: haypo, r.david.murray
priority: normal
severity: normal
status: open
title: mailbox: use ASCII to read/write .mh_sequences files
versions: Python 3.3
Added file: http://bugs.python.org/file22526/mailbox.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12454>
_______________________________________
More information about the Python-bugs-list
mailing list