New submission from STINNER Victor <[email protected]>:
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 <[email protected]>
<http://bugs.python.org/issue12454>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com