Nick Coghlan c72e4e6dcc 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.
2013-11-22 22:39:36 +10:00
..
2013-07-22 22:08:17 -07:00
2013-07-27 02:41:03 +02:00
2013-10-31 01:20:58 -04:00
2013-03-20 00:39:41 -05:00
2012-10-05 01:04:27 +02:00
2013-09-26 22:21:41 -04:00