Message203737
| 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). |
|