This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients BreamoreBoy, Håkan Lövdahl, barry, eric.smith, jesstess, maciej.szulik, pitrou, r.david.murray, zvyn
Date 2015-05-04.00:35:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1430699708.22.0.0779967005546.issue21800@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2015-05-04 00:35:09r.david.murraysetrecipients: + r.david.murray, barry, pitrou, eric.smith, jesstess, BreamoreBoy, maciej.szulik, zvyn, Håkan Lövdahl
2015-05-04 00:35:08r.david.murraysetmessageid: <1430699708.22.0.0779967005546.issue21800@psf.upfronthosting.co.za>
2015-05-04 00:35:08r.david.murraylinkissue21800 messages
2015-05-04 00:35:07r.david.murraycreate