classification
Title: Add mUTF-7 codec (UTF-7 modified for IMAP)
Type: enhancement Stage: needs patch
Components: Unicode Versions: Python 3.6
process
Status: open Resolution:
Dependencies: 24848 Superseder:
Assigned To: serhiy.storchaka Nosy List: ezio.melotti, haypo, jcea, martin.panter, pitrou, raulcd, serhiy.storchaka
Priority: normal Keywords:

Created on 2014-10-10 10:24 by jcea, last changed 2015-08-12 07:43 by serhiy.storchaka.

Messages (6)
msg228979 - (view) Author: Jesús Cea Avión (jcea) * (Python committer) Date: 2014-10-10 10:24
Looks like there is consensus to add "mUTF-7" or "imap4 UTF-7" to the codec module for Python 3.5. Details in https://mail.python.org/pipermail/python- dev/2014-October/136601.html
msg229001 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2014-10-10 14:48
Could you please add a link to RFC?
msg229103 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2014-10-11 20:53
See http://tools.ietf.org/html/rfc3501#section-5.1.3
Note how detailed the specification of "modified utf-7" is :-)
msg247159 - (view) Author: Martin Panter (martin.panter) * (Python committer) Date: 2015-07-23 01:30
Not sure on the scope of this, but if someone wants to implement the incremental codec API, be aware that the existing UTF-7 codec, PyUnicode_DecodeUTF7Stateful() API, etc, does not actually support this properly. See Issue 20132, e.g. the test cases in <https://bugs.python.org/issue20132#msg232850>. I recommend against impementing an incremental or stream codec based only on a stateless codec.
msg248174 - (view) Author: Jesús Cea Avión (jcea) * (Python committer) Date: 2015-08-07 04:41
ping.
msg248178 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2015-08-07 05:43
I take this.
History
Date User Action Args
2015-08-12 07:43:59serhiy.storchakasetdependencies: + Warts in UTF-7 error handling
2015-08-07 05:43:29serhiy.storchakasetmessages: + msg248178
2015-08-07 05:42:12serhiy.storchakasetassignee: serhiy.storchaka
versions: + Python 3.6, - Python 3.5
2015-08-07 04:41:52jceasetassignee: jcea -> (no value)
2015-08-07 04:41:42jceasetmessages: + msg248174
2015-07-23 01:30:03martin.pantersetnosy: + martin.panter
messages: + msg247159
2014-10-11 20:53:01pitrousetnosy: + pitrou
messages: + msg229103
2014-10-10 15:56:11hayposettitle: IMAP4 UTF-7 support -> Add mUTF-7 codec (UTF-7 modified for IMAP)
2014-10-10 15:55:36hayposetnosy: + ezio.melotti, haypo
components: + Unicode
2014-10-10 15:02:17raulcdsetnosy: + raulcd
2014-10-10 14:48:28serhiy.storchakasetnosy: + serhiy.storchaka

messages: + msg229001
stage: needs patch
2014-10-10 10:28:40jcealinkissue5305 dependencies
2014-10-10 10:24:17jceacreate