• Marc-André Lemburg's avatar
    Move the codec decode type checks to bytes/bytearray.decode(). · b2750b5d
    Marc-André Lemburg yazdı
    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.
    b2750b5d
codecs.c 20.3 KB