cpython/Include
Eric Smith cf537ff39e Addresses issue 2802: 'n' formatting for integers.
Adds 'n' as a format specifier for integers, to mirror the same
specifier which is already available for floats.  'n' is the same as
'd', but inserts the current locale-specific thousands grouping.

I added this as a stringlib function, but it's only used by str type,
not unicode.  This is because of an implementation detail in
unicode.format(), which does its own str->unicode conversion.  But the
unicode version will be needed in 3.0, and it may be needed by other
code eventually in 2.6 (maybe decimal?), so I left it as a stringlib
implementation.  As long as the unicode version isn't instantiated,
there's no overhead for this.
2008-05-11 19:52:48 +00:00
..
Python-ast.h Patch #2511: Give the "excepthandler" AST item proper attributes by making it a Sum. 2008-03-30 06:40:17 +00:00
Python.h I finally got the time to update and merge Mark's and my trunk-math branch. The patch is collaborated work of Mark Dickinson and me. It was mostly done a few months ago. The patch fixes a lot of loose ends and edge cases related to operations with NaN, INF, very small values and complex math. 2008-04-18 23:13:07 +00:00
abstract.h Finish backporting new buffer API to Python 2.6. Left to do: memoryview object and structmodule. But, these need to be finished in Python 3.0 first. No objects support the new buffer API in Python 2.6 as of yet, and except for the memoryview object, I don't think they will. 2008-03-18 04:44:57 +00:00
asdl.h
ast.h
bitset.h
boolobject.h
bufferobject.h
bytes_methods.h Revert r61969 which added casts to Py_CHARMASK to avoid compiler warnings. 2008-03-28 04:58:51 +00:00
bytesobject.h Merged revisions 61750,61752,61754,61756,61760,61763,61768,61772,61775,61805,61809,61812,61819,61917,61920,61930,61933-61934 via svnmerge from 2008-03-26 12:49:49 +00:00
cStringIO.h
cellobject.h
ceval.h
classobject.h Implemented Martin's suggestion to clear the free lists during the garbage collection of the highest generation. 2008-02-14 12:47:33 +00:00
cobject.h
code.h Patch #2477: Added from __future__ import unicode_literals 2008-03-26 22:01:37 +00:00
codecs.h
compile.h Patch #2477: Added from __future__ import unicode_literals 2008-03-26 22:01:37 +00:00
complexobject.h I finally got the time to update and merge Mark's and my trunk-math branch. The patch is collaborated work of Mark Dickinson and me. It was mostly done a few months ago. The patch fixes a lot of loose ends and edge cases related to operations with NaN, INF, very small values and complex math. 2008-04-18 23:13:07 +00:00
datetime.h
descrobject.h
dictobject.h
enumobject.h
errcode.h
eval.h
fileobject.h Make file objects as thread safe as the underlying libc FILE* implementation. 2008-04-06 23:11:17 +00:00
floatobject.h Stupid me. Py_RETURN_NAN should actually return something ... 2008-04-18 23:49:11 +00:00
formatter_string.h Backport of PEP 3101, Advanced String Formatting, from py3k. 2008-02-17 19:46:49 +00:00
formatter_unicode.h Backport of PEP 3101, Advanced String Formatting, from py3k. 2008-02-17 19:46:49 +00:00
frameobject.h Implemented Martin's suggestion to clear the free lists during the garbage collection of the highest generation. 2008-02-14 12:47:33 +00:00
funcobject.h
genobject.h #1473257: add generator.gi_code attribute that refers to 2008-01-26 14:14:20 +00:00
graminit.h #2627 Let it be known what pgen generates 2008-04-13 20:35:56 +00:00
grammar.h
import.h 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
intobject.h Added PyNumber_ToBase and supporting routines _PyInt_Format and 2008-02-10 01:36:53 +00:00
intrcheck.h
iterobject.h
listobject.h
longintrepr.h Thomas Herve explained to me that PyCrypto depends on the constants. I'm adding the aliases because C code for Python 2.x should compile under 2.6 as well. The aliases aren't available in Python 3.x though. 2008-02-25 17:32:07 +00:00
longobject.h Added PyNumber_ToBase and supporting routines _PyInt_Format and 2008-02-10 01:36:53 +00:00
marshal.h
metagrammar.h
methodobject.h Implemented Martin's suggestion to clear the free lists during the garbage collection of the highest generation. 2008-02-14 12:47:33 +00:00
modsupport.h Don't repeat yourself 2008-01-22 15:25:18 +00:00
moduleobject.h
node.h
object.h Remove Py_Refcnt, Py_Type, Py_Size, as they were added only 2008-04-24 13:16:36 +00:00
objimpl.h
opcode.h
osdefs.h
parsetok.h Patch #2477: Added from __future__ import unicode_literals 2008-03-26 22:01:37 +00:00
patchlevel.h Post tag updates. 2008-05-08 15:30:00 +00:00
pgen.h
pgenheaders.h
py_curses.h 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
pyarena.h
pydebug.h Implemented PEP 370 2008-05-06 22:41:46 +00:00
pyerrors.h Re-implement the 'warnings' module in C. This allows for usage of the 2008-04-12 23:44:07 +00:00
pyexpat.h
pyfpe.h
pygetopt.h
pymactoolbox.h
pymath.h I finally got the time to update and merge Mark's and my trunk-math branch. The patch is collaborated work of Mark Dickinson and me. It was mostly done a few months ago. The patch fixes a lot of loose ends and edge cases related to operations with NaN, INF, very small values and complex math. 2008-04-18 23:13:07 +00:00
pymem.h
pyport.h I finally got the time to update and merge Mark's and my trunk-math branch. The patch is collaborated work of Mark Dickinson and me. It was mostly done a few months ago. The patch fixes a lot of loose ends and edge cases related to operations with NaN, INF, very small values and complex math. 2008-04-18 23:13:07 +00:00
pystate.h
pystrcmp.h
pystrtod.h
pythonrun.h Patch #2477: Added from __future__ import unicode_literals 2008-03-26 22:01:37 +00:00
pythread.h
rangeobject.h
setobject.h Nasty typo in setobject.h 2008-02-03 23:14:32 +00:00
sliceobject.h
stringobject.h Addresses issue 2802: 'n' formatting for integers. 2008-05-11 19:52:48 +00:00
structmember.h Patch #1720595: add T_BOOL to the range of structmember types. 2008-01-21 21:23:15 +00:00
structseq.h
symtable.h
sysmodule.h Re-implement the 'warnings' module in C. This allows for usage of the 2008-04-12 23:44:07 +00:00
timefuncs.h
token.h
traceback.h Re-implement the 'warnings' module in C. This allows for usage of the 2008-04-12 23:44:07 +00:00
tupleobject.h Implemented Martin's suggestion to clear the free lists during the garbage collection of the highest generation. 2008-02-14 12:47:33 +00:00
ucnhash.h
unicodeobject.h Implemented Martin's suggestion to clear the free lists during the garbage collection of the highest generation. 2008-02-14 12:47:33 +00:00
warnings.h Added PyErr_WarnPy3k function. (issue 2671) I will be converting current Py3k warnings to the use of this function soon. 2008-04-27 02:28:02 +00:00
weakrefobject.h