Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc | Martin Panter | 2016-04-15 | 1 | -1/+1 |
| | | | | This affects documentation, code comments, and a debugging messages. | ||||
* | Issue #26712: Unify (r)split, (l/r)strip tests into string_tests | Martin Panter | 2016-04-10 | 1 | -4/+0 |
| | | | | This eliminates a few redundant test cases. | ||||
* | Issue #26257: Eliminate buffer_tests.py and fix ByteArrayAsStringTest | Martin Panter | 2016-04-06 | 1 | -8/+8 |
| | | | | | | | | | | | | | | | | 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. | ||||
* | Issue #26494: Fixed crash on iterating exhausting iterators. | Serhiy Storchaka | 2016-03-30 | 1 | -0/+4 |
| | | | | | | Affected classes are generic sequence iterators, iterators of str, bytes, bytearray, list, tuple, set, frozenset, dict, OrderedDict, corresponding views and os.scandir() iterator. | ||||
* | Issue #26464: Fix unicode_fast_translate() again | Victor Stinner | 2016-03-01 | 1 | -4/+10 |
| | | | | Initialize i variable if the string is non-ASCII. | ||||
* | Fix str.translate() | Victor Stinner | 2016-03-01 | 1 | -0/+4 |
| | | | | | | 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. | ||||
* | Issue #25709: Fixed problem with in-place string concatenation and utf-8 cache. | Serhiy Storchaka | 2015-12-02 | 1 | -0/+17 |
|\ | |||||
| * | Issue #25709: Fixed problem with in-place string concatenation and utf-8 cache. | Serhiy Storchaka | 2015-12-02 | 1 | -0/+17 |
| | | |||||
* | | Issue #24731: Fixed crash on converting objects with special methods | Serhiy Storchaka | 2015-11-25 | 1 | -4/+7 |
|\ \ | |/ | | | | | | | __bytes__, __trunc__, and __float__ returning instances of subclasses of bytes, int, and float to subclasses of bytes, int, and float correspondingly. | ||||
| * | Issue #24731: Fixed crash on converting objects with special methods | Serhiy Storchaka | 2015-11-25 | 1 | -4/+7 |
| | | | | | | | | | | __bytes__, __trunc__, and __float__ returning instances of subclasses of bytes, int, and float to subclasses of bytes, int, and float correspondingly. | ||||
* | | Issue #22643: Skip test_case_operation_overflow on computers with low memory. | Serhiy Storchaka | 2015-11-07 | 1 | -1/+9 |
|\ \ | |/ | |||||
| * | Issue #22643: Skip test_case_operation_overflow on computers with low memory. | Serhiy Storchaka | 2015-11-07 | 1 | -1/+9 |
| | | |||||
* | | Issue #24848: Fixed bugs in UTF-7 decoding of misformed data: | Serhiy Storchaka | 2015-10-02 | 1 | -1/+2 |
|\ \ | |/ | | | | | | | | | | | 1. Non-ASCII bytes were accepted after shift sequence. 2. A low surrogate could be emitted in case of error in high surrogate. 3. In some circumstances the '\xfd' character was produced instead of the replacement character '\ufffd' (due to a bug in _PyUnicodeWriter). | ||||
| * | Issue #24848: Fixed bugs in UTF-7 decoding of misformed data: | Serhiy Storchaka | 2015-10-02 | 1 | -1/+2 |
| | | | | | | | | | | 1. Non-ASCII bytes were accepted after shift sequence. 2. A low surrogate could be emitted in case of error in high surrogate. | ||||
* | | Issue #22681: Added support for the koi8_t encoding. | Serhiy Storchaka | 2015-05-12 | 1 | -3/+4 |
| | | |||||
* | | Issue #22682: Added support for the kz1048 encoding. | Serhiy Storchaka | 2015-05-12 | 1 | -2/+2 |
| | | |||||
* | | Added explicit tests for issue #23803. | Serhiy Storchaka | 2015-03-29 | 1 | -0/+2 |
|\ \ | |/ | |||||
| * | Issue #23803: Fixed str.partition() and str.rpartition() when a separator | Serhiy Storchaka | 2015-03-29 | 1 | -0/+2 |
| | | | | | | | | is wider then partitioned string. | ||||
* | | Added tests for mixed kinds of Unicode strings. | Serhiy Storchaka | 2015-03-24 | 1 | -0/+150 |
|\ \ | |/ | |||||
| * | Added tests for mixed kinds of Unicode strings. | Serhiy Storchaka | 2015-03-24 | 1 | -0/+150 |
| | | |||||
* | | Issue #23641: Cleaned out legacy dunder names from tests and docs. | Serhiy Storchaka | 2015-03-12 | 1 | -47/+9 |
|\ \ | |/ | | | | | | | Fixed 2 to 3 porting bug in pynche.ColorDB. Added few tests for __truediv__, __floordiv__ and __matmul__. | ||||
| * | Issue #23641: Cleaned out legacy dunder names from tests and docs. | Serhiy Storchaka | 2015-03-12 | 1 | -47/+9 |
| | | | | | | | | Fixed 2 to 3 porting bug in pynche.ColorDB. | ||||
* | | Issue #23181: More "codepoint" -> "code point". | Serhiy Storchaka | 2015-01-18 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Issue #23181: More "codepoint" -> "code point". | Serhiy Storchaka | 2015-01-18 | 1 | -2/+2 |
| | | |||||
* | | merge 3.4 (#22643) | Benjamin Peterson | 2014-10-15 | 1 | -0/+1 |
|\ \ | |/ | |||||
| * | merge 3.3 (#22643) | Benjamin Peterson | 2014-10-15 | 1 | -0/+1 |
| |\ | |||||
| | * | test is cpython only | Benjamin Peterson | 2014-10-15 | 1 | -0/+1 |
| | | | |||||
* | | | merge 3.4 (#22643) | Benjamin Peterson | 2014-10-15 | 1 | -0/+5 |
|\ \ \ | |/ / | |||||
| * | | merge 3.3 (#22643) | Benjamin Peterson | 2014-10-15 | 1 | -0/+5 |
| |\ \ | | |/ | |||||
| | * | fix integer overflow in unicode case operations (closes #22643) | Benjamin Peterson | 2014-10-15 | 1 | -0/+5 |
| | | | |||||
* | | | Closes issue #12546: Allow \x00 as a fill character for builtin type ↵ | Eric V. Smith | 2014-04-14 | 1 | -0/+21 |
|\ \ \ | |/ / | | | | | | | __format__ methods. | ||||
| * | | Issue #12546: Allow \x00 as a fill character for builtin type __format__ ↵ | Eric V. Smith | 2014-04-14 | 1 | -0/+21 |
| | | | | | | | | | | | | methods. | ||||
* | | | Issue #21118: Add unit test for invalid character replacement (code point ↵ | Victor Stinner | 2014-04-05 | 1 | -0/+8 |
| | | | | | | | | | | | | higher than U+10ffff) | ||||
* | | | Issue #21118: Add more unit tests on str.translate() | Victor Stinner | 2014-04-04 | 1 | -0/+20 |
| | | | |||||
* | | | Issue19995: more informative error message; spelling corrections; use ↵ | Ethan Furman | 2014-03-21 | 1 | -9/+10 |
| | | | | | | | | | | | | operator.mod instead of __mod__ | ||||
* | | | Issue19995: passing a non-int to %o, %c, %x, or %X now raises an exception | Ethan Furman | 2014-03-19 | 1 | -5/+5 |
|/ / | |||||
* | | Issue #20532: Tests which use _testcapi now are marked as CPython only. | Serhiy Storchaka | 2014-02-07 | 1 | -1/+10 |
|\ \ | |/ | |||||
| * | Issue #20532: Tests which use _testcapi now are marked as CPython only. | Serhiy Storchaka | 2014-02-07 | 1 | -1/+10 |
| | | |||||
* | | Issue19995: fixed typo; switched from test.support.check_warnings to assertWarns | Ethan Furman | 2014-01-12 | 1 | -15/+5 |
| | | |||||
* | | Issue19995: issue deprecation warning for non-integer values to %c, %o, %x, %X | Ethan Furman | 2014-01-12 | 1 | -5/+15 |
| | | |||||
* | | assertEquals is deprecated, use assertEqual instead. | Antoine Pitrou | 2014-01-09 | 1 | -8/+8 |
| | | |||||
* | | Issue19995: %o, %x, %X now only accept ints | Ethan Furman | 2014-01-05 | 1 | -0/+29 |
| | | |||||
* | | Issue 19572: More silently skipped tests explicitly skipped. | Zachary Ware | 2013-12-08 | 1 | -5/+5 |
|\ \ | |/ | |||||
| * | Issue 19572: More silently skipped tests explicitly skipped. | Zachary Ware | 2013-12-08 | 1 | -5/+5 |
| | | |||||
* | | merge 3.3 (#19729) | Benjamin Peterson | 2013-11-27 | 1 | -0/+2 |
|\ \ | |/ | |||||
| * | fix format spec recursive expansion (closes #19729) | Benjamin Peterson | 2013-11-27 | 1 | -0/+1 |
| | | |||||
* | | Issue #19668: Added support for the cp1125 encoding. | Serhiy Storchaka | 2013-11-23 | 1 | -2/+2 |
| | | |||||
* | | #1097797: Add CP273 codec, and exercise it in the test suite | Andrew Kuchling | 2013-11-10 | 1 | -2/+2 |
| | | |||||
* | | Issue #18780: code cleanup. | Ethan Furman | 2013-08-31 | 1 | -34/+19 |
| | | |||||
* | | Close #18780: %-formatting now prints value for int subclasses with %d, %i, ↵ | Ethan Furman | 2013-08-31 | 1 | -0/+47 |
| | | | | | | | | and %u codes. |