summaryrefslogtreecommitdiff
path: root/Python/formatter_unicode.c
AgeCommit message (Collapse)AuthorLines
2009-04-30Issue #1588: Add complex.__format__.Eric Smith-3/+3
2009-01-25fix building the core with --disable-unicodeBenjamin Peterson-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
2008-05-30Refactor and clean up str.format() code (and helpers) in advance of ↵Eric Smith-3/+3
optimizations.
2008-02-17Backport of PEP 3101, Advanced String Formatting, from py3k.Eric Smith-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).