summaryrefslogtreecommitdiffstats
path: root/Python/formatter_unicode.c
Commit message (Collapse)AuthorAgeFilesLines
* Issue #1588: Add complex.__format__.Eric Smith2009-04-301-3/+3
|
* fix building the core with --disable-unicodeBenjamin Peterson2009-01-251-0/+5
| | | | | I changed some bytearray methods to use strings instead of unicode like bytes_repr Also, bytearray.fromhex() can take strings as well as unicode
* Refactor and clean up str.format() code (and helpers) in advance of ↵Eric Smith2008-05-301-3/+3
| | | | optimizations.
* Backport of PEP 3101, Advanced String Formatting, from py3k.Eric Smith2008-02-171-0/+13
Highlights: - Adding PyObject_Format. - Adding string.Format class. - Adding __format__ for str, unicode, int, long, float, datetime. - Adding builtin format. - Adding ''.format and u''.format. - str/unicode fixups for formatters. 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).