Files
cpython/Python
Serhiy Storchaka 94ee389308 Issue #19619: Blacklist non-text codecs in method API
str.encode, bytes.decode and bytearray.decode now use an
internal API to throw LookupError for known non-text encodings,
rather than attempting the encoding or decoding operation and
then throwing a TypeError for an unexpected output type.

The latter mechanism remains in place for third party non-text
encodings.

Backported changeset d68df99d7a57.
2014-02-24 14:43:03 +02:00
..
2013-07-22 22:08:09 -07:00
2013-07-27 02:41:03 +02:00
2013-12-31 22:02:22 -06:00
2013-10-03 15:03:29 -06:00
2013-01-19 14:58:38 -05:00
2014-02-19 23:05:26 -05:00
2013-07-21 13:29:37 -07:00