cpython/Lib/encodings
Serhiy Storchaka c7797dc748 Issue #19543: Emit deprecation warning for known non-text encodings.
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.
2015-05-31 20:21:00 +03:00
..
__init__.py replace has_key with 'in' operator 2009-10-09 22:15:50 +00:00
aliases.py #8016: add the CP858 codec (approved by Benjamin). (Also add CP720 to the tests, it was missing there.) 2010-05-24 21:29:07 +00:00
ascii.py Patch #1436130: codecs.lookup() now returns a CodecInfo object (a subclass 2006-03-15 11:35:15 +00:00
base64_codec.py Issue #19543: Emit deprecation warning for known non-text encodings. 2015-05-31 20:21:00 +03:00
big5.py Whitespace. 2006-03-27 09:02:04 +00:00
big5hkscs.py Whitespace. 2006-03-27 09:02:04 +00:00
bz2_codec.py Issue #19543: Emit deprecation warning for known non-text encodings. 2015-05-31 20:21:00 +03:00
charmap.py Patch #1436130: codecs.lookup() now returns a CodecInfo object (a subclass 2006-03-15 11:35:15 +00:00
cp037.py Whitespace normalization. 2006-06-04 23:43:53 +00:00
cp424.py Whitespace normalization. 2006-06-04 23:43:53 +00:00
cp437.py Patch #1436130: codecs.lookup() now returns a CodecInfo object (a subclass 2006-03-15 11:35:15 +00:00
cp500.py Whitespace normalization. 2006-06-04 23:43:53 +00:00
cp720.py set svn:eol-style on various files 2010-03-08 22:15:11 +00:00
cp737.py Patch #1436130: codecs.lookup() now returns a CodecInfo object (a subclass 2006-03-15 11:35:15 +00:00
cp775.py Patch #1436130: codecs.lookup() now returns a CodecInfo object (a subclass 2006-03-15 11:35:15 +00:00
cp850.py Patch #1436130: codecs.lookup() now returns a CodecInfo object (a subclass 2006-03-15 11:35:15 +00:00
cp852.py Patch #1436130: codecs.lookup() now returns a CodecInfo object (a subclass 2006-03-15 11:35:15 +00:00
cp855.py Patch #1436130: codecs.lookup() now returns a CodecInfo object (a subclass 2006-03-15 11:35:15 +00:00
cp856.py Whitespace normalization. 2006-06-04 23:43:53 +00:00
cp857.py Patch #1436130: codecs.lookup() now returns a CodecInfo object (a subclass 2006-03-15 11:35:15 +00:00
cp858.py #8016: add the CP858 codec (approved by Benjamin). (Also add CP720 to the tests, it was missing there.) 2010-05-24 21:29:07 +00:00
cp860.py Patch #1436130: codecs.lookup() now returns a CodecInfo object (a subclass 2006-03-15 11:35:15 +00:00
cp861.py Patch #1436130: codecs.lookup() now returns a CodecInfo object (a subclass 2006-03-15 11:35:15 +00:00
cp862.py Patch #1436130: codecs.lookup() now returns a CodecInfo object (a subclass 2006-03-15 11:35:15 +00:00
cp863.py Patch #1436130: codecs.lookup() now returns a CodecInfo object (a subclass 2006-03-15 11:35:15 +00:00
cp864.py Patch #1436130: codecs.lookup() now returns a CodecInfo object (a subclass 2006-03-15 11:35:15 +00:00
cp865.py Patch #1436130: codecs.lookup() now returns a CodecInfo object (a subclass 2006-03-15 11:35:15 +00:00
cp866.py Patch #1436130: codecs.lookup() now returns a CodecInfo object (a subclass 2006-03-15 11:35:15 +00:00
cp869.py Patch #1436130: codecs.lookup() now returns a CodecInfo object (a subclass 2006-03-15 11:35:15 +00:00
cp874.py Whitespace normalization. 2006-06-04 23:43:53 +00:00
cp875.py Whitespace normalization. 2006-06-04 23:43:53 +00:00
cp932.py Whitespace. 2006-03-27 09:02:04 +00:00
cp949.py Whitespace. 2006-03-27 09:02:04 +00:00
cp950.py Whitespace. 2006-03-27 09:02:04 +00:00
cp1006.py Whitespace normalization. 2006-06-04 23:43:53 +00:00
cp1026.py Whitespace normalization. 2006-06-04 23:43:53 +00:00
cp1140.py Whitespace normalization. 2006-06-04 23:43:53 +00:00
cp1250.py Whitespace normalization. 2006-06-04 23:43:53 +00:00
cp1251.py Whitespace normalization. 2006-06-04 23:43:53 +00:00
cp1252.py Whitespace normalization. 2006-06-04 23:43:53 +00:00
cp1253.py Whitespace normalization. 2006-06-04 23:43:53 +00:00
cp1254.py Whitespace normalization. 2006-06-04 23:43:53 +00:00
cp1255.py Whitespace normalization. 2006-06-04 23:43:53 +00:00
cp1256.py Whitespace normalization. 2006-06-04 23:43:53 +00:00
cp1257.py Whitespace normalization. 2006-06-04 23:43:53 +00:00
cp1258.py Whitespace normalization. 2006-06-04 23:43:53 +00:00
euc_jis_2004.py Whitespace. 2006-03-27 09:02:04 +00:00
euc_jisx0213.py Whitespace. 2006-03-27 09:02:04 +00:00
euc_jp.py Whitespace. 2006-03-27 09:02:04 +00:00
euc_kr.py Whitespace. 2006-03-27 09:02:04 +00:00
gb2312.py Whitespace. 2006-03-27 09:02:04 +00:00
gb18030.py Whitespace. 2006-03-27 09:02:04 +00:00
gbk.py Whitespace. 2006-03-27 09:02:04 +00:00
hex_codec.py Issue #19543: Emit deprecation warning for known non-text encodings. 2015-05-31 20:21:00 +03:00
hp_roman8.py Patch #1436130: codecs.lookup() now returns a CodecInfo object (a subclass 2006-03-15 11:35:15 +00:00
hz.py Whitespace. 2006-03-27 09:02:04 +00:00
idna.py Add a BufferedIncrementalEncoder class that can be used for implementing 2006-04-14 18:25:39 +00:00
iso2022_jp.py Whitespace. 2006-03-27 09:02:04 +00:00
iso2022_jp_1.py Whitespace. 2006-03-27 09:02:04 +00:00
iso2022_jp_2.py Whitespace. 2006-03-27 09:02:04 +00:00
iso2022_jp_3.py Whitespace. 2006-03-27 09:02:04 +00:00
iso2022_jp_2004.py Whitespace. 2006-03-27 09:02:04 +00:00
iso2022_jp_ext.py Whitespace. 2006-03-27 09:02:04 +00:00
iso2022_kr.py Whitespace. 2006-03-27 09:02:04 +00:00
iso8859_1.py Whitespace normalization. 2006-06-04 23:43:53 +00:00
iso8859_2.py Whitespace normalization. 2006-06-04 23:43:53 +00:00
iso8859_3.py Whitespace normalization. 2006-06-04 23:43:53 +00:00
iso8859_4.py Whitespace normalization. 2006-06-04 23:43:53 +00:00
iso8859_5.py Whitespace normalization. 2006-06-04 23:43:53 +00:00
iso8859_6.py Whitespace normalization. 2006-06-04 23:43:53 +00:00
iso8859_7.py Whitespace normalization. 2006-06-04 23:43:53 +00:00
iso8859_8.py Whitespace normalization. 2006-06-04 23:43:53 +00:00
iso8859_9.py Whitespace normalization. 2006-06-04 23:43:53 +00:00
iso8859_10.py Whitespace normalization. 2006-06-04 23:43:53 +00:00
iso8859_11.py Whitespace normalization. 2006-06-04 23:43:53 +00:00
iso8859_13.py Whitespace normalization. 2006-06-04 23:43:53 +00:00
iso8859_14.py Whitespace normalization. 2006-06-04 23:43:53 +00:00
iso8859_15.py Whitespace normalization. 2006-06-04 23:43:53 +00:00
iso8859_16.py Whitespace normalization. 2006-06-04 23:43:53 +00:00
johab.py Whitespace. 2006-03-27 09:02:04 +00:00
koi8_r.py Whitespace normalization. 2006-06-04 23:43:53 +00:00
koi8_u.py Whitespace normalization. 2006-06-04 23:43:53 +00:00
latin_1.py Whitespace normalization. 2006-03-15 18:08:37 +00:00
mac_arabic.py Patch #1436130: codecs.lookup() now returns a CodecInfo object (a subclass 2006-03-15 11:35:15 +00:00
mac_centeuro.py Whitespace normalization. 2006-06-04 23:43:53 +00:00
mac_croatian.py Whitespace normalization. 2006-06-04 23:43:53 +00:00
mac_cyrillic.py Whitespace normalization. 2006-06-04 23:43:53 +00:00
mac_farsi.py Whitespace normalization. 2006-06-04 23:43:53 +00:00
mac_greek.py Whitespace normalization. 2006-06-04 23:43:53 +00:00
mac_iceland.py Whitespace normalization. 2006-06-04 23:43:53 +00:00
mac_latin2.py Patch #1436130: codecs.lookup() now returns a CodecInfo object (a subclass 2006-03-15 11:35:15 +00:00
mac_roman.py Whitespace normalization. 2006-06-04 23:43:53 +00:00
mac_romanian.py Whitespace normalization. 2006-06-04 23:43:53 +00:00
mac_turkish.py Whitespace normalization. 2006-06-04 23:43:53 +00:00
mbcs.py Correction of patch #1455898: In the mbcs decoder, set final=False 2006-08-02 13:53:55 +00:00
palmos.py Patch #1436130: codecs.lookup() now returns a CodecInfo object (a subclass 2006-03-15 11:35:15 +00:00
ptcp154.py Patch #1436130: codecs.lookup() now returns a CodecInfo object (a subclass 2006-03-15 11:35:15 +00:00
punycode.py errors is an attribute in the incremental decoder 2006-06-13 12:04:43 +00:00
quopri_codec.py Issue #19543: Emit deprecation warning for known non-text encodings. 2015-05-31 20:21:00 +03:00
raw_unicode_escape.py Patch #1436130: codecs.lookup() now returns a CodecInfo object (a subclass 2006-03-15 11:35:15 +00:00
rot_13.py Issue #19543: Emit deprecation warning for known non-text encodings. 2015-05-31 20:21:00 +03:00
shift_jis.py Whitespace. 2006-03-27 09:02:04 +00:00
shift_jis_2004.py Whitespace. 2006-03-27 09:02:04 +00:00
shift_jisx0213.py Whitespace. 2006-03-27 09:02:04 +00:00
string_escape.py Patch #1436130: codecs.lookup() now returns a CodecInfo object (a subclass 2006-03-15 11:35:15 +00:00
tis_620.py Whitespace normalization. 2006-06-04 23:43:53 +00:00
undefined.py Patch #1436130: codecs.lookup() now returns a CodecInfo object (a subclass 2006-03-15 11:35:15 +00:00
unicode_escape.py Patch #1436130: codecs.lookup() now returns a CodecInfo object (a subclass 2006-03-15 11:35:15 +00:00
unicode_internal.py Patch #1436130: codecs.lookup() now returns a CodecInfo object (a subclass 2006-03-15 11:35:15 +00:00
utf_7.py The incremental decoder for utf-7 must preserve its state between calls. 2007-11-20 23:31:27 +00:00
utf_8.py Patch #1436130: codecs.lookup() now returns a CodecInfo object (a subclass 2006-03-15 11:35:15 +00:00
utf_8_sig.py Issue #6213: Implement getstate() and setstate() methods of utf-8-sig and 2010-07-28 01:39:45 +00:00
utf_16.py Issue #6213: Implement getstate() and setstate() methods of utf-8-sig and 2010-07-28 01:39:45 +00:00
utf_16_be.py Patch #1436130: codecs.lookup() now returns a CodecInfo object (a subclass 2006-03-15 11:35:15 +00:00
utf_16_le.py Patch #1436130: codecs.lookup() now returns a CodecInfo object (a subclass 2006-03-15 11:35:15 +00:00
utf_32.py Fix my last commit (r81471) about codecs 2010-05-22 13:44:25 +00:00
utf_32_be.py Backport r57105 and r57145 from the py3k branch: UTF-32 codecs. 2007-08-17 16:41:28 +00:00
utf_32_le.py Backport r57105 and r57145 from the py3k branch: UTF-32 codecs. 2007-08-17 16:41:28 +00:00
uu_codec.py Issue #19543: Emit deprecation warning for known non-text encodings. 2015-05-31 20:21:00 +03:00
zlib_codec.py Issue #19543: Emit deprecation warning for known non-text encodings. 2015-05-31 20:21:00 +03:00