- 25 Nis, 2019 1 kayıt (commit)
-
-
Paul Monson yazdı
-
- 30 Mar, 2019 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
The bug occurred when the encoded surrogate character is passed to the incremental decoder in two chunks.
-
- 20 Mar, 2019 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 18 Mar, 2019 1 kayıt (commit)
-
-
Inada Naoki yazdı
-
- 05 Mar, 2019 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 03 Ara, 2018 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 28 Kas, 2018 1 kayıt (commit)
-
-
Victor Stinner yazdı
Fix memory leak in PyUnicode_EncodeLocale() and PyUnicode_EncodeFSDefault() on error handling. Changes: * Fix unicode_encode_locale() error handling * Fix test_codecs.LocaleCodecTest
-
- 29 Agu, 2018 1 kayıt (commit)
-
-
Victor Stinner yazdı
Add support for the "surrogatepass" error handler in PyUnicode_DecodeFSDefault() and PyUnicode_EncodeFSDefault() for the UTF-8 encoding. Changes: * _Py_DecodeUTF8Ex() and _Py_EncodeUTF8Ex() now support the surrogatepass error handler (_Py_ERROR_SURROGATEPASS). * _Py_DecodeLocaleEx() and _Py_EncodeLocaleEx() now use the _Py_error_handler enum instead of "int surrogateescape" to pass the error handler. These functions now return -3 if the error handler is unknown. * Add unit tests on _Py_DecodeLocaleEx() and _Py_EncodeLocaleEx() in test_codecs. * Rename get_error_handler() to _Py_GetErrorHandler() and expose it as a private function. * _freeze_importlib doesn't need config.filesystem_errors="strict" workaround anymore.
-
- 19 Agu, 2018 1 kayıt (commit)
-
-
Zackery Spytz yazdı
bpo-22602: Raise an exception in the UTF-7 decoder for ill-formed sequences starting with "+". (GH-8741) The UTF-7 decoder now raises UnicodeDecodeError for ill-formed sequences starting with "+" (as specified in RFC 2152).
-
- 13 Ara, 2017 1 kayıt (commit)
-
-
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.
-
- 28 Kas, 2017 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
characters/bytes for non-negative n. This makes it compatible with read() methods of other file-like objects.
-
- 20 Eki, 2017 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
and in codecs.escape_decode() when decode an escaped non-ascii byte.
-
- 16 Eyl, 2016 1 kayıt (commit)
-
-
Berker Peksag yazdı
Issue #25270: Prevent codecs.escape_encode() from raising SystemError when an empty bytestring is passed
-
- 08 Eyl, 2016 2 kayıt (commit)
-
-
R David Murray yazdı
Patch by Emanuel Barry, reviewed by Serhiy Storchaka and Martin Panter.
-
R David Murray yazdı
And most of the tools. Patch by Emanual Barry, reviewed by me, Serhiy Storchaka, and Martin Panter.
-
- 07 Eyl, 2016 1 kayıt (commit)
-
-
Steve Dower yazdı
-
- 24 Nis, 2016 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 16 Nis, 2016 1 kayıt (commit)
-
-
Martin Panter yazdı
-
- 15 Nis, 2016 1 kayıt (commit)
-
-
Martin Panter yazdı
This affects documentation, code comments, and a debugging messages.
-
- 02 Kas, 2015 1 kayıt (commit)
-
-
Martin Panter yazdı
This changes the main documentation, doc strings, source code comments, and a couple error messages in the test suite. In some cases the word was removed or edited some other way to fix the grammar.
-
- 09 Eki, 2015 1 kayıt (commit)
-
-
Victor Stinner yazdı
Rewrite backslashreplace() to be closer to PyCodec_BackslashReplaceErrors(). Add also unit tests for non-BMP characters.
-
- 05 Eki, 2015 1 kayıt (commit)
-
-
Victor Stinner yazdı
handlers: ``ignore``, ``replace`` and ``surrogateescape``.
-
- 02 Eki, 2015 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
1. Non-ASCII bytes were accepted after shift sequence. 2. A low surrogate could be emitted in case of error in high surrogate.
-
- 01 Eki, 2015 1 kayıt (commit)
-
-
Victor Stinner yazdı
handlers: ``ignore``, ``replace``, ``surrogateescape``, ``surrogatepass``. Patch co-written with Serhiy Storchaka.
-
- 29 Eyl, 2015 1 kayıt (commit)
-
-
Victor Stinner yazdı
Issue #25227: Optimize ASCII and latin1 encoders with the ``surrogateescape`` error handler: the encoders are now up to 3 times as fast. Initial patch written by Serhiy Storchaka.
-
- 21 Eyl, 2015 1 kayıt (commit)
-
-
Victor Stinner yazdı
ignore and replace. Initial patch written by Naoki Inada. The decoder is now up to 60 times as fast for these error handlers. Add also unit tests for the ASCII decoder.
-
- 12 Eyl, 2015 1 kayıt (commit)
-
-
Martin Panter yazdı
This changes the equivalent functions listed for the Base-64, hex and Quoted- Printable codecs to reflect the functions actually used. Also mention and test the "quotetabs" setting for Quoted-Printable encoding.
-
- 12 May, 2015 2 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
- 20 Mar, 2015 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
codecs, that accepted only read-only bytes-like object now accept writable bytes-like object too.
-
- 26 Ock, 2015 1 kayıt (commit)
-
-
Victor Stinner yazdı
There was a bug which was fixed. The unit test was also wrong.
-
- 25 Ock, 2015 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
decoding and translating.
-
- 06 Ock, 2015 1 kayıt (commit)
-
-
Nick Coghlan yazdı
- clarified the distinction between text encodings and other codecs - clarified relationship with builtin open and the io module - consolidated documentation of error handlers into one section - clarified type constraints of some behaviours - added tests for some of the new statements in the docs
-
- 20 Ara, 2014 2 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
- 25 Kas, 2014 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 07 Kas, 2014 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
Based on patch by Martin Panter.
-
- 15 Eyl, 2014 1 kayıt (commit)
-
-
Nick Coghlan yazdı
-
- 16 May, 2014 1 kayıt (commit)
-
-
Victor Stinner yazdı
-
- 15 May, 2014 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
encodings.
-