Staging
v0.5.1
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
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
Fixes for shared 2.6 code that implements PEP 3101, advanced string
Tip revision: 8fd3eba
File | Mode | Size |
---|---|---|
Python.asdl | -rw-r--r-- | 4.4 KB |
acceler.c | -rw-r--r-- | 2.8 KB |
asdl.py | -rw-r--r-- | 11.4 KB |
asdl_c.py | -rwxr-xr-x | 25.3 KB |
bitset.c | -rw-r--r-- | 977 bytes |
firstsets.c | -rw-r--r-- | 2.2 KB |
grammar.c | -rw-r--r-- | 5.4 KB |
grammar.mak | -rw-r--r-- | 1.3 KB |
grammar1.c | -rw-r--r-- | 1.0 KB |
intrcheck.c | -rw-r--r-- | 2.3 KB |
listnode.c | -rw-r--r-- | 983 bytes |
metagrammar.c | -rw-r--r-- | 2.2 KB |
myreadline.c | -rw-r--r-- | 5.2 KB |
node.c | -rw-r--r-- | 3.5 KB |
parser.c | -rw-r--r-- | 9.7 KB |
parser.h | -rw-r--r-- | 1.0 KB |
parsetok.c | -rw-r--r-- | 6.3 KB |
pgen.c | -rw-r--r-- | 14.7 KB |
pgenmain.c | -rw-r--r-- | 3.3 KB |
printgrammar.c | -rw-r--r-- | 2.4 KB |
spark.py | -rw-r--r-- | 26.5 KB |
tokenizer.c | -rw-r--r-- | 36.4 KB |
tokenizer.h | -rw-r--r-- | 2.6 KB |
tokenizer_pgen.c | -rw-r--r-- | 36 bytes |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...