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 ncoghlan
Recipients doerwalter, ezio.melotti, lemburg, ncoghlan, serhiy.storchaka, vstinner
Date 2013-11-21.13:44:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1385041446.24.0.374310371389.issue19619@psf.upfronthosting.co.za>
In-reply-to
Content
New patch for 3.4 that uses a private attribute on CodecInfo and a private class method to set it appropriately (as I believe that is a better approach than changing the signature of CodecInfo.__init__ at this point, especially if we end up pursuing the codec type map idea in 3.5)

This version also updates the tests to check for the appropriate error messages.

The integration into the text model related methods is that same as in the proof of concept: a parallel private text-encoding-only C API that is used in preference to the general purpose codec machinery where appropriate.

If there aren't any objections to this approach, I'll commit this one tomorrow.
History
Date User Action Args
2013-11-21 13:44:06ncoghlansetrecipients: + ncoghlan, lemburg, doerwalter, vstinner, ezio.melotti, serhiy.storchaka
2013-11-21 13:44:06ncoghlansetmessageid: <1385041446.24.0.374310371389.issue19619@psf.upfronthosting.co.za>
2013-11-21 13:44:06ncoghlanlinkissue19619 messages
2013-11-21 13:44:06ncoghlancreate