• Victor Stinner's avatar
    bpo-29240: PEP 540: Add a new UTF-8 Mode (#855) · 91106cd9
    Victor Stinner yazdı
    * Add -X utf8 command line option, PYTHONUTF8 environment variable
      and a new sys.flags.utf8_mode flag.
    * If the LC_CTYPE locale is "C" at startup: enable automatically the
      UTF-8 mode.
    * Add _winapi.GetACP(). encodings._alias_mbcs() now calls
      _winapi.GetACP() to get the ANSI code page
    * locale.getpreferredencoding() now returns 'UTF-8' in the UTF-8
      mode. As a side effect, open() now uses the UTF-8 encoding by
      default in this mode.
    * Py_DecodeLocale() and Py_EncodeLocale() now use the UTF-8 encoding
      in the UTF-8 Mode.
    * Update subprocess._args_from_interpreter_flags() to handle -X utf8
    * Skip some tests relying on the current locale if the UTF-8 mode is
      enabled.
    * Add test_utf8mode.py.
    * _Py_DecodeUTF8_surrogateescape() gets a new optional parameter to
      return also the length (number of wide characters).
    * pymain_get_global_config() and pymain_set_global_config() now
      always copy flag values, rather than only copying if the new value
      is greater than the old value.
    91106cd9
Adı
Son kayıt (commit)
Son güncelleme
..
__init__.py Loading commit data...
aliases.py Loading commit data...
ascii.py Loading commit data...
base64_codec.py Loading commit data...
big5.py Loading commit data...
big5hkscs.py Loading commit data...
bz2_codec.py Loading commit data...
charmap.py Loading commit data...
cp037.py Loading commit data...
cp1006.py Loading commit data...
cp1026.py Loading commit data...
cp1125.py Loading commit data...
cp1140.py Loading commit data...
cp1250.py Loading commit data...
cp1251.py Loading commit data...
cp1252.py Loading commit data...
cp1253.py Loading commit data...
cp1254.py Loading commit data...
cp1255.py Loading commit data...
cp1256.py Loading commit data...
cp1257.py Loading commit data...
cp1258.py Loading commit data...
cp273.py Loading commit data...
cp424.py Loading commit data...
cp437.py Loading commit data...
cp500.py Loading commit data...
cp65001.py Loading commit data...
cp720.py Loading commit data...
cp737.py Loading commit data...
cp775.py Loading commit data...
cp850.py Loading commit data...
cp852.py Loading commit data...
cp855.py Loading commit data...
cp856.py Loading commit data...
cp857.py Loading commit data...
cp858.py Loading commit data...
cp860.py Loading commit data...
cp861.py Loading commit data...
cp862.py Loading commit data...
cp863.py Loading commit data...
cp864.py Loading commit data...
cp865.py Loading commit data...
cp866.py Loading commit data...
cp869.py Loading commit data...
cp874.py Loading commit data...
cp875.py Loading commit data...
cp932.py Loading commit data...
cp949.py Loading commit data...
cp950.py Loading commit data...
euc_jis_2004.py Loading commit data...
euc_jisx0213.py Loading commit data...
euc_jp.py Loading commit data...
euc_kr.py Loading commit data...
gb18030.py Loading commit data...
gb2312.py Loading commit data...
gbk.py Loading commit data...
hex_codec.py Loading commit data...
hp_roman8.py Loading commit data...
hz.py Loading commit data...
idna.py Loading commit data...
iso2022_jp.py Loading commit data...
iso2022_jp_1.py Loading commit data...
iso2022_jp_2.py Loading commit data...
iso2022_jp_2004.py Loading commit data...
iso2022_jp_3.py Loading commit data...
iso2022_jp_ext.py Loading commit data...
iso2022_kr.py Loading commit data...
iso8859_1.py Loading commit data...
iso8859_10.py Loading commit data...
iso8859_11.py Loading commit data...
iso8859_13.py Loading commit data...
iso8859_14.py Loading commit data...
iso8859_15.py Loading commit data...
iso8859_16.py Loading commit data...
iso8859_2.py Loading commit data...
iso8859_3.py Loading commit data...
iso8859_4.py Loading commit data...
iso8859_5.py Loading commit data...
iso8859_6.py Loading commit data...
iso8859_7.py Loading commit data...
iso8859_8.py Loading commit data...
iso8859_9.py Loading commit data...
johab.py Loading commit data...
koi8_r.py Loading commit data...
koi8_t.py Loading commit data...
koi8_u.py Loading commit data...
kz1048.py Loading commit data...
latin_1.py Loading commit data...
mac_arabic.py Loading commit data...
mac_centeuro.py Loading commit data...
mac_croatian.py Loading commit data...
mac_cyrillic.py Loading commit data...
mac_farsi.py Loading commit data...
mac_greek.py Loading commit data...
mac_iceland.py Loading commit data...
mac_latin2.py Loading commit data...
mac_roman.py Loading commit data...
mac_romanian.py Loading commit data...
mac_turkish.py Loading commit data...
mbcs.py Loading commit data...
oem.py Loading commit data...
palmos.py Loading commit data...
ptcp154.py Loading commit data...
punycode.py Loading commit data...
quopri_codec.py Loading commit data...
raw_unicode_escape.py Loading commit data...
rot_13.py Loading commit data...
shift_jis.py Loading commit data...
shift_jis_2004.py Loading commit data...
shift_jisx0213.py Loading commit data...
tis_620.py Loading commit data...
undefined.py Loading commit data...
unicode_escape.py Loading commit data...
unicode_internal.py Loading commit data...
utf_16.py Loading commit data...
utf_16_be.py Loading commit data...
utf_16_le.py Loading commit data...
utf_32.py Loading commit data...
utf_32_be.py Loading commit data...
utf_32_le.py Loading commit data...
utf_7.py Loading commit data...
utf_8.py Loading commit data...
utf_8_sig.py Loading commit data...
uu_codec.py Loading commit data...
zlib_codec.py Loading commit data...