Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #13706: Add assertions to detect bugs earlier | Victor Stinner | 2012-01-31 | 1 | -3/+9 |
| | |||||
* | Silence last compilation warning. | Amaury Forgeot d'Arc | 2012-01-23 | 1 | -1/+1 |
| | |||||
* | Fix compilation warnings (seen on win32 buildbot) | Amaury Forgeot d'Arc | 2012-01-23 | 1 | -4/+4 |
| | |||||
* | Issue #13706: Support non-ASCII fill characters | Victor Stinner | 2012-01-21 | 1 | -15/+19 |
| | |||||
* | Improve exception text. Closes issue 13811. | Eric V. Smith | 2012-01-20 | 1 | -2/+2 |
| | |||||
* | remove some usage of Py_UNICODE_TOUPPER/LOWER | Benjamin Peterson | 2012-01-12 | 1 | -11/+16 |
| | |||||
* | Add a new PyUnicode_Fill() function | Victor Stinner | 2012-01-03 | 1 | -15/+6 |
| | | | | | It is faster than the unicode_fill() function which was implemented in formatter_unicode.c. | ||||
* | Issue #9530: Fix undefined behaviour due to signed overflow in ↵ | Mark Dickinson | 2011-12-01 | 1 | -9/+7 |
| | | | | Python/formatter_unicode.c. | ||||
* | Fix misuse of PyUnicode_GET_SIZE, use PyUnicode_GET_LENGTH instead | Victor Stinner | 2011-10-11 | 1 | -1/+1 |
| | |||||
* | Change PyUnicode_KIND to 1,2,4. Drop _KIND_SIZE and _CHARACTER_SIZE. | Martin v. Löwis | 2011-10-07 | 1 | -2/+2 |
| | |||||
* | Don't check for the maximum character when copying from unicodeobject.c | Victor Stinner | 2011-10-05 | 1 | -9/+7 |
| | | | | | | | | * Create copy_characters() function which doesn't check for the maximum character in release mode * _PyUnicode_CheckConsistency() is no more static to be able to use it in _PyUnicode_FormatAdvanced() (in formatter_unicode.c) * _PyUnicode_CheckConsistency() checks the string hash | ||||
* | Add asciilib: similar to ucs1, ucs2 and ucs4 library, but specialized to ASCII | Victor Stinner | 2011-10-05 | 1 | -2/+2 |
| | | | | | | ucs1, ucs2 and ucs4 libraries have to scan created substring to find the maximum character, whereas it is not need to ASCII strings. Because ASCII strings are common, it is useful to optimize ASCII. | ||||
* | fill_number() and format_string_internal() check for ↵ | Victor Stinner | 2011-09-28 | 1 | -3/+8 |
| | | | | PyUnicode_CopyCharacters() failure | ||||
* | fill_number() ensures that the 'digits' string is ready | Victor Stinner | 2011-09-28 | 1 | -1/+4 |
| | |||||
* | fill_char() can now propagate an error | Victor Stinner | 2011-09-28 | 1 | -25/+47 |
| | |||||
* | Implement PEP 393. | Martin v. Löwis | 2011-09-28 | 1 | -6/+1439 |
| | |||||
* | Remove the uses of WITHOUT_COMPLEX introduced in r75471 | Mark Dickinson | 2009-10-18 | 1 | -2/+0 |
| | |||||
* | Merged revisions 75440 via svnmerge from | Mark Dickinson | 2009-10-15 | 1 | -0/+2 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r75440 | mark.dickinson | 2009-10-15 18:45:39 +0100 (Thu, 15 Oct 2009) | 1 line Allow core Python build to succeed under WITHOUT_COMPLEX. The module build stage still fails. ........ | ||||
* | Issue #1588: Add complex.__format__. | Eric Smith | 2009-04-30 | 1 | -3/+4 |
| | |||||
* | Refactor and clean up str.format() code (and helpers) in advance of ↵ | Eric Smith | 2008-05-30 | 1 | -5/+5 |
| | | | | optimizations. | ||||
* | Implementation of PEP 3101, Advanced String Formatting. | Eric Smith | 2007-08-25 | 1 | -0/+13 |
Known issues: The string.Formatter class, as discussed in the PEP, is incomplete. Error handling needs to conform to the PEP. Need to fix this warning that I introduced in Python/formatter_unicode.c: Objects/stringlib/unicodedefs.h:26: warning: `STRINGLIB_CMP' defined but not used Need to make sure sign formatting is correct, more tests needed. Need to remove '()' sign formatting, left over from an earlier version of the PEP. |