Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | | merge 3.2 (#12732) | Benjamin Peterson | 2011-08-13 | 1 | -0/+1 |
|\ \ | |/ | |||||
| * | in narrow builds, make sure to test codepoints as identifier characters ↵ | Benjamin Peterson | 2011-08-13 | 1 | -0/+1 |
| | | | | | | | | | | | | (closes #12732) This fixes the use of Unicode identifiers outside the BMP in narrow builds. | ||||
* | | Merge from 3.2. | Eric V. Smith | 2011-07-18 | 1 | -0/+5 |
|\ \ | |/ | |||||
| * | Closes #12579. Positional fields with str.format_map() now raise a ↵ | Eric V. Smith | 2011-07-18 | 1 | -0/+5 |
| | | | | | | | | ValueError instead of SystemError. | ||||
* | | merge from 3.2 | Senthil Kumaran | 2011-07-04 | 1 | -0/+1 |
|\ \ | |/ | |||||
| * | Fix closes issue12471 - wrong TypeError message when '%i' format spec was used. | Senthil Kumaran | 2011-07-04 | 1 | -0/+1 |
| | | |||||
* | | #6780: merge with 3.2. | Ezio Melotti | 2011-04-26 | 1 | -0/+8 |
|\ \ | |/ | |||||
| * | #6780: merge with 3.1. | Ezio Melotti | 2011-04-26 | 1 | -0/+8 |
| |\ | |||||
| | * | #6780: fix starts/endswith error message to mention that tuples are accepted ↵ | Ezio Melotti | 2011-04-26 | 1 | -0/+11 |
| | | | | | | | | | | | | too. | ||||
| | * | Merged revisions 86596 via svnmerge from | Ezio Melotti | 2010-11-21 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line #9424: Replace deprecated assert* methods in the Python test suite. ........ | ||||
| | * | Merged revisions 85861 via svnmerge from | Antoine Pitrou | 2010-10-27 | 1 | -3/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85861 | antoine.pitrou | 2010-10-27 20:52:48 +0200 (mer., 27 oct. 2010) | 3 lines Recode modules from latin-1 to utf-8 ........ |