- 12 Ock, 2019 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
Add also tests for PyUnicode_FromFormat() and PyBytes_FromFormat() with empty result.
-
- 11 Eyl, 2018 1 kayıt (commit)
-
-
Victor Stinner yazdı
This reverts commit 886483e2.
-
- 07 Eyl, 2018 1 kayıt (commit)
-
-
Victor Stinner yazdı
* Add %T format to PyUnicode_FromFormatV(), and so to PyUnicode_FromFormat() and PyErr_Format(), to format an object type name: equivalent to "%s" with Py_TYPE(obj)->tp_name. * Replace Py_TYPE(obj)->tp_name with %T format in unicodeobject.c. * Add unit test on %T format. * Rename unicode_fromformat_write_cstr() to unicode_fromformat_write_utf8(), to make the intent more explicit.
-
- 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).
-
- 27 Ock, 2018 1 kayıt (commit)
-
-
INADA Naoki yazdı
-
- 13 Kas, 2017 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
in int(), float() and complex() parsers. This also speeds up parsing non-ASCII numbers by around 20%.
-
- 03 Agu, 2017 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
Previously any exception was replaced with a KeyError exception.
-
- 27 Mar, 2017 1 kayıt (commit)
-
-
Victor Stinner yazdı
Make also minor PEP8 coding style fixes on modified imports.
-
- 23 Şub, 2017 1 kayıt (commit)
-
-
Martijn Pieters yazdı
When you use `'%s' % SubClassOfStr()`, where `SubClassOfStr.__rmod__` exists, the reverse operation is ignored as normally such string formatting operations use the `PyUnicode_Format()` fast path. This patch tests for subclasses of `str` first and picks the slow path in that case. Patch by Martijn Pieters.
-
- 12 Ock, 2017 1 kayıt (commit)
-
-
Martin Panter yazdı
-
- 21 Ara, 2016 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 20 Ara, 2016 1 kayıt (commit)
-
-
Xiang Zhang yazdı
-
- 18 Ara, 2016 1 kayıt (commit)
-
-
Martin Panter yazdı
-
- 31 Eki, 2016 2 kayıt (commit)
-
-
Eric V. Smith yazdı
-
Eric V. Smith yazdı
-
- 08 Eki, 2016 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
Patch by Xiang Zhang.
-
- 02 Eki, 2016 3 kayıt (commit)
-
-
Serhiy Storchaka yazdı
Reported by Xiang Zhang.
-
Serhiy Storchaka yazdı
Original patch by Xiang Zhang.
-
Serhiy Storchaka yazdı
-
- 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.
-
- 18 Agu, 2016 1 kayıt (commit)
-
-
Guido van Rossum yazdı
- Issue #25958: Support "anti-registration" of special methods from various ABCs, like __hash__, __iter__ or __len__. All these (and several more) can be set to None in an implementation class and the behavior will be as if the method is not defined at all. (Previously, this mechanism existed only for __hash__, to make mutable classes unhashable.) Code contributed by Andrew Barnert and Ivan Levkivskyi.
-
- 15 Nis, 2016 1 kayıt (commit)
-
-
Martin Panter yazdı
This affects documentation, code comments, and a debugging messages.
-
- 10 Nis, 2016 1 kayıt (commit)
-
-
Martin Panter yazdı
This eliminates a few redundant test cases.
-
- 06 Nis, 2016 1 kayıt (commit)
-
-
Martin Panter yazdı
ByteArrayAsStringTest.fixtype() was converting test data to bytes, not byte- array, therefore many of the test cases inherited in this class were not actually being run on the bytearray type. The tests in buffer_tests.py were redundant with methods in string_tests .MixinStrUnicodeUserStringTest and string_tests.CommonTest. These methods are now moved into string_tests.BaseTest, where they will also get run for bytes and bytearray. This change also moves test_additional_split(), test_additional_rsplit(), and test_strip() from CommonTest to BaseTest, meaning these tests are now run for bytes and bytearray. I plan to eliminate redundancies with existing tests in test_bytes.py soon.
-
- 30 Mar, 2016 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
Affected classes are generic sequence iterators, iterators of str, bytes, bytearray, list, tuple, set, frozenset, dict, OrderedDict, corresponding views and os.scandir() iterator.
-
- 01 Mar, 2016 2 kayıt (commit)
-
-
Victor Stinner yazdı
Initialize i variable if the string is non-ASCII.
-
Victor Stinner yazdı
Issue #26464: Fix str.translate() when string is ASCII and first replacements removes character, but next replacement uses a non-ASCII character or a string longer than 1 character. Regression introduced in Python 3.5.0.
-
- 02 Ara, 2015 3 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
- 25 Kas, 2015 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
__bytes__, __trunc__, and __float__ returning instances of subclasses of bytes, int, and float to subclasses of bytes, int, and float correspondingly.
-
- 07 Kas, 2015 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 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.
-
- 12 May, 2015 2 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
- 29 Mar, 2015 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
is wider then partitioned string.
-
- 24 Mar, 2015 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 12 Mar, 2015 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
Fixed 2 to 3 porting bug in pynche.ColorDB.
-
- 27 Ock, 2015 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
and fix by Guido Vranken.
-