| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | #16910: merge with 3.3. | Ezio Melotti | 2013-01-10 | 1 | -5/+3 |
| |\ | |||||
| | * | #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. | ||||
| * | | Issue #9856: Replace deprecation warinigs to raising TypeError in ↵ | Andrew Svetlov | 2012-12-23 | 1 | -5/+3 |
| | | | | | | | | | | | | | object.__format__ Patch by Florent Xicluna. | ||||
| * | | Merge from 3.3: Improve str() and object.__str__() docs (issue #13538). | Chris Jerdonek | 2012-11-21 | 1 | -0/+20 |
| |\ \ | |/ | |||||
| | * | Improve str() and object.__str__() documentation (issue #13538). | Chris Jerdonek | 2012-11-21 | 1 | -0/+20 |
| | | | |||||
| * | | #8271: merge with 3.3. | Ezio Melotti | 2012-11-04 | 1 | -1/+221 |
| |\ \ | |/ | |||||
| | * | #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.3. | Mark Dickinson | 2012-10-28 | 1 | -0/+27 |
| |\ \ | |/ | |||||
| | * | 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. | ||||
| * | | | Issue #16147: PyUnicode_FromFormatV() doesn't need anymore to allocate a buffer | Victor Stinner | 2012-10-06 | 1 | -2/+12 |
| | | | | | | | | | | | | | on the heap to format numbers. | ||||
| * | | | Issue #16147: Rewrite PyUnicode_FromFormatV() to use _PyUnicodeWriter API | Victor Stinner | 2012-10-06 | 1 | -0/+16 |
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Simplify the code: replace 4 steps with one unique step using the _PyUnicodeWriter API. PyUnicode_Format() has the same design. It avoids to store intermediate results which require to allocate an array of pointers on the heap. * Use the _PyUnicodeWriter API for speed (and its convinient API): overallocate the buffer to reduce the number of "realloc()" * Implement "width" and "precision" in Python, don't rely on sprintf(). It avoids to need of a temporary buffer allocated on the heap: only use a small buffer allocated in the stack. * Add _PyUnicodeWriter_WriteCstr() function * Split PyUnicode_FromFormatV() into two functions: add unicode_fromformat_arg(). * Inline parse_format_flags(): the format of an argument is now only parsed once, it's no more needed to have a subfunction. * Optimize PyUnicode_FromFormatV() for characters between two "%" arguments: search the next "%" and copy the substring in one chunk, instead of copying character per character. | ||||
| * | | 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 |
| |\ \ | |/ | |||||
