Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue 19572: More silently skipped tests explicitly skipped. | Zachary Ware | 2013-12-08 | 1 | -5/+5 |
| | |||||
* | fix format spec recursive expansion (closes #19729) | Benjamin Peterson | 2013-11-27 | 1 | -0/+1 |
| | |||||
* | Issue #16741: Remove testing of implementation artifact. | Serhiy Storchaka | 2013-08-03 | 1 | -2/+0 |
| | |||||
* | Add a couple of tests for str.center with non-ASCII chars. | Ezio Melotti | 2013-07-08 | 1 | -0/+9 |
| | |||||
* | Issue #18184: PyUnicode_FromFormat() and PyUnicode_FromFormatV() now raise | Serhiy Storchaka | 2013-06-23 | 1 | -0/+2 |
| | | | | OverflowError when an argument of %c format is out of range. | ||||
* | Add tests for issue #18183. | Serhiy Storchaka | 2013-06-12 | 1 | -3/+15 |
| | |||||
* | remove MAX_MAXCHAR because it's unsafe for computing maximum codepoitn value ↵ | Benjamin Peterson | 2013-06-10 | 1 | -0/+3 |
| | | | | (see #18183) | ||||
* | only recursively expand in the format spec (closes #17644) | Benjamin Peterson | 2013-05-17 | 1 | -0/+2 |
| | |||||
* | Silence DeprecationWarnings in test_unicode. | Ezio Melotti | 2013-02-20 | 1 | -9/+11 |
| | |||||
* | Issue #17137: When an Unicode string is resized, the internal wide character | Victor Stinner | 2013-02-07 | 1 | -0/+15 |
| | | | | string (wstr) format is now cleared. | ||||
* | #16910: test_bytes, test_unicode, and test_userstring now work with unittest ↵ | Ezio Melotti | 2013-01-10 | 1 | -5/+3 |
| | | | | test discovery. Patch by Zachary Ware. | ||||
* | Improve str() and object.__str__() documentation (issue #13538). | Chris Jerdonek | 2012-11-21 | 1 | -0/+20 |
| | |||||
* | #8271: the utf-8 decoder now outputs the correct number of U+FFFD ↵ | Ezio Melotti | 2012-11-04 | 1 | -1/+221 |
| | | | | characters when used with the "replace" error handler on invalid utf-8 sequences. Patch by Serhiy Storchaka, tests by Ezio Melotti. | ||||
* | Issue #14700: merge tests from 3.2. | Mark Dickinson | 2012-10-28 | 1 | -0/+27 |
|\ | |||||
| * | Issue #14700: Fix buggy overflow checks for large precision and width in ↵ | Mark Dickinson | 2012-10-28 | 1 | -0/+27 |
| | | | | | | | | new-style and old-style formatting. | ||||
* | | add another testcase | Benjamin Peterson | 2012-08-05 | 1 | -0/+1 |
| | | |||||
* | | Remove a now worthless test. | Brett Cannon | 2012-05-12 | 1 | -8/+0 |
| | | |||||
* | | unicode_writer_finish() checks string consistency | Victor Stinner | 2012-05-09 | 1 | -0/+4 |
| | | |||||
* | | Close #14648: Compute correctly maxchar in str.format() for substrin | Victor Stinner | 2012-04-23 | 1 | -2/+8 |
| | | |||||
* | | inherit maxchar of field value where needed (closes #14648) | Benjamin Peterson | 2012-04-23 | 1 | -0/+2 |
| | | |||||
* | | str.format_map tests don't do what they say: fix to actually implement the ↵ | Eric V. Smith | 2012-03-12 | 1 | -6/+9 |
|\ \ | |/ | | | | | intent of the test. Closes #13450. Patch by Akira Li. | ||||
| * | str.format_map tests don't do what they say: fix to actually implement the ↵ | Eric V. Smith | 2012-03-12 | 1 | -6/+9 |
| | | | | | | | | intent of the test. Closes #13450. | ||||
| * | Issue #13093: Fix error handling on PyUnicode_EncodeDecimal() | Victor Stinner | 2011-11-22 | 1 | -0/+36 |
| | | | | | | | | | | * Add tests for PyUnicode_EncodeDecimal() and PyUnicode_TransformDecimalToASCII() * Remove the unused "e" variable in replace() | ||||
* | | add str.casefold() (closes #13752) | Benjamin Peterson | 2012-01-14 | 1 | -0/+8 |
| | | |||||
* | | use full unicode mappings for upper/lower/title case (#12736) | Benjamin Peterson | 2012-01-11 | 1 | -0/+44 |
| | | | | | | | | Also broaden the category of characters that count as lowercase/uppercase. | ||||
* | | Close #13093: PyUnicode_EncodeDecimal() doesn't support error handlers | Victor Stinner | 2011-11-25 | 1 | -14/+4 |
| | | | | | | | | | | different than "strict" anymore. The caller was unable to compute the size of the output buffer: it depends on the error handler. | ||||
* | | (Merge 3.2) Issue #13093: Fix error handling on PyUnicode_EncodeDecimal() | Victor Stinner | 2011-11-22 | 1 | -0/+6 |
| | | |||||
* | | Add a test on str.__getnewargs__() | Victor Stinner | 2011-11-22 | 1 | -0/+7 |
| | | | | | | | | It tests indirectly PyUnicode_Copy(): ensure that the string is a copy. | ||||
* | | Rewrite PyUnicode_EncodeDecimal() to use the new Unicode API | Victor Stinner | 2011-11-21 | 1 | -0/+30 |
| | | | | | | | | | | Add tests for PyUnicode_EncodeDecimal() and PyUnicode_TransformDecimalToASCII(). | ||||
* | | "unicode_internal" codec has been deprecated: fix related tests | Victor Stinner | 2011-11-15 | 1 | -7/+15 |
| | | |||||
* | | Issue #13333: The UTF-7 decoder now accepts lone surrogates | Antoine Pitrou | 2011-11-15 | 1 | -4/+12 |
|\ \ | |/ | | | | | (the encoder already accepts them). | ||||
| * | Issue #13333: The UTF-7 decoder now accepts lone surrogates | Antoine Pitrou | 2011-11-15 | 1 | -4/+12 |
| | | | | | | | | (the encoder already accepts them). | ||||
* | | Fix range in test. | Ezio Melotti | 2011-11-11 | 1 | -1/+1 |
| | | |||||
* | | Make test more inclusive | Antoine Pitrou | 2011-11-11 | 1 | -6/+4 |
| | | |||||
* | | Enable commented out test | Antoine Pitrou | 2011-11-11 | 1 | -1/+1 |
| | | |||||
* | | Issue #13134: optimize finding single-character strings using memchr | Antoine Pitrou | 2011-10-11 | 1 | -0/+17 |
| | | |||||
* | | test_unicode was forgetting to run the common string tests for str.find() | Antoine Pitrou | 2011-10-08 | 1 | -0/+1 |
|\ \ | |/ | |||||
| * | test_unicode was forgetting to run the common string tests for str.find() | Antoine Pitrou | 2011-10-08 | 1 | -0/+1 |
| | | |||||
* | | Mark 'abc'.expandtab() optimization as specific to CPython | Victor Stinner | 2011-10-07 | 1 | -3/+4 |
| | | | | | | | | Improve also str.replace(a, a) test | ||||
* | | str.replace(a, a) is now returning str unchanged if a is a | Victor Stinner | 2011-10-07 | 1 | -0/+6 |
| | | |||||
* | | #13054: fix usage of sys.maxunicode after PEP-393. | Ezio Melotti | 2011-10-04 | 1 | -16/+4 |
| | | |||||
* | | When expandtabs() would be a no-op, don't create a duplicate string | Antoine Pitrou | 2011-10-04 | 1 | -0/+4 |
| | | |||||
* | | Optimize unicode_subtype_new(): don't encode to wchar_t and decode from wchar_t | Victor Stinner | 2011-10-01 | 1 | -4/+7 |
| | | | | | | | | Rewrite unicode_subtype_new(): allocate directly the right type. | ||||
* | | remove "fast-path" for (i)adding strings | Benjamin Peterson | 2011-10-01 | 1 | -0/+12 |
| | | | | | | | | | | | | These were just an artifact of the old unicode concatenation hack and likely just penalized other kinds of adding. Also, this fixes __(i)add__ on string subclasses. | ||||
* | | Fix struct sizes. Drop -1, since the resulting string was actually the ↵ | Martin v. Löwis | 2011-09-28 | 1 | -6/+7 |
| | | | | | | | | | | | | largest one that could be allocated. | ||||
* | | Implement PEP 393. | Martin v. Löwis | 2011-09-28 | 1 | -14/+27 |
| | | |||||
* | | Merge indentation fix and skip decorator with 3.2. | Ezio Melotti | 2011-08-22 | 1 | -24/+28 |
|\ \ | |/ | |||||
| * | Fix indentation and add a skip decorator. | Ezio Melotti | 2011-08-22 | 1 | -24/+28 |
| | | |||||
* | | #9200: merge with 3.2. | Ezio Melotti | 2011-08-22 | 1 | -1/+157 |
|\ \ | |/ | |||||
| * | #9200: The str.is* methods now work with strings that contain non-BMP ↵ | Ezio Melotti | 2011-08-22 | 1 | -1/+157 |
| | | | | | | | | characters even in narrow Unicode builds. |