[Python-checkins] CVS: python/dist/src/Modules _curses_panel.c,1.7,1.8 _cursesmodule.c,2.60,2.61 _sre.c,2.75,2.76 almodule.c,1.34,1.35 arraymodule.c,2.65,2.66 bsddbmodule.c,1.29,1.30 cPickle.c,2.71,2.72 cStringIO.c,2.31,2.32 cdmodule.c,1.25,1.26 clmodule.c,2.24,2.25 dbmmodule.c,2.27,2.28 dlmodule.c,2.17,2.18 flmodule.c,1.46,1.47 fmmodule.c,1.17,1.18 gdbmmodule.c,2.31,2.32 linuxaudiodev.c,2.15,2.16 md5module.c,2.26,2.27 mmapmodule.c,2.34,2.35 mpzmodule.c,2.37,2.38 parsermodule.c,2.67,2.68 pcremodule.c,2.29,2.30 posixmodule.c,2.214,2.215 pyexpat.c,2.56,2.57 regexmodule.c,1.44,1.45 rotormodule.c,2.30,2.31 selectmodule.c,2.58,2.59 shamodule.c,2.16,2.17 sunaudiodev.c,1.25,1.26 svmodule.c,2.17,2.18 threadmodule.c,2.43,2.44 timemodule.c,2.117,2.118 xreadlinesmodule.c,1.8,1.9 xxmodule.c,2.24,2.25 zlibmodule.c,2.56,2.57
Guido van Rossum
gvanrossum@users.sourceforge.net
Sat, 08 Dec 2001 10:03:00 -0800
Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv14386/Modules
Modified Files:
_curses_panel.c _cursesmodule.c _sre.c almodule.c
arraymodule.c bsddbmodule.c cPickle.c cStringIO.c cdmodule.c
clmodule.c dbmmodule.c dlmodule.c flmodule.c fmmodule.c
gdbmmodule.c linuxaudiodev.c md5module.c mmapmodule.c
mpzmodule.c parsermodule.c pcremodule.c posixmodule.c
pyexpat.c regexmodule.c rotormodule.c selectmodule.c
shamodule.c sunaudiodev.c svmodule.c threadmodule.c
timemodule.c xreadlinesmodule.c xxmodule.c zlibmodule.c
Log Message:
Patch supplied by Burton Radons for his own SF bug #487390: Modifying
type.__module__ behavior.
This adds the module name and a dot in front of the type name in every
type object initializer, except for built-in types (and those that
already had this). Note that it touches lots of Mac modules -- I have
no way to test these but the changes look right. Apologies if they're
not. This also touches the weakref docs, which contains a sample type
object initializer. It also touches the mmap test output, because the
mmap type's repr is included in that output. It touches object.h to
put the correct description in a comment.
Index: _curses_panel.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/_curses_panel.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** _curses_panel.c 2001/10/13 08:50:10 1.7
--- _curses_panel.c 2001/12/08 18:02:54 1.8
***************
*** 353,357 ****
PyObject_HEAD_INIT(NULL)
0, /*ob_size*/
! "curses panel", /*tp_name*/
sizeof(PyCursesPanelObject), /*tp_basicsize*/
0, /*tp_itemsize*/
--- 353,357 ----
PyObject_HEAD_INIT(NULL)
0, /*ob_size*/
! "_curses_panel.curses panel", /*tp_name*/
sizeof(PyCursesPanelObject), /*tp_basicsize*/
0, /*tp_itemsize*/
Index: _cursesmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/_cursesmodule.c,v
retrieving revision 2.60
retrieving revision 2.61
diff -C2 -d -r2.60 -r2.61
*** _cursesmodule.c 2001/11/11 14:49:15 2.60
--- _cursesmodule.c 2001/12/08 18:02:54 2.61
***************
*** 1512,1516 ****
PyObject_HEAD_INIT(NULL)
0, /*ob_size*/
! "curses window", /*tp_name*/
sizeof(PyCursesWindowObject), /*tp_basicsize*/
0, /*tp_itemsize*/
--- 1512,1516 ----
PyObject_HEAD_INIT(NULL)
0, /*ob_size*/
! "_curses.curses window", /*tp_name*/
sizeof(PyCursesWindowObject), /*tp_basicsize*/
0, /*tp_itemsize*/
Index: _sre.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/_sre.c,v
retrieving revision 2.75
retrieving revision 2.76
diff -C2 -d -r2.75 -r2.76
*** _sre.c 2001/12/07 04:25:10 2.75
--- _sre.c 2001/12/08 18:02:55 2.76
***************
*** 2404,2408 ****
statichere PyTypeObject Pattern_Type = {
PyObject_HEAD_INIT(NULL)
! 0, "SRE_Pattern",
sizeof(PatternObject), sizeof(SRE_CODE),
(destructor)pattern_dealloc, /*tp_dealloc*/
--- 2404,2408 ----
statichere PyTypeObject Pattern_Type = {
PyObject_HEAD_INIT(NULL)
! 0, "_sre.SRE_Pattern",
sizeof(PatternObject), sizeof(SRE_CODE),
(destructor)pattern_dealloc, /*tp_dealloc*/
***************
*** 2867,2871 ****
statichere PyTypeObject Match_Type = {
PyObject_HEAD_INIT(NULL)
! 0, "SRE_Match",
sizeof(MatchObject), sizeof(int),
(destructor)match_dealloc, /*tp_dealloc*/
--- 2867,2871 ----
statichere PyTypeObject Match_Type = {
PyObject_HEAD_INIT(NULL)
! 0, "_sre.SRE_Match",
sizeof(MatchObject), sizeof(int),
(destructor)match_dealloc, /*tp_dealloc*/
***************
*** 2975,2979 ****
statichere PyTypeObject Scanner_Type = {
PyObject_HEAD_INIT(NULL)
! 0, "SRE_Scanner",
sizeof(ScannerObject), 0,
(destructor)scanner_dealloc, /*tp_dealloc*/
--- 2975,2979 ----
statichere PyTypeObject Scanner_Type = {
PyObject_HEAD_INIT(NULL)
! 0, "_sre.SRE_Scanner",
sizeof(ScannerObject), 0,
(destructor)scanner_dealloc, /*tp_dealloc*/
Index: almodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/almodule.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -C2 -d -r1.34 -r1.35
*** almodule.c 2001/11/28 22:07:30 1.34
--- almodule.c 2001/12/08 18:02:55 1.35
***************
*** 598,602 ****
PyObject_HEAD_INIT(&PyType_Type)
0, /*ob_size*/
! "config", /*tp_name*/
sizeof(alcobject), /*tp_basicsize*/
0, /*tp_itemsize*/
--- 598,602 ----
PyObject_HEAD_INIT(&PyType_Type)
0, /*ob_size*/
! "al.config", /*tp_name*/
sizeof(alcobject), /*tp_basicsize*/
0, /*tp_itemsize*/
***************
*** 1322,1326 ****
PyObject_HEAD_INIT(&PyType_Type)
0, /*ob_size*/
! "port", /*tp_name*/
sizeof(alpobject), /*tp_basicsize*/
0, /*tp_itemsize*/
--- 1322,1326 ----
PyObject_HEAD_INIT(&PyType_Type)
0, /*ob_size*/
! "al.port", /*tp_name*/
sizeof(alpobject), /*tp_basicsize*/
0, /*tp_itemsize*/
Index: arraymodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/arraymodule.c,v
retrieving revision 2.65
retrieving revision 2.66
diff -C2 -d -r2.65 -r2.66
*** arraymodule.c 2001/11/28 20:27:42 2.65
--- arraymodule.c 2001/12/08 18:02:55 2.66
***************
*** 1529,1533 ****
PyObject_HEAD_INIT(NULL)
0,
! "array",
sizeof(arrayobject),
0,
--- 1529,1533 ----
PyObject_HEAD_INIT(NULL)
0,
! "array.array",
sizeof(arrayobject),
0,
Index: bsddbmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/bsddbmodule.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -d -r1.29 -r1.30
*** bsddbmodule.c 2001/03/22 00:19:22 1.29
--- bsddbmodule.c 2001/12/08 18:02:55 1.30
***************
*** 678,682 ****
PyObject_HEAD_INIT(NULL)
0,
! "bsddb",
sizeof(bsddbobject),
0,
--- 678,682 ----
PyObject_HEAD_INIT(NULL)
0,
! "bsddb.bsddb",
sizeof(bsddbobject),
0,
Index: cPickle.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/cPickle.c,v
retrieving revision 2.71
retrieving revision 2.72
diff -C2 -d -r2.71 -r2.72
*** cPickle.c 2001/11/28 21:49:51 2.71
--- cPickle.c 2001/12/08 18:02:55 2.72
***************
*** 168,172 ****
static PyTypeObject PdataType = {
! PyObject_HEAD_INIT(NULL) 0, "Pdata", sizeof(Pdata), 0,
(destructor)Pdata_dealloc,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0L,0L,0L,0L, ""
--- 168,172 ----
static PyTypeObject PdataType = {
! PyObject_HEAD_INIT(NULL) 0, "cPickle.Pdata", sizeof(Pdata), 0,
(destructor)Pdata_dealloc,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0L,0L,0L,0L, ""
***************
*** 2480,2484 ****
PyObject_HEAD_INIT(NULL)
0, /*ob_size*/
! "Pickler", /*tp_name*/
sizeof(Picklerobject), /*tp_basicsize*/
0,
--- 2480,2484 ----
PyObject_HEAD_INIT(NULL)
0, /*ob_size*/
! "cPickle.Pickler", /*tp_name*/
sizeof(Picklerobject), /*tp_basicsize*/
0,
***************
*** 4479,4483 ****
PyObject_HEAD_INIT(NULL)
0, /*ob_size*/
! "Unpickler", /*tp_name*/
sizeof(Unpicklerobject), /*tp_basicsize*/
0, /*tp_itemsize*/
--- 4479,4483 ----
PyObject_HEAD_INIT(NULL)
0, /*ob_size*/
! "cPickle.Unpickler", /*tp_name*/
sizeof(Unpicklerobject), /*tp_basicsize*/
0, /*tp_itemsize*/
Index: cStringIO.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/cStringIO.c,v
retrieving revision 2.31
retrieving revision 2.32
diff -C2 -d -r2.31 -r2.32
*** cStringIO.c 2001/12/07 20:20:28 2.31
--- cStringIO.c 2001/12/08 18:02:56 2.32
***************
*** 544,548 ****
PyObject_HEAD_INIT(NULL)
0, /*ob_size*/
! "StringO", /*tp_name*/
sizeof(Oobject), /*tp_basicsize*/
0, /*tp_itemsize*/
--- 544,548 ----
PyObject_HEAD_INIT(NULL)
0, /*ob_size*/
! "cStringIO.StringO", /*tp_name*/
sizeof(Oobject), /*tp_basicsize*/
0, /*tp_itemsize*/
***************
*** 678,682 ****
PyObject_HEAD_INIT(NULL)
0, /*ob_size*/
! "StringI", /*tp_name*/
sizeof(Iobject), /*tp_basicsize*/
0, /*tp_itemsize*/
--- 678,682 ----
PyObject_HEAD_INIT(NULL)
0, /*ob_size*/
! "cStringIO.StringI", /*tp_name*/
sizeof(Iobject), /*tp_basicsize*/
0, /*tp_itemsize*/
Index: cdmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/cdmodule.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** cdmodule.c 2000/09/01 23:29:26 1.25
--- cdmodule.c 2001/12/08 18:02:56 1.26
***************
*** 396,400 ****
PyObject_HEAD_INIT(&PyType_Type)
0, /*ob_size*/
! "cdplayer", /*tp_name*/
sizeof(cdplayerobject), /*tp_size*/
0, /*tp_itemsize*/
--- 396,400 ----
PyObject_HEAD_INIT(&PyType_Type)
0, /*ob_size*/
! "cd.cdplayer", /*tp_name*/
sizeof(cdplayerobject), /*tp_size*/
0, /*tp_itemsize*/
***************
*** 693,697 ****
PyObject_HEAD_INIT(&PyType_Type)
0, /*ob_size*/
! "cdparser", /*tp_name*/
sizeof(cdparserobject), /*tp_size*/
0, /*tp_itemsize*/
--- 693,697 ----
PyObject_HEAD_INIT(&PyType_Type)
0, /*ob_size*/
! "cd.cdparser", /*tp_name*/
sizeof(cdparserobject), /*tp_size*/
0, /*tp_itemsize*/
Index: clmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/clmodule.c,v
retrieving revision 2.24
retrieving revision 2.25
diff -C2 -d -r2.24 -r2.25
*** clmodule.c 2000/09/01 23:29:26 2.24
--- clmodule.c 2001/12/08 18:02:56 2.25
***************
*** 659,663 ****
PyObject_HEAD_INIT(&PyType_Type)
0, /*ob_size*/
! "cl", /*tp_name*/
sizeof(clobject), /*tp_size*/
0, /*tp_itemsize*/
--- 659,663 ----
PyObject_HEAD_INIT(&PyType_Type)
0, /*ob_size*/
! "cl.cl", /*tp_name*/
sizeof(clobject), /*tp_size*/
0, /*tp_itemsize*/
Index: dbmmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/dbmmodule.c,v
retrieving revision 2.27
retrieving revision 2.28
diff -C2 -d -r2.27 -r2.28
*** dbmmodule.c 2001/01/22 15:29:14 2.27
--- dbmmodule.c 2001/12/08 18:02:56 2.28
***************
*** 288,292 ****
PyObject_HEAD_INIT(NULL)
0,
! "dbm",
sizeof(dbmobject),
0,
--- 288,292 ----
PyObject_HEAD_INIT(NULL)
0,
! "dbm.dbm",
sizeof(dbmobject),
0,
Index: dlmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/dlmodule.c,v
retrieving revision 2.17
retrieving revision 2.18
diff -C2 -d -r2.17 -r2.18
*** dlmodule.c 2001/02/27 20:54:23 2.17
--- dlmodule.c 2001/12/08 18:02:56 2.18
***************
*** 137,141 ****
PyObject_HEAD_INIT(NULL)
0, /*ob_size*/
! "dl", /*tp_name*/
sizeof(dlobject), /*tp_basicsize*/
0, /*tp_itemsize*/
--- 137,141 ----
PyObject_HEAD_INIT(NULL)
0, /*ob_size*/
! "dl.dl", /*tp_name*/
sizeof(dlobject), /*tp_basicsize*/
0, /*tp_itemsize*/
Index: flmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/flmodule.c,v
retrieving revision 1.46
retrieving revision 1.47
diff -C2 -d -r1.46 -r1.47
*** flmodule.c 2001/11/28 20:27:42 1.46
--- flmodule.c 2001/12/08 18:02:56 1.47
***************
*** 379,383 ****
PyObject_HEAD_INIT(&PyType_Type)
0, /*ob_size*/
! "FORMS_object", /*tp_name*/
sizeof(genericobject), /*tp_size*/
0, /*tp_itemsize*/
--- 379,383 ----
PyObject_HEAD_INIT(&PyType_Type)
0, /*ob_size*/
! "fl.FORMS_object", /*tp_name*/
sizeof(genericobject), /*tp_size*/
0, /*tp_itemsize*/
***************
*** 1589,1593 ****
PyObject_HEAD_INIT(&PyType_Type)
0, /*ob_size*/
! "FORMS_form", /*tp_name*/
sizeof(formobject), /*tp_size*/
0, /*tp_itemsize*/
--- 1589,1593 ----
PyObject_HEAD_INIT(&PyType_Type)
0, /*ob_size*/
! "fl.FORMS_form", /*tp_name*/
sizeof(formobject), /*tp_size*/
0, /*tp_itemsize*/
Index: fmmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/fmmodule.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** fmmodule.c 2000/09/01 23:29:26 1.17
--- fmmodule.c 2001/12/08 18:02:56 1.18
***************
*** 155,159 ****
PyObject_HEAD_INIT(&PyType_Type)
0, /*ob_size*/
! "font handle", /*tp_name*/
sizeof(fhobject), /*tp_size*/
0, /*tp_itemsize*/
--- 155,159 ----
PyObject_HEAD_INIT(&PyType_Type)
0, /*ob_size*/
! "fm.font handle", /*tp_name*/
sizeof(fhobject), /*tp_size*/
0, /*tp_itemsize*/
Index: gdbmmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/gdbmmodule.c,v
retrieving revision 2.31
retrieving revision 2.32
diff -C2 -d -r2.31 -r2.32
*** gdbmmodule.c 2001/11/28 20:27:42 2.31
--- gdbmmodule.c 2001/12/08 18:02:56 2.32
***************
*** 383,387 ****
PyObject_HEAD_INIT(0)
0,
! "gdbm",
sizeof(dbmobject),
0,
--- 383,387 ----
PyObject_HEAD_INIT(0)
0,
! "gdbm.gdbm",
sizeof(dbmobject),
0,
Index: linuxaudiodev.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/linuxaudiodev.c,v
retrieving revision 2.15
retrieving revision 2.16
diff -C2 -d -r2.15 -r2.16
*** linuxaudiodev.c 2001/12/08 17:13:45 2.15
--- linuxaudiodev.c 2001/12/08 18:02:57 2.16
***************
*** 456,460 ****
PyObject_HEAD_INIT(&PyType_Type)
0, /*ob_size*/
! "linux_audio_device", /*tp_name*/
sizeof(lad_t), /*tp_size*/
0, /*tp_itemsize*/
--- 456,460 ----
PyObject_HEAD_INIT(&PyType_Type)
0, /*ob_size*/
! "linuxaudiodev.linux_audio_device", /*tp_name*/
sizeof(lad_t), /*tp_size*/
0, /*tp_itemsize*/
Index: md5module.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/md5module.c,v
retrieving revision 2.26
retrieving revision 2.27
diff -C2 -d -r2.26 -r2.27
*** md5module.c 2001/11/02 22:05:06 2.26
--- md5module.c 2001/12/08 18:02:57 2.27
***************
*** 203,207 ****
PyObject_HEAD_INIT(NULL)
0, /*ob_size*/
! "md5", /*tp_name*/
sizeof(md5object), /*tp_size*/
0, /*tp_itemsize*/
--- 203,207 ----
PyObject_HEAD_INIT(NULL)
0, /*ob_size*/
! "md5.md5", /*tp_name*/
sizeof(md5object), /*tp_size*/
0, /*tp_itemsize*/
Index: mmapmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/mmapmodule.c,v
retrieving revision 2.34
retrieving revision 2.35
diff -C2 -d -r2.34 -r2.35
*** mmapmodule.c 2001/11/13 23:11:19 2.34
--- mmapmodule.c 2001/12/08 18:02:57 2.35
***************
*** 773,777 ****
PyObject_HEAD_INIT(0) /* patched in module init */
0, /* ob_size */
! "mmap", /* tp_name */
sizeof(mmap_object), /* tp_size */
0, /* tp_itemsize */
--- 773,777 ----
PyObject_HEAD_INIT(0) /* patched in module init */
0, /* ob_size */
! "mmap.mmap", /* tp_name */
sizeof(mmap_object), /* tp_size */
0, /* tp_itemsize */
Index: mpzmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/mpzmodule.c,v
retrieving revision 2.37
retrieving revision 2.38
diff -C2 -d -r2.37 -r2.38
*** mpzmodule.c 2001/07/15 18:38:46 2.37
--- mpzmodule.c 2001/12/08 18:02:57 2.38
***************
*** 1592,1596 ****
PyObject_HEAD_INIT(NULL)
0, /*ob_size*/
! "mpz", /*tp_name*/
sizeof(mpzobject), /*tp_size*/
0, /*tp_itemsize*/
--- 1592,1596 ----
PyObject_HEAD_INIT(NULL)
0, /*ob_size*/
! "mpz.mpz", /*tp_name*/
sizeof(mpzobject), /*tp_size*/
0, /*tp_itemsize*/
Index: parsermodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/parsermodule.c,v
retrieving revision 2.67
retrieving revision 2.68
diff -C2 -d -r2.67 -r2.68
*** parsermodule.c 2001/12/05 22:10:44 2.67
--- parsermodule.c 2001/12/08 18:02:57 2.68
***************
*** 175,179 ****
PyObject_HEAD_INIT(NULL)
0,
! "st", /* tp_name */
(int) sizeof(PyST_Object), /* tp_basicsize */
0, /* tp_itemsize */
--- 175,179 ----
PyObject_HEAD_INIT(NULL)
0,
! "parser.st", /* tp_name */
(int) sizeof(PyST_Object), /* tp_basicsize */
0, /* tp_itemsize */
Index: pcremodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/pcremodule.c,v
retrieving revision 2.29
retrieving revision 2.30
diff -C2 -d -r2.29 -r2.30
*** pcremodule.c 2001/11/28 20:27:42 2.29
--- pcremodule.c 2001/12/08 18:02:57 2.30
***************
*** 129,133 ****
PyObject_HEAD_INIT(NULL)
0, /*ob_size*/
! "Pcre", /*tp_name*/
sizeof(PcreObject), /*tp_basicsize*/
0, /*tp_itemsize*/
--- 129,133 ----
PyObject_HEAD_INIT(NULL)
0, /*ob_size*/
! "pcre.Pcre", /*tp_name*/
sizeof(PcreObject), /*tp_basicsize*/
0, /*tp_itemsize*/
Index: posixmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/posixmodule.c,v
retrieving revision 2.214
retrieving revision 2.215
diff -C2 -d -r2.214 -r2.215
*** posixmodule.c 2001/12/07 20:35:43 2.214
--- posixmodule.c 2001/12/08 18:02:57 2.215
***************
*** 6003,6009 ****
--- 6003,6011 ----
#endif
+ stat_result_desc.name = MODNAME ".stat_result";
PyStructSequence_InitType(&StatResultType, &stat_result_desc);
PyDict_SetItemString(d, "stat_result", (PyObject*) &StatResultType);
+ statvfs_result_desc.name = MODNAME ".statvfs_result";
PyStructSequence_InitType(&StatVFSResultType, &statvfs_result_desc);
PyDict_SetItemString(d, "statvfs_result", (PyObject*) &StatResultType);
Index: pyexpat.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/pyexpat.c,v
retrieving revision 2.56
retrieving revision 2.57
diff -C2 -d -r2.56 -r2.57
*** pyexpat.c 2001/11/28 20:27:42 2.56
--- pyexpat.c 2001/12/08 18:02:57 2.57
***************
*** 1381,1385 ****
PyObject_HEAD_INIT(NULL)
0, /*ob_size*/
! "xmlparser", /*tp_name*/
sizeof(xmlparseobject) + PyGC_HEAD_SIZE,/*tp_basicsize*/
0, /*tp_itemsize*/
--- 1381,1385 ----
PyObject_HEAD_INIT(NULL)
0, /*ob_size*/
! "pyexpat.xmlparser", /*tp_name*/
sizeof(xmlparseobject) + PyGC_HEAD_SIZE,/*tp_basicsize*/
0, /*tp_itemsize*/
Index: regexmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/regexmodule.c,v
retrieving revision 1.44
retrieving revision 1.45
diff -C2 -d -r1.44 -r1.45
*** regexmodule.c 2001/07/09 18:15:38 1.44
--- regexmodule.c 2001/12/08 18:02:57 1.45
***************
*** 341,345 ****
PyObject_HEAD_INIT(NULL)
0, /*ob_size*/
! "regex", /*tp_name*/
sizeof(regexobject), /*tp_size*/
0, /*tp_itemsize*/
--- 341,345 ----
PyObject_HEAD_INIT(NULL)
0, /*ob_size*/
! "regex.regex", /*tp_name*/
sizeof(regexobject), /*tp_size*/
0, /*tp_itemsize*/
Index: rotormodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/rotormodule.c,v
retrieving revision 2.30
retrieving revision 2.31
diff -C2 -d -r2.30 -r2.31
*** rotormodule.c 2001/01/10 21:03:32 2.30
--- rotormodule.c 2001/12/08 18:02:57 2.31
***************
*** 579,583 ****
PyObject_HEAD_INIT(NULL)
0, /*ob_size*/
! "rotor", /*tp_name*/
sizeof(Rotorobj), /*tp_size*/
0, /*tp_itemsize*/
--- 579,583 ----
PyObject_HEAD_INIT(NULL)
0, /*ob_size*/
! "rotor.rotor", /*tp_name*/
sizeof(Rotorobj), /*tp_size*/
0, /*tp_itemsize*/
Index: selectmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/selectmodule.c,v
retrieving revision 2.58
retrieving revision 2.59
diff -C2 -d -r2.58 -r2.59
*** selectmodule.c 2001/10/25 20:17:57 2.58
--- selectmodule.c 2001/12/08 18:02:58 2.59
***************
*** 568,572 ****
PyObject_HEAD_INIT(NULL)
0, /*ob_size*/
! "poll", /*tp_name*/
sizeof(pollObject), /*tp_basicsize*/
0, /*tp_itemsize*/
--- 568,572 ----
PyObject_HEAD_INIT(NULL)
0, /*ob_size*/
! "select.poll", /*tp_name*/
sizeof(pollObject), /*tp_basicsize*/
0, /*tp_itemsize*/
Index: shamodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/shamodule.c,v
retrieving revision 2.16
retrieving revision 2.17
diff -C2 -d -r2.16 -r2.17
*** shamodule.c 2001/11/02 22:04:17 2.16
--- shamodule.c 2001/12/08 18:02:58 2.17
***************
*** 468,472 ****
PyObject_HEAD_INIT(NULL)
0, /*ob_size*/
! "SHA", /*tp_name*/
sizeof(SHAobject), /*tp_size*/
0, /*tp_itemsize*/
--- 468,472 ----
PyObject_HEAD_INIT(NULL)
0, /*ob_size*/
! "sha.SHA", /*tp_name*/
sizeof(SHAobject), /*tp_size*/
0, /*tp_itemsize*/
Index: sunaudiodev.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/sunaudiodev.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** sunaudiodev.c 2001/11/09 15:58:12 1.25
--- sunaudiodev.c 2001/12/08 18:02:58 1.26
***************
*** 435,439 ****
PyObject_HEAD_INIT(&PyType_Type)
0, /*ob_size*/
! "sun_audio_device", /*tp_name*/
sizeof(sadobject), /*tp_size*/
0, /*tp_itemsize*/
--- 435,439 ----
PyObject_HEAD_INIT(&PyType_Type)
0, /*ob_size*/
! "sunaudiodev.sun_audio_device", /*tp_name*/
sizeof(sadobject), /*tp_size*/
0, /*tp_itemsize*/
***************
*** 450,454 ****
PyObject_HEAD_INIT(&PyType_Type)
0, /*ob_size*/
! "sun_audio_device_status", /*tp_name*/
sizeof(sadstatusobject), /*tp_size*/
0, /*tp_itemsize*/
--- 450,454 ----
PyObject_HEAD_INIT(&PyType_Type)
0, /*ob_size*/
! "sunaudiodev.sun_audio_device_status", /*tp_name*/
sizeof(sadstatusobject), /*tp_size*/
0, /*tp_itemsize*/
Index: svmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/svmodule.c,v
retrieving revision 2.17
retrieving revision 2.18
diff -C2 -d -r2.17 -r2.18
*** svmodule.c 2000/09/01 23:29:27 2.17
--- svmodule.c 2001/12/08 18:02:58 2.18
***************
*** 295,299 ****
PyObject_HEAD_INIT(&PyType_Type)
0, /*ob_size*/
! "capture", /*tp_name*/
sizeof(captureobject), /*tp_size*/
0, /*tp_itemsize*/
--- 295,299 ----
PyObject_HEAD_INIT(&PyType_Type)
0, /*ob_size*/
! "sv.capture", /*tp_name*/
sizeof(captureobject), /*tp_size*/
0, /*tp_itemsize*/
***************
*** 899,903 ****
PyObject_HEAD_INIT(&PyType_Type)
0, /*ob_size*/
! "sv", /*tp_name*/
sizeof(svobject), /*tp_size*/
0, /*tp_itemsize*/
--- 899,903 ----
PyObject_HEAD_INIT(&PyType_Type)
0, /*ob_size*/
! "sv.sv", /*tp_name*/
sizeof(svobject), /*tp_size*/
0, /*tp_itemsize*/
Index: threadmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/threadmodule.c,v
retrieving revision 2.43
retrieving revision 2.44
diff -C2 -d -r2.43 -r2.44
*** threadmodule.c 2001/10/16 21:13:49 2.43
--- threadmodule.c 2001/12/08 18:02:58 2.44
***************
*** 157,161 ****
PyObject_HEAD_INIT(&PyType_Type)
0, /*ob_size*/
! "lock", /*tp_name*/
sizeof(lockobject), /*tp_size*/
0, /*tp_itemsize*/
--- 157,161 ----
PyObject_HEAD_INIT(&PyType_Type)
0, /*ob_size*/
! "thread.lock", /*tp_name*/
sizeof(lockobject), /*tp_size*/
0, /*tp_itemsize*/
Index: timemodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/timemodule.c,v
retrieving revision 2.117
retrieving revision 2.118
diff -C2 -d -r2.117 -r2.118
*** timemodule.c 2001/12/02 12:27:43 2.117
--- timemodule.c 2001/12/08 18:02:58 2.118
***************
*** 224,228 ****
static PyStructSequence_Desc struct_time_type_desc = {
! "struct_time",
NULL,
struct_time_type_fields,
--- 224,228 ----
static PyStructSequence_Desc struct_time_type_desc = {
! "time.struct_time",
NULL,
struct_time_type_fields,
Index: xreadlinesmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/xreadlinesmodule.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** xreadlinesmodule.c 2001/08/29 23:50:42 1.8
--- xreadlinesmodule.c 2001/12/08 18:02:58 1.9
***************
*** 136,140 ****
PyObject_HEAD_INIT(NULL)
0,
! "xreadlines",
sizeof(PyXReadlinesObject),
0,
--- 136,140 ----
PyObject_HEAD_INIT(NULL)
0,
! "xreadlines.xreadlines",
sizeof(PyXReadlinesObject),
0,
Index: xxmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/xxmodule.c,v
retrieving revision 2.24
retrieving revision 2.25
diff -C2 -d -r2.24 -r2.25
*** xxmodule.c 2001/10/15 21:24:12 2.24
--- xxmodule.c 2001/12/08 18:02:58 2.25
***************
*** 99,103 ****
PyObject_HEAD_INIT(NULL)
0, /*ob_size*/
! "Xxo", /*tp_name*/
sizeof(XxoObject), /*tp_basicsize*/
0, /*tp_itemsize*/
--- 99,103 ----
PyObject_HEAD_INIT(NULL)
0, /*ob_size*/
! "xxmodule.Xxo", /*tp_name*/
sizeof(XxoObject), /*tp_basicsize*/
0, /*tp_itemsize*/
Index: zlibmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/zlibmodule.c,v
retrieving revision 2.56
retrieving revision 2.57
diff -C2 -d -r2.56 -r2.57
*** zlibmodule.c 2001/10/23 22:29:06 2.56
--- zlibmodule.c 2001/12/08 18:02:58 2.57
***************
*** 799,803 ****
PyObject_HEAD_INIT(0)
0,
! "Compress",
sizeof(compobject),
0,
--- 799,803 ----
PyObject_HEAD_INIT(0)
0,
! "zlib.Compress",
sizeof(compobject),
0,
***************
*** 816,820 ****
PyObject_HEAD_INIT(0)
0,
! "Decompress",
sizeof(compobject),
0,
--- 816,820 ----
PyObject_HEAD_INIT(0)
0,
! "zlib.Decompress",
sizeof(compobject),
0,