cpython/Include
Eric Smith 8c66326368 Implementation of PEP 3101, Advanced String Formatting.
Known issues:

The string.Formatter class, as discussed in the PEP, is incomplete.

Error handling needs to conform to the PEP.

Need to fix this warning that I introduced in Python/formatter_unicode.c:
Objects/stringlib/unicodedefs.h:26: warning: `STRINGLIB_CMP' defined but not used

Need to make sure sign formatting is correct, more tests needed.

Need to remove '()' sign formatting, left over from an earlier version of the PEP.
2007-08-25 02:26:07 +00:00
..
Python-ast.h Merged revisions 56154-56264 via svnmerge from 2007-07-11 13:09:30 +00:00
Python.h Merged in py3k-buffer branch to main line. All objects now use the buffer protocol in PEP 3118. 2007-08-18 11:21:56 +00:00
abstract.h Merged in py3k-buffer branch to main line. All objects now use the buffer protocol in PEP 3118. 2007-08-18 11:21:56 +00:00
asdl.h Whoops, fix build breakage. There were still a few uses of the bool type. 2007-02-26 19:14:12 +00:00
ast.h Merge from ast-arena. This reduces the code in Python/ast.c by ~300 lines, 2005-12-17 20:54:49 +00:00
bitset.h
boolobject.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
bufferobject.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
bytesobject.h Code review of the new buffer protocol. Mostly add questions that should 2007-08-19 04:23:20 +00:00
cStringIO.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
cellobject.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
ceval.h Make identifiers str (not str8) objects throughout. 2007-06-10 09:51:05 +00:00
classobject.h Completely get rid of PyClass and PyInstance. 2006-08-17 05:42:55 +00:00
cobject.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
code.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
codecs.h Merge part of the trunk changes into the p3yk branch. This merges from 43030 2006-04-21 09:43:23 +00:00
compile.h Merge p3yk branch with the trunk up to revision 45595. This breaks a fair 2006-04-21 10:40:58 +00:00
complexobject.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
datetime.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
descrobject.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
dictobject.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
enumobject.h
errcode.h Implement PEP 3131. Add isidentifier to str. 2007-08-15 07:32:56 +00:00
eval.h Jiwon Seo's PEP 3102 implementation. 2006-10-27 23:31:49 +00:00
fileobject.h Rip out the file object's implementation. 2007-06-12 23:30:11 +00:00
floatobject.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
formatter_unicode.h Implementation of PEP 3101, Advanced String Formatting. 2007-08-25 02:26:07 +00:00
frameobject.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
funcobject.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
genobject.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
graminit.h Merged revisions 55407-55513 via svnmerge from 2007-05-22 18:11:13 +00:00
grammar.h
import.h Merge current trunk into p3yk. This includes the PyNumber_Index API change, 2006-08-21 19:07:27 +00:00
intobject.h Merged revisions 55342-55406 via svnmerge from 2007-05-17 18:20:34 +00:00
intrcheck.h
iterobject.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
listobject.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
longintrepr.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
longobject.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
marshal.h Merge ssize_t branch. 2006-02-15 17:27:45 +00:00
memoryobject.h Merged in py3k-buffer branch to main line. All objects now use the buffer protocol in PEP 3118. 2007-08-18 11:21:56 +00:00
metagrammar.h
methodobject.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
modsupport.h Four months of trunk changes (including a few releases...) 2006-12-13 04:49:30 +00:00
moduleobject.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
node.h Patch #1440601: Add col_offset attribute to AST nodes. 2006-03-01 22:49:05 +00:00
object.h Fix memory leak in arraymodule.c and respond to a few comments by nnorwitz. 2007-08-20 07:16:33 +00:00
objimpl.h Remove _PyObject_Del 2007-08-19 22:48:23 +00:00
opcode.h Merged revisions 56301-56442 via svnmerge from 2007-07-18 18:15:48 +00:00
osdefs.h Remove RISCOS support 2007-08-16 14:35:24 +00:00
parsetok.h Checkpoint. 218 tests are okay; 53 are failing. Done so far: 2006-03-15 04:58:47 +00:00
patchlevel.h This gets at least test_cmd_line working again and a few more modules built. 2006-03-17 08:27:50 +00:00
pgen.h
pgenheaders.h
py_curses.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
pyarena.h Added words about what PyArena_Malloc() does. 2006-03-02 21:14:45 +00:00
pydebug.h Checkpoint. Manipulated things so that string literals are always 2007-04-27 23:53:51 +00:00
pyerrors.h Add const to some strings that are not modified 2007-08-24 20:00:37 +00:00
pyexpat.h Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
pyfpe.h
pygetopt.h
pymactoolbox.h
pymem.h Merged revisions 55325-55327 via svnmerge from 2007-05-14 22:51:27 +00:00
pyport.h Remove support for BeOS 2007-08-17 12:57:41 +00:00
pystate.h Make identifiers str (not str8) objects throughout. 2007-06-10 09:51:05 +00:00
pystrtod.h Merge ssize_t branch. 2006-02-15 17:27:45 +00:00
pythonrun.h Patch #1680961: remove sys.exitfunc and replace it with a private C API. Also, reimplement atexit in C so it can take advantage of this private API. 2007-03-21 02:57:17 +00:00
pythread.h Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
rangeobject.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
setobject.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
sliceobject.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
stringobject.h Fix merge breakage. 2007-07-21 18:47:48 +00:00
structmember.h Remove support for __members__ and __methods__. There still might be 2007-08-11 06:39:53 +00:00
structseq.h Remove PyArg_Parse usage from time module. (An extra set of eyeballs on 2007-08-24 21:11:00 +00:00
symtable.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
sysmodule.h Add const to input string parameters 2007-08-25 00:32:45 +00:00
timefuncs.h
token.h Make ELLIPSIS a separate token. This makes it a syntax error to write ". . ." for Ellipsis. 2007-03-18 19:01:53 +00:00
traceback.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
tupleobject.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
ucnhash.h Avoid forward-declaring the methods array. 2006-03-10 11:20:04 +00:00
unicodeobject.h Implementation of PEP 3101, Advanced String Formatting. 2007-08-25 02:26:07 +00:00
weakrefobject.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00