| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fixes for shared 2.6 code that implements PEP 3101, advanced string | Eric Smith | 2008-02-17 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | | | | formatting. Includes: - Modifying tests for basic types to use __format__ methods, instead of builtin "format". - Adding PyObject_Format. - General str/unicode cleanup discovered when backporting to 2.6. - Removing datetimemodule.c's time_format, since it was identical to date_format. The files in Objects/stringlib that implement PEP 3101 (stringdefs.h, unicodedefs.h, formatter.h, string_format.h) are identical in trunk and py3k. Any changes from here on should be made to trunk, and changes will propogate to py3k). | ||||
| * | Changed to use 'U' argument to PyArg_ParseTuple, instead of manually ↵ | Eric Smith | 2007-09-01 | 1 | -0/+1 |
| | | | | | checking for unicode objects. | ||||
| * | Implementation of PEP 3101, Advanced String Formatting. | Eric Smith | 2007-08-25 | 1 | -0/+23 |
| 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. | |||||
