Mercurial > cpython-lru_cache-weakref
diff Python/modsupport.c @ 47496:2284fa89ab08
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.
| author | Marc-André Lemburg <mal@egenix.com> |
|---|---|
| date | Fri, 06 Jun 2008 12:18:17 +0000 |
| parents | 23ab586c427a |
| children | 94f64f11fdd0 |
