cpython/Include
Christian Heimes 99170a5dbf Merged revisions 59541-59561 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r59544 | raymond.hettinger | 2007-12-18 01:13:45 +0100 (Tue, 18 Dec 2007) | 1 line

  Add more namedtuple() test cases.  Neaten the code and comments.
........
  r59545 | christian.heimes | 2007-12-18 04:38:03 +0100 (Tue, 18 Dec 2007) | 3 lines

  Fixed for #1601: IDLE not working correctly on Windows (Py30a2/IDLE30a1)

  Amaury's ideas works great. Should we build the Python core with WINVER=0x0500 and _WIN32_WINNT=0x0500, too?
........
  r59546 | christian.heimes | 2007-12-18 10:00:13 +0100 (Tue, 18 Dec 2007) | 1 line

  Make it a bit easier to test Tcl/Tk and idle from a build dir.
........
  r59547 | christian.heimes | 2007-12-18 10:12:10 +0100 (Tue, 18 Dec 2007) | 1 line

  Removed several unused files from the PCbuild9 directory. They are relics from the past.
........
  r59548 | raymond.hettinger | 2007-12-18 19:26:18 +0100 (Tue, 18 Dec 2007) | 29 lines

  Speed-up dictionary constructor by about 10%.

  New opcode, STORE_MAP saves the compiler from awkward stack manipulations
  and specializes for dicts using PyDict_SetItem instead of PyObject_SetItem.

  Old disassembly:
                0 BUILD_MAP                0
                3 DUP_TOP
                4 LOAD_CONST               1 (1)
                7 ROT_TWO
                8 LOAD_CONST               2 ('x')
               11 STORE_SUBSCR
               12 DUP_TOP
               13 LOAD_CONST               3 (2)
               16 ROT_TWO
               17 LOAD_CONST               4 ('y')
               20 STORE_SUBSCR

  New disassembly:
                0 BUILD_MAP                0
                3 LOAD_CONST               1 (1)
                6 LOAD_CONST               2 ('x')
                9 STORE_MAP
               10 LOAD_CONST               3 (2)
               13 LOAD_CONST               4 ('y')
               16 STORE_MAP
........
  r59549 | thomas.heller | 2007-12-18 20:00:34 +0100 (Tue, 18 Dec 2007) | 2 lines

  Issue #1642: Fix segfault in ctypes when trying to delete attributes.
........
  r59551 | guido.van.rossum | 2007-12-18 21:10:42 +0100 (Tue, 18 Dec 2007) | 2 lines

  Issue #1645 by Alberto Bertogli.  Fix a comment.
........
  r59553 | raymond.hettinger | 2007-12-18 22:24:09 +0100 (Tue, 18 Dec 2007) | 12 lines

  Give meaning to the oparg for BUILD_MAP:  estimated size of the dictionary.

  Allows dictionaries to be pre-sized (upto 255 elements) saving time lost
  to re-sizes with their attendant mallocs and re-insertions.

  Has zero effect on small dictionaries (5 elements or fewer), a slight
  benefit for dicts upto 22 elements (because they had to resize once
  anyway), and more benefit for dicts upto 255 elements (saving multiple
  resizes during the build-up and reducing the number of collisions on
  the first insertions).  Beyond 255 elements, there is no addional benefit.
........
  r59554 | christian.heimes | 2007-12-18 22:56:09 +0100 (Tue, 18 Dec 2007) | 1 line

  Fixed #1649: IDLE error: dictionary changed size during iteration
........
  r59557 | raymond.hettinger | 2007-12-18 23:21:27 +0100 (Tue, 18 Dec 2007) | 1 line

  Simplify and speedup _asdict() for named tuples.
........
  r59558 | christian.heimes | 2007-12-19 00:22:54 +0100 (Wed, 19 Dec 2007) | 3 lines

  Applied patch #1635: Float patch for inf and nan on Windows (and other platforms).

  The patch unifies float("inf") and repr(float("inf")) on all platforms.
........
  r59559 | raymond.hettinger | 2007-12-19 00:51:15 +0100 (Wed, 19 Dec 2007) | 1 line

  Users demand iterable input for named tuples. The author capitulates.
........
  r59560 | raymond.hettinger | 2007-12-19 01:21:06 +0100 (Wed, 19 Dec 2007) | 1 line

  Beef-up tests for dict literals
........
  r59561 | raymond.hettinger | 2007-12-19 01:27:21 +0100 (Wed, 19 Dec 2007) | 1 line

  Zap a duplicate line
........
2007-12-19 02:07:34 +00:00
..
Python-ast.h Issue #1066: implement PEP 3109, 2/3 of PEP 3134. 2007-08-31 00:04:24 +00:00
Python.h Merged revisions 59541-59561 via svnmerge from 2007-12-19 02:07:34 +00:00
abstract.h Merged revisions 59376-59406 via svnmerge from 2007-12-08 15:33: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 REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
boolobject.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
bytes_methods.h For PEP3137: Adds missing methods to the mutable PyBytes object (soon 2007-10-16 06:31:30 +00:00
bytesobject.h Added all PyTypeObjects to the appropriate header files. 2007-11-29 22:35:39 +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 Issue #1587: Added instancemethod wrapper for PyCFunctions. The Python C API 2007-12-11 19:56:40 +00:00
cobject.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
code.h Patch #1272, by Christian Heimes and Alexandre Vassalotti. 2007-10-15 02:52:41 +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 Added all PyTypeObjects to the appropriate header files. 2007-11-29 22:35:39 +00:00
dictobject.h Merged revisions 59541-59561 via svnmerge from 2007-12-19 02:07:34 +00:00
enumobject.h Implement and apply PEP 322, reverse iteration 2003-11-06 14:06:48 +00:00
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 Add an errors parameter to open() and TextIOWrapper() to specify error handling. 2007-12-03 22:54:21 +00:00
floatobject.h Issue #1580: New free format floating point representation based on "Floating-Point Printer Sample Code", by Robert G. Burger. For example repr(11./5) now returns '2.2' instead of '2.2000000000000002'. 2007-12-10 22:19:17 +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 Fix some comments 2007-08-25 17:01:41 +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 REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
import.h Merged revisions 59005-59040 via svnmerge from 2007-11-18 19:35:23 +00:00
intobject.h I've moved the remains of PyInt_ to the longobject.h header file and removed the inclusing of intobject.h from Python.h. Now the intobject.h exists only to provide some aliases for porters from Python 2.x. 2007-12-02 16:52:32 +00:00
intrcheck.h Excise DL_EXPORT from Include. 2002-08-12 07:21:58 +00:00
iterobject.h Added all PyTypeObjects to the appropriate header files. 2007-11-29 22:35:39 +00:00
listobject.h Added all PyTypeObjects to the appropriate header files. 2007-11-29 22:35:39 +00:00
longintrepr.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
longobject.h Removed PyInt_GetMax and sys.maxint 2007-12-04 23:02:19 +00:00
marshal.h Merge ssize_t branch. 2006-02-15 17:27:45 +00:00
memoryobject.h Fix problems with memoryview object. There is still more to do to finish PEP 3118. The memory-view object needs to be fleshed out and the struct module needs to be modified. 2007-10-12 23:27:53 +00:00
metagrammar.h REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
methodobject.h Get rid of METH_OLDARGS. 2007-09-01 13:59:50 +00:00
modsupport.h Four months of trunk changes (including a few releases...) 2006-12-13 04:49:30 +00:00
moduleobject.h Get rid of more uses of string and use const in a few places. 2007-08-26 02:21:42 +00:00
node.h Patch #1440601: Add col_offset attribute to AST nodes. 2006-03-01 22:49:05 +00:00
object.h #1535: rename __builtin__ module to builtins. 2007-12-02 09:40:06 +00:00
objimpl.h Remove _PyObject_Del 2007-08-19 22:48:23 +00:00
opcode.h Merged revisions 59541-59561 via svnmerge from 2007-12-19 02:07:34 +00:00
osdefs.h Remove RISCOS support 2007-08-16 14:35:24 +00:00
parsetok.h Convert code from sys.stdin.encoding to UTF-8 in 2007-09-04 09:18:06 +00:00
patchlevel.h Get ready for releasing 3.0a2. 2007-12-06 05:07:41 +00:00
pgen.h Changes from Jonathan Riehl to allow his pgen extension (PEP 269) to 2003-04-17 14:55:42 +00:00
pgenheaders.h Use Py_GCC_ATTRIBUTE instead of __attribute__. Compilers other than GCC 2002-09-15 14:09:54 +00:00
py_curses.h Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 2007-12-02 14:31:20 +00:00
pyarena.h Added words about what PyArena_Malloc() does. 2006-03-02 21:14:45 +00:00
pydebug.h Merging the py3k-pep3137 branch back into the py3k branch. 2007-11-06 21:34:58 +00:00
pyerrors.h Merging the py3k-pep3137 branch back into the py3k branch. 2007-11-06 21:34:58 +00:00
pyexpat.h Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
pyfpe.h Some patches to Lee Busby's fpectl mods that accidentally didn't make it 1997-10-20 23:50:01 +00:00
pygetopt.h Excise DL_EXPORT from Include. 2002-08-12 07:21:58 +00:00
pymactoolbox.h SF patch #1035255: Remove CoreServices / CoreFoundation dependencies in core 2004-11-05 07:02:59 +00:00
pymem.h Merged revisions 55325-55327 via svnmerge from 2007-05-14 22:51:27 +00:00
pyport.h Merged revisions 59541-59561 via svnmerge from 2007-12-19 02:07:34 +00:00
pystate.h Make identifiers str (not str8) objects throughout. 2007-06-10 09:51:05 +00:00
pystrcmp.h Merged revisions 59541-59561 via svnmerge from 2007-12-19 02:07:34 +00:00
pystrtod.h Merge ssize_t branch. 2006-02-15 17:27:45 +00:00
pythonrun.h Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 2007-12-02 14:31:20 +00:00
pythread.h Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
rangeobject.h Added all PyTypeObjects to the appropriate header files. 2007-11-29 22:35:39 +00:00
setobject.h Added all PyTypeObjects to the appropriate header files. 2007-11-29 22:35:39 +00:00
sliceobject.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
stringobject.h Fixed issue #1564: The set implementation should special-case PyUnicode instead of PyString 2007-12-10 15:50:56 +00:00
structmember.h Fixed some build issues and updated docs. 2007-11-17 19:08:41 +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 Bug 975996: Add _PyTime_DoubleToTimet to C API 2004-06-20 02:50:16 +00:00
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 Added all PyTypeObjects to the appropriate header files. 2007-11-29 22:35:39 +00:00
ucnhash.h Avoid forward-declaring the methods array. 2006-03-10 11:20:04 +00:00
unicodeobject.h Added all PyTypeObjects to the appropriate header files. 2007-11-29 22:35:39 +00:00
weakrefobject.h Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00