R. David Murray added the comment:

Here is an updated patch based on Milan's work, including docs.  I've tweaked 
the API slightly: no dedicated method for doing the enable (instead it is 
inlined in authenticate), I added 'enable' to the exposed API (with a doc 
caveat about not using it for UTF8=ACCEPT), added None as a valid value for 
enable_UTF8 with the meaning "enable if possible" (True is now "must enable"), 
and exposed a utf8_enabled attribute so the program can easily tell what mode 
to use when specifying enable_UTF8=None.  Someday, None should become the 
default.  "None" is not the best choice for value, especially when it is not 
the default, so perhaps someone could suggest better values for that keyword.

It would be great if Milan or Maciej could give me a review (or anyone else who 
feels like it).  I want to get this in before the beta deadline.

----------
nosy: +eric.smith, maciej.szulik
stage: needs patch -> patch review
Added file: http://bugs.python.org/file39284/imaplib_utf8_issue21800.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21800>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to