• Serhiy Storchaka's avatar
    Issue #19543: Emit deprecation warning for known non-text encodings. · c7797dc7
    Serhiy Storchaka yazdı
    Backported issues #19619: encode() and decode() methods and constructors
    of str, unicode and bytearray classes now emit deprecation warning for known
    non-text encodings when Python is ran with the -3 option.
    
    Backported issues #20404: io.TextIOWrapper (and hence io.open()) now uses the
    internal codec marking system added to emit deprecation warning for known non-text
    encodings at stream construction time when Python is ran with the -3 option.
    c7797dc7
base64_codec.py 2.32 KB