[Python-Dev] mUTF-7 support?

Jesus Cea jcea at jcea.es
Fri Oct 10 02:34:47 CEST 2014


On 10/10/14 02:00, Victor Stinner wrote:
> 2014-10-10 1:33 GMT+02:00 Jesus Cea <jcea at jcea.es>:
>> The purpose of these modifications is to correct the following
>>    problems with UTF-7:
> 
> If you need performances, I would be interested to see if it would be
> possible to reuse the C codec for UTF-7 to share as much code as
> possible.

I don't need performance, and implementations I am studying are already
using UTF-7 as an intermediate step.

Example: <http://imapclient.freshfoo.com/browser/imapclient/imap_utf7.py>

> What is the current behaviour of imaplib in Python 3.4 with non-ASCII
> characters in mailbox names?

It breaks. Crash & burn.

-- 
Jesús Cea Avión                         _/_/      _/_/_/        _/_/_/
jcea at jcea.es - http://www.jcea.es/     _/_/    _/_/  _/_/    _/_/  _/_/
Twitter: @jcea                        _/_/    _/_/          _/_/_/_/_/
jabber / xmpp:jcea at jabber.org  _/_/  _/_/    _/_/          _/_/  _/_/
"Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/python-dev/attachments/20141010/7f0e403d/attachment.sig>


More information about the Python-Dev mailing list