cpython/Python
Eric Smith a9f7d62480 Backport of PEP 3101, Advanced String Formatting, from py3k.
Highlights:
 - Adding PyObject_Format.
 - Adding string.Format class.
 - Adding __format__ for str, unicode, int, long, float, datetime.
 - Adding builtin format.
 - Adding ''.format and u''.format.
 - str/unicode fixups for formatters.

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).
2008-02-17 19:46:49 +00:00
..
Python-ast.c Fix a couple of problems in generating the AST code: 2007-02-26 18:10:47 +00:00
asdl.c Fix type errors. 2006-04-13 13:08:58 +00:00
ast.c Added bytes and b'' as aliases for str and '' 2008-01-18 18:24:07 +00:00
atof.c
bltinmodule.c Backport of PEP 3101, Advanced String Formatting, from py3k. 2008-02-17 19:46:49 +00:00
ceval.c Reduce buffer size since we do not need 1k 2008-01-27 17:12:15 +00:00
codecs.c Bug #1511381: codec_getstreamcodec() in codec.c is corrected to 2006-06-23 21:16:18 +00:00
compile.c Cast a struct to a void pointer so as to do a type-safe pointer comparison 2008-02-07 07:47:31 +00:00
dup2.c
dynload_aix.c
dynload_atheos.c
dynload_beos.c
dynload_dl.c
dynload_hpux.c Oops, I forgot to include this file in the last commit (46046): 2006-05-19 07:05:01 +00:00
dynload_next.c
dynload_os2.c
dynload_shlib.c
dynload_stub.c
dynload_win.c Applied #1069410 2008-01-23 17:15:06 +00:00
errors.c Modified PyImport_Import and PyImport_ImportModule to always use absolute imports by calling __import__ with an explicit level of 0 2008-01-03 22:16:32 +00:00
formatter_string.c Backport of PEP 3101, Advanced String Formatting, from py3k. 2008-02-17 19:46:49 +00:00
formatter_unicode.c Backport of PEP 3101, Advanced String Formatting, from py3k. 2008-02-17 19:46:49 +00:00
frozen.c
frozenmain.c
future.c #1755: typo. 2008-01-07 16:41:57 +00:00
getargs.c Issue #1521: on 64bit platforms, str.decode fails on very long strings. 2007-11-30 20:51:40 +00:00
getcompiler.c
getcopyright.c update to (c) years to include 2007 2007-01-06 04:45:54 +00:00
getcwd.c Define MAXPATHLEN to be at least PATH_MAX, if that's defined. Python uses 2006-04-25 15:29:46 +00:00
getmtime.c
getopt.c Accept long options "--help" and "--version". 2006-07-12 15:31:17 +00:00
getplatform.c
getversion.c
graminit.c Backport PEP 3110's new 'except' syntax to 2.6. 2007-05-18 23:11:24 +00:00
hypot.c Fixed a wrong assumption in configure.in and Include/pyport.h. The is finite function is not called isfinite() but finite(). Sorry, my fault. :) 2008-01-20 14:28:28 +00:00
import.c Fixed some references leaks in sys. 2008-01-30 17:21:22 +00:00
importdl.c
importdl.h
mactoolboxglue.c Modified PyImport_Import and PyImport_ImportModule to always use absolute imports by calling __import__ with an explicit level of 0 2008-01-03 22:16:32 +00:00
marshal.c Fix refleak 2008-02-01 07:22:59 +00:00
memmove.c
modsupport.c #1782: don't leak in error case in PyModule_AddXxxConstant. Patch by Hrvoje Nikšić. 2008-01-19 18:02:46 +00:00
mysnprintf.c
mystrtoul.c Fix #1679: "0x" was taken as a valid integer literal. 2008-01-19 19:27:05 +00:00
peephole.c Use macro version of GET_SIZE to avoid Coverity warning (#150) about a possible error. 2007-06-09 04:48:22 +00:00
pyarena.c Fix more memory allocation issues found with failmalloc. 2006-07-22 16:20:49 +00:00
pyfpe.c
pystate.c Provide a sanity check during PyThreadState_DeleteCurrent() and 2008-01-21 07:11:11 +00:00
pystrcmp.c Applied patch #1635: Float patch for inf and nan on Windows (and other platforms). 2007-12-18 23:22:54 +00:00
pystrtod.c Patch #1725 by Mark Dickinson, fixes incorrect conversion of -1e1000 2008-01-05 00:59:59 +00:00
pythonrun.c Deallocate content of the dict free list on interpreter shutdown 2008-02-08 00:11:31 +00:00
sigcheck.c
strdup.c
strerror.c
strtod.c Remove unnecessary curly braces around an int literal. 2008-02-07 08:04:07 +00:00
structmember.c Patch #1720595: add T_BOOL to the range of structmember types. 2008-01-21 21:23:15 +00:00
symtable.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
sysmodule.c Patch #1953 2008-02-04 18:00:12 +00:00
thread.c patch #1668: clarify envvar docs; rename THREADDEBUG to PYTHONTHREADDEBUG. 2008-01-07 17:25:53 +00:00
thread_atheos.h
thread_beos.h
thread_cthread.h
thread_foobar.h
thread_lwp.h
thread_nt.h Fix problems in x64 build that were discovered by the testsuite: 2007-05-03 20:27:03 +00:00
thread_os2.h bugfix: PyThread_start_new_thread() returns the thread ID, not a flag; 2006-07-23 13:00:04 +00:00
thread_pth.h
thread_pthread.h Patch #1454481: Make thread stack size runtime tunable. 2006-06-13 15:04:24 +00:00
thread_sgi.h
thread_solaris.h
thread_wince.h
traceback.c Coverity issue CID #169 2008-01-18 08:47:59 +00:00