cpython/Objects
Eric Smith 625cbf28ee Modified parsing of format strings, so that we always return
a tuple (literal, field_name, format_spec, conversion).

literal will always be a string, but might be of zero length.
field_name will be None if there is no markup text
format_spec will be a (possibly zero length) string if
  field_name is non-None
conversion will be a one character string, or None

This makes the Formatter class, and especially it's parse()
method, easier to understand.

Suggestion was by Jim Jewett, inspired by the "tail" of an
elementtree node.

Also, fixed a reference leak in fieldnameiter_next.
2007-08-29 03:22:59 +00:00
..
stringlib Modified parsing of format strings, so that we always return 2007-08-29 03:22:59 +00:00
abstract.c Use unicode and remove support for some uses of str8. 2007-08-26 04:19:43 +00:00
boolobject.c Kill all uses and definitions of tp_print under Objects/. (Others will follow.) 2007-08-07 19:51:00 +00:00
bufferobject.c Merge the trunk changes in. Breaks socket.ssl for now. 2007-08-28 21:37:11 +00:00
bytesobject.c Make some internal functions static 2007-08-27 06:19:22 +00:00
cellobject.c Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
classobject.c Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
cobject.c Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
codeobject.c Ensure that code object names (co_name) are unicode. 2007-08-24 23:12:06 +00:00
complexobject.c Use unicode and remove support for some uses of str8. 2007-08-26 04:51:10 +00:00
descrobject.c Use unicode 2007-08-25 07:41:59 +00:00
dictnotes.txt Merged revisions 53623-53858 via svnmerge from 2007-02-23 15:07:44 +00:00
dictobject.c Keir Mierle's set operations for dict views (keys/items only of course). 2007-08-24 23:41:22 +00:00
enumobject.c Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
exceptions.c Use unicode and remove support for some uses of str8. 2007-08-26 04:51:10 +00:00
fileobject.c Kill execfile(), use exec() instead 2007-08-12 00:43:29 +00:00
floatobject.c Use unicode and remove support for some uses of str8. 2007-08-26 04:19:43 +00:00
frameobject.c Merged revisions 56492-56752 via svnmerge from 2007-08-05 15:29:28 +00:00
funcobject.c Use unicode and stop supporting str8 2007-08-26 03:56:04 +00:00
genobject.c Merged revisions 56492-56752 via svnmerge from 2007-08-05 15:29:28 +00:00
iterobject.c Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
listobject.c Merge the trunk changes in. Breaks socket.ssl for now. 2007-08-28 21:37:11 +00:00
listsort.txt Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
longobject.c Use unicode and remove support for some uses of str8. 2007-08-26 04:51:10 +00:00
memoryobject.c SF #1777057, fix memoryview('test') so it works in debug mode too. 2007-08-19 18:38:46 +00:00
methodobject.c CFunctions' doc strings should be Unicode. 2007-08-23 23:35:15 +00:00
moduleobject.c Use unicode and remove support for some uses of str8. 2007-08-26 04:51:10 +00:00
object.c Use unicode and remove support for some uses of str8. 2007-08-26 04:19:43 +00:00
obmalloc.c Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
rangeobject.c Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
setobject.c Patch by Keir Mierle so that sets can be compared to other objects that know 2007-08-23 23:57:24 +00:00
sliceobject.c Fix buglet in sliceobjects, they were not returning Py_NotImplemented when 2007-08-28 23:07:26 +00:00
stringobject.c Merge the trunk changes in. Breaks socket.ssl for now. 2007-08-28 21:37:11 +00:00
structseq.c Merge the trunk changes in. Breaks socket.ssl for now. 2007-08-28 21:37:11 +00:00
tupleobject.c Merge the trunk changes in. Breaks socket.ssl for now. 2007-08-28 21:37:11 +00:00
typeobject.c Use unicode and remove support for some uses of str8. 2007-08-26 06:45:23 +00:00
unicodectype.c Add XID_Start and XID_Continue properties to unicodectype. 2007-08-14 22:37:03 +00:00
unicodeobject.c Merge the trunk changes in. Breaks socket.ssl for now. 2007-08-28 21:37:11 +00:00
unicodetype_db.h Add XID_Start and XID_Continue properties to unicodectype. 2007-08-14 22:37:03 +00:00
weakrefobject.c Support unicode names 2007-08-25 08:13:40 +00:00