diff options
author | Eric Smith <eric@trueblade.com> | 2008-02-17 19:48:00 +0000 |
---|---|---|
committer | Eric Smith <eric@trueblade.com> | 2008-02-17 19:48:00 +0000 |
commit | 4fca804bf64cb9329ed364395e466b4a13382903 (patch) | |
tree | 8124b94741de53cd5aa6ee84764554dc22a64ed2 /Python/pythonrun.c | |
parent | c548261b1fba5779619c543cd8d0224c239bc24a (diff) | |
download | cpython-4fca804bf64cb9329ed364395e466b4a13382903.tar.gz |
Fixes for shared 2.6 code that implements PEP 3101, advanced string
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).
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions