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
stringlib
abstract.c -rw-r--r-- 59.2 KB
boolobject.c -rw-r--r-- 4.4 KB
bytes_methods.c -rw-r--r-- 15.7 KB
bytesobject.c -rw-r--r-- 93.0 KB
cellobject.c -rw-r--r-- 2.6 KB
classobject.c -rw-r--r-- 14.5 KB
cobject.c -rw-r--r-- 3.9 KB
codeobject.c -rw-r--r-- 17.5 KB
complexobject.c -rw-r--r-- 24.1 KB
descrobject.c -rw-r--r-- 32.6 KB
dictnotes.txt -rw-r--r-- 11.9 KB
dictobject.c -rw-r--r-- 70.3 KB
doubledigits.c -rw-r--r-- 12.0 KB
enumobject.c -rw-r--r-- 9.4 KB
exceptions.c -rw-r--r-- 54.1 KB
fileobject.c -rw-r--r-- 11.8 KB
floatobject.c -rw-r--r-- 46.9 KB
frameobject.c -rw-r--r-- 25.4 KB
funcobject.c -rw-r--r-- 23.4 KB
genobject.c -rw-r--r-- 9.5 KB
iterobject.c -rw-r--r-- 9.3 KB
listobject.c -rw-r--r-- 65.9 KB
listsort.txt -rw-r--r-- 31.0 KB
longobject.c -rw-r--r-- 93.7 KB
memoryobject.c -rw-r--r-- 17.4 KB
methodobject.c -rw-r--r-- 7.8 KB
moduleobject.c -rw-r--r-- 6.3 KB
object.c -rw-r--r-- 41.6 KB
obmalloc.c -rw-r--r-- 56.8 KB
rangeobject.c -rw-r--r-- 18.9 KB
setobject.c -rw-r--r-- 54.7 KB
sliceobject.c -rw-r--r-- 8.7 KB
stringobject.c -rw-r--r-- 83.1 KB
structseq.c -rw-r--r-- 12.4 KB
tupleobject.c -rw-r--r-- 21.7 KB
typeobject.c -rw-r--r-- 158.9 KB
unicodectype.c -rw-r--r-- 16.4 KB
unicodeobject.c -rw-r--r-- 246.8 KB
unicodetype_db.h -rw-r--r-- 91.3 KB
weakrefobject.c -rw-r--r-- 27.9 KB

back to top