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-10-05 16:28:04 -04:00
2012-11-12 20:24:09 +01:00
2013-10-22 10:44:35 -07:00
2012-10-24 08:21:52 -07:00