cpython/Modules
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
..
_ctypes Merged revisions 59541-59561 via svnmerge from 2007-12-19 02:07:34 +00:00
_sqlite Merged revisions 59465-59487 via svnmerge from 2007-12-14 01:24:44 +00:00
cjkcodecs Merged revisions 59488-59511 via svnmerge from 2007-12-15 01:27:15 +00:00
expat Remove support for BeOS 2007-08-17 12:57:41 +00:00
zlib Remove RISCOS support 2007-08-16 14:35:24 +00:00
Setup.config.in
Setup.dist #1061 (mainly by Thomas Wouters): use weak sets for abc caches. 2007-10-23 06:26:46 +00:00
_bisectmodule.c Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 2007-12-02 14:31:20 +00:00
_bsddb.c Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 2007-12-02 14:31:20 +00:00
_codecsmodule.c Merged revisions 59056-59076 via svnmerge from 2007-11-20 23:38:09 +00:00
_collectionsmodule.c Merged revisions 59465-59487 via svnmerge from 2007-12-14 01:24:44 +00:00
_csv.c Remove PyInt_CheckExact. Add PyLong_AsLongAndOverflow. 2007-12-04 22:10:37 +00:00
_curses_panel.c Convert a bunch of constant strings in C to unicode. 2007-08-23 21:42:55 +00:00
_cursesmodule.c Remove PyInt_CheckExact. Add PyLong_AsLongAndOverflow. 2007-12-04 22:10:37 +00:00
_elementtree.c Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 2007-12-02 14:31:20 +00:00
_fileio.c Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 2007-12-02 14:31:20 +00:00
_functoolsmodule.c Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
_hashopenssl.c Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 2007-12-02 14:31:20 +00:00
_heapqmodule.c Use UTF-8 for a docstring that contains non-ASCII chars. 2007-08-23 23:58:43 +00:00
_localemodule.c Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 2007-12-02 14:31:20 +00:00
_lsprof.c #1535: rename __builtin__ module to builtins. 2007-12-02 09:40:06 +00:00
_randommodule.c Merged revisions 59275-59303 via svnmerge from 2007-12-03 21:02:03 +00:00
_sre.c Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 2007-12-02 14:31:20 +00:00
_ssl.c Merged revisions 59488-59511 via svnmerge from 2007-12-15 01:27:15 +00:00
_struct.c Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 2007-12-02 14:31:20 +00:00
_testcapimodule.c Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 2007-12-02 14:31:20 +00:00
_tkinter.c Remove PyInt_CheckExact. Add PyLong_AsLongAndOverflow. 2007-12-04 22:10:37 +00:00
_typesmodule.c Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
_weakref.c Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 2007-12-02 14:31:20 +00:00
addrinfo.h Cruft removal: 2006-12-28 04:47:50 +00:00
ar_beos
arraymodule.c Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 2007-12-02 14:31:20 +00:00
atexitmodule.c missing docstrings 2007-08-06 20:59:28 +00:00
audioop.c Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 2007-12-02 14:31:20 +00:00
binascii.c Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 2007-12-02 14:31:20 +00:00
bsddb.h Merged revisions 59488-59511 via svnmerge from 2007-12-15 01:27:15 +00:00
bz2module.c Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 2007-12-02 14:31:20 +00:00
cStringIO.c Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 2007-12-02 14:31:20 +00:00
cmathmodule.c Check return result from Py_InitModule*(). This API can fail. 2006-01-19 06:09:39 +00:00
config.c.in #1535: rename __builtin__ module to builtins. 2007-12-02 09:40:06 +00:00
cryptmodule.c Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
datetimemodule.c Remove PyInt_CheckExact. Add PyLong_AsLongAndOverflow. 2007-12-04 22:10:37 +00:00
dbmmodule.c Merging the py3k-pep3137 branch back into the py3k branch. 2007-11-06 21:34:58 +00:00
dlmodule.c Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 2007-12-02 14:31:20 +00:00
errnomodule.c Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 2007-12-02 14:31:20 +00:00
fcntlmodule.c Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 2007-12-02 14:31:20 +00:00
fpectlmodule.c Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
fpetestmodule.c Check return result from Py_InitModule*(). This API can fail. 2006-01-19 06:09:39 +00:00
gc_weakref.txt
gcmodule.c Minor cleanup in the gc module. 2007-12-10 23:58:35 +00:00
gdbmmodule.c Merging the py3k-pep3137 branch back into the py3k branch. 2007-11-06 21:34:58 +00:00
getaddrinfo.c SF patch #1670209, Remove Py_PROTO from socket by Pete Shinners. 2007-02-27 19:06:23 +00:00
getbuildinfo.c Merged revisions 55817-55961 via svnmerge from 2007-06-13 18:07:49 +00:00
getnameinfo.c SF patch #1670209, Remove Py_PROTO from socket by Pete Shinners. 2007-02-27 19:06:23 +00:00
getpath.c Merged revisions 53952-54987 via svnmerge from 2007-04-27 19:54:29 +00:00
grpmodule.c Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 2007-12-02 14:31:20 +00:00
itertoolsmodule.c Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 2007-12-02 14:31:20 +00:00
ld_so_aix SF Bug # 941346, AIX shared library fix 2005-10-03 03:57:09 +00:00
ld_so_beos
main.c Make test_cmd_line_scripts pass by using a unicode string instead of 2007-11-19 18:36:41 +00:00
makesetup Merged revisions 57778-58052 via svnmerge from 2007-09-08 17:39:28 +00:00
makexp_aix - Changes donated by Elemental Security to make it work on AIX 5.3 2005-09-14 18:09:42 +00:00
mathmodule.c Fix math.ceil() and math.floor() to fall back to __ceil__ and __floor__ 2007-08-23 22:56:55 +00:00
md5module.c Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 2007-12-02 14:31:20 +00:00
mmapmodule.c Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 2007-12-02 14:31:20 +00:00
nismodule.c Use s# instead of t# for nis_match. 2007-08-30 10:21:51 +00:00
operator.c Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 2007-12-02 14:31:20 +00:00
ossaudiodev.c Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 2007-12-02 14:31:20 +00:00
parsermodule.c Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 2007-12-02 14:31:20 +00:00
posixmodule.c Merged revisions 59304-59312 via svnmerge from 2007-12-04 01:13:14 +00:00
pwdmodule.c Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 2007-12-02 14:31:20 +00:00
pyexpat.c Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 2007-12-02 14:31:20 +00:00
python.c
readline.c Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 2007-12-02 14:31:20 +00:00
resource.c Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 2007-12-02 14:31:20 +00:00
rotatingtree.c randombits(): Stop compiler warning about mixing 2006-02-15 03:01:30 +00:00
rotatingtree.h Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk. 2006-05-27 19:21:47 +00:00
selectmodule.c Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 2007-12-02 14:31:20 +00:00
sha1module.c Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 2007-12-02 14:31:20 +00:00
sha256module.c Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 2007-12-02 14:31:20 +00:00
sha512module.c Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 2007-12-02 14:31:20 +00:00
signalmodule.c Merged revisions 59450-59464 via svnmerge from 2007-12-11 01:06:40 +00:00
socketmodule.c Merged revisions 59541-59561 via svnmerge from 2007-12-19 02:07:34 +00:00
socketmodule.h Marc-Andre Lemburg has found the culprit of the problem in r57142. 2007-11-30 23:34:21 +00:00
spwdmodule.c Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 2007-12-02 14:31:20 +00:00
sre.h Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
sre_constants.h
symtablemodule.c Hide list comp variables and support set comprehensions 2007-04-15 12:05:43 +00:00
syslogmodule.c Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 2007-12-02 14:31:20 +00:00
termios.c Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 2007-12-02 14:31:20 +00:00
testcapi_long.h
threadmodule.c Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 2007-12-02 14:31:20 +00:00
timemodule.c Remove PyInt_CheckExact. Add PyLong_AsLongAndOverflow. 2007-12-04 22:10:37 +00:00
tkappinit.c
unicodedata.c Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 2007-12-02 14:31:20 +00:00
unicodedata_db.h Update Unicode database to Unicode 4.1. 2006-03-09 23:38:20 +00:00
unicodename_db.h Update Unicode database to Unicode 4.1. 2006-03-09 23:38:20 +00:00
xxmodule.c Merged revisions 59465-59487 via svnmerge from 2007-12-14 01:24:44 +00:00
xxsubtype.c Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 2007-12-02 14:31:20 +00:00
yuv.h
yuvconvert.c
zipimport.c Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 2007-12-02 14:31:20 +00:00
zlibmodule.c Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 2007-12-02 14:31:20 +00:00