diff Python/future.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 78504d604b44
children 85b67fb5672b
line wrap: on
line diff