commit | b2750b5d334e9c8d262009069bce41c15803eca0 | [log] [tgz] |
---|---|---|
author | Marc-André Lemburg <mal@egenix.com> | Fri Jun 06 12:18:17 2008 +0000 |
committer | Marc-André Lemburg <mal@egenix.com> | Fri Jun 06 12:18:17 2008 +0000 |
tree | 2c501adf96b37d3afbc32e6fdc344fade85cf3d5 | |
parent | 4efb518185d32d573ff65f11b94c6031340a018a [diff] |
Move the codec decode type checks to bytes/bytearray.decode(). Use faster PyUnicode_FromEncodedObject() for bytes/bytearray.decode(). Add new PyCodec_KnownEncoding() API. Add new PyUnicode_AsDecodedUnicode() and PyUnicode_AsEncodedUnicode() APIs. Add missing PyUnicode_AsDecodedObject() to unicodeobject.h Fix punicode codec to also work on memoryviews.