Staging
v0.5.1
https://github.com/python/cpython
Revision 8fd3eba0501a77eec463179f529f56025ff4b40b authored by Eric Smith on 17 February 2008, 19:48:00 UTC, committed by Eric Smith on 17 February 2008, 19:48:00 UTC
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).
1 parent 18c6689
History
Tip revision: 8fd3eba0501a77eec463179f529f56025ff4b40b authored by Eric Smith on 17 February 2008, 19:48:00 UTC
Fixes for shared 2.6 code that implements PEP 3101, advanced string
Tip revision: 8fd3eba
File Mode Size
README.txt -rw-r--r-- 1.2 KB
count.h -rw-r--r-- 729 bytes
ctype.h -rw-r--r-- 2.6 KB
eq.h -rw-r--r-- 601 bytes
fastsearch.h -rw-r--r-- 2.8 KB
find.h -rw-r--r-- 4.0 KB
formatter.h -rw-r--r-- 27.9 KB
partition.h -rw-r--r-- 2.5 KB
string_format.h -rw-r--r-- 34.6 KB
stringdefs.h -rw-r--r-- 1.1 KB
transmogrify.h -rw-r--r-- 9.4 KB
unicodedefs.h -rw-r--r-- 1.8 KB

README.txt

back to top