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-22.11:22:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1385119349.45.0.566796420341.issue19619@psf.upfronthosting.co.za>
In-reply-to
Content
- switched to LookupError for the dedicated exception
- default value moved to a CodecInfo class attribute
- new private APIs guarded by PY_LIMITED_API
- used repr formatting where appropriate in the tests
- cleaned up the tests a bit by using encodings.normalize_encoding
- new test to ensure the codec output type checks are still exercised
- backwards compatibility tweaks for raw tuples returned from the codec registry lookup (uncovered by the full test suite run)

I'll be committing this version after a final local run of "make test" and a refleak check on test_codecs, test_charmapcodec and test_unicode (the latter two are the ones that found the backwards compatibility issue with the attribute lookup).
History
Date User Action Args
2013-11-22 11:22:30ncoghlansetrecipients: + ncoghlan, lemburg, doerwalter, vstinner, ezio.melotti, serhiy.storchaka
2013-11-22 11:22:29ncoghlansetmessageid: <1385119349.45.0.566796420341.issue19619@psf.upfronthosting.co.za>
2013-11-22 11:22:29ncoghlanlinkissue19619 messages
2013-11-22 11:22:29ncoghlancreate