Eric Smith
a9f7d62480
Backport of PEP 3101, Advanced String Formatting, from py3k.
...
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).
2008-02-17 19:46:49 +00:00
..
2008-02-17 19:46:49 +00:00
2007-12-19 02:37:44 +00:00
2007-12-19 02:37:44 +00:00
2007-12-19 02:37:44 +00:00
2008-02-14 12:47:33 +00:00
2007-12-19 02:37:44 +00:00
2007-12-19 02:37:44 +00:00
2007-12-19 02:37:44 +00:00
2007-12-19 02:37:44 +00:00
2007-12-19 02:37:44 +00:00
2007-12-19 02:37:44 +00:00
2007-12-19 02:37:44 +00:00
2007-12-19 02:37:44 +00:00
2008-02-04 18:00:12 +00:00
2008-02-17 19:46:49 +00:00
2008-02-17 19:46:49 +00:00
2008-02-14 12:47:33 +00:00
2007-12-19 02:37:44 +00:00
2008-01-26 14:14:20 +00:00
2008-01-03 22:16:32 +00:00
2008-02-10 01:36:53 +00:00
2007-12-19 02:37:44 +00:00
2007-12-19 02:37:44 +00:00
2008-01-25 12:18:43 +00:00
2008-02-10 01:36:53 +00:00
2008-02-14 12:47:33 +00:00
2008-01-22 15:25:18 +00:00
2007-12-19 02:37:44 +00:00
2008-01-27 23:34:59 +00:00
2007-12-19 02:37:44 +00:00
2007-12-18 18:26:18 +00:00
2008-01-03 22:16:32 +00:00
2008-01-07 17:09:35 +00:00
2007-12-19 19:41:06 +00:00
2007-05-02 04:47:55 +00:00
2008-01-31 23:08:23 +00:00
2007-12-18 23:22:54 +00:00
2007-12-18 23:22:54 +00:00
2008-02-08 00:11:31 +00:00
2007-12-19 02:37:44 +00:00
2008-02-03 23:14:32 +00:00
2007-12-19 02:37:44 +00:00
2007-12-19 02:37:44 +00:00
2008-01-21 21:23:15 +00:00
2007-12-19 02:37:44 +00:00
2007-12-19 02:37:44 +00:00
2008-02-14 12:47:33 +00:00
2008-02-14 12:47:33 +00:00
2007-12-19 02:37:44 +00:00