[Python-checkins] python/dist/src/Modules _randommodule.c,1.5,1.6 itertoolsmodule.c,1.14,1.15
rhettinger@users.sourceforge.net
rhettinger@users.sourceforge.net
Thu, 22 May 2003 20:55:44 -0700
Update of /cvsroot/python/python/dist/src/Modules
In directory sc8-pr-cvs1:/tmp/cvs-serv13889
Modified Files:
_randommodule.c itertoolsmodule.c
Log Message:
PyType_GenericAlloc is inherited from object.
Index: _randommodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/_randommodule.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** _randommodule.c 23 Apr 2003 00:14:18 -0000 1.5
--- _randommodule.c 23 May 2003 03:55:41 -0000 1.6
***************
*** 510,514 ****
0, /*tp_dictoffset*/
0, /*tp_init*/
! PyType_GenericAlloc, /*tp_alloc*/
random_new, /*tp_new*/
_PyObject_Del, /*tp_free*/
--- 510,514 ----
0, /*tp_dictoffset*/
0, /*tp_init*/
! 0, /*tp_alloc*/
random_new, /*tp_new*/
_PyObject_Del, /*tp_free*/
Index: itertoolsmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/itertoolsmodule.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** itertoolsmodule.c 22 May 2003 16:32:58 -0000 1.14
--- itertoolsmodule.c 23 May 2003 03:55:42 -0000 1.15
***************
*** 152,156 ****
0, /* tp_dictoffset */
0, /* tp_init */
! PyType_GenericAlloc, /* tp_alloc */
cycle_new, /* tp_new */
PyObject_GC_Del, /* tp_free */
--- 152,156 ----
0, /* tp_dictoffset */
0, /* tp_init */
! 0, /* tp_alloc */
cycle_new, /* tp_new */
PyObject_GC_Del, /* tp_free */
***************
*** 301,305 ****
0, /* tp_dictoffset */
0, /* tp_init */
! PyType_GenericAlloc, /* tp_alloc */
dropwhile_new, /* tp_new */
PyObject_GC_Del, /* tp_free */
--- 301,305 ----
0, /* tp_dictoffset */
0, /* tp_init */
! 0, /* tp_alloc */
dropwhile_new, /* tp_new */
PyObject_GC_Del, /* tp_free */
***************
*** 449,453 ****
0, /* tp_dictoffset */
0, /* tp_init */
! PyType_GenericAlloc, /* tp_alloc */
takewhile_new, /* tp_new */
PyObject_GC_Del, /* tp_free */
--- 449,453 ----
0, /* tp_dictoffset */
0, /* tp_init */
! 0, /* tp_alloc */
takewhile_new, /* tp_new */
PyObject_GC_Del, /* tp_free */
***************
*** 639,643 ****
0, /* tp_dictoffset */
0, /* tp_init */
! PyType_GenericAlloc, /* tp_alloc */
islice_new, /* tp_new */
PyObject_GC_Del, /* tp_free */
--- 639,643 ----
0, /* tp_dictoffset */
0, /* tp_init */
! 0, /* tp_alloc */
islice_new, /* tp_new */
PyObject_GC_Del, /* tp_free */
***************
*** 778,782 ****
0, /* tp_dictoffset */
0, /* tp_init */
! PyType_GenericAlloc, /* tp_alloc */
starmap_new, /* tp_new */
PyObject_GC_Del, /* tp_free */
--- 778,782 ----
0, /* tp_dictoffset */
0, /* tp_init */
! 0, /* tp_alloc */
starmap_new, /* tp_new */
PyObject_GC_Del, /* tp_free */
***************
*** 965,969 ****
0, /* tp_dictoffset */
0, /* tp_init */
! PyType_GenericAlloc, /* tp_alloc */
imap_new, /* tp_new */
PyObject_GC_Del, /* tp_free */
--- 965,969 ----
0, /* tp_dictoffset */
0, /* tp_init */
! 0, /* tp_alloc */
imap_new, /* tp_new */
PyObject_GC_Del, /* tp_free */
***************
*** 1100,1104 ****
0, /* tp_dictoffset */
0, /* tp_init */
! PyType_GenericAlloc, /* tp_alloc */
chain_new, /* tp_new */
PyObject_GC_Del, /* tp_free */
--- 1100,1104 ----
0, /* tp_dictoffset */
0, /* tp_init */
! 0, /* tp_alloc */
chain_new, /* tp_new */
PyObject_GC_Del, /* tp_free */
***************
*** 1249,1253 ****
0, /* tp_dictoffset */
0, /* tp_init */
! PyType_GenericAlloc, /* tp_alloc */
ifilter_new, /* tp_new */
PyObject_GC_Del, /* tp_free */
--- 1249,1253 ----
0, /* tp_dictoffset */
0, /* tp_init */
! 0, /* tp_alloc */
ifilter_new, /* tp_new */
PyObject_GC_Del, /* tp_free */
***************
*** 1398,1402 ****
0, /* tp_dictoffset */
0, /* tp_init */
! PyType_GenericAlloc, /* tp_alloc */
ifilterfalse_new, /* tp_new */
PyObject_GC_Del, /* tp_free */
--- 1398,1402 ----
0, /* tp_dictoffset */
0, /* tp_init */
! 0, /* tp_alloc */
ifilterfalse_new, /* tp_new */
PyObject_GC_Del, /* tp_free */
***************
*** 1482,1486 ****
0, /* tp_dictoffset */
0, /* tp_init */
! PyType_GenericAlloc, /* tp_alloc */
count_new, /* tp_new */
};
--- 1482,1486 ----
0, /* tp_dictoffset */
0, /* tp_init */
! 0, /* tp_alloc */
count_new, /* tp_new */
};
***************
*** 1666,1670 ****
0, /* tp_dictoffset */
0, /* tp_init */
! PyType_GenericAlloc, /* tp_alloc */
izip_new, /* tp_new */
PyObject_GC_Del, /* tp_free */
--- 1666,1670 ----
0, /* tp_dictoffset */
0, /* tp_init */
! 0, /* tp_alloc */
izip_new, /* tp_new */
PyObject_GC_Del, /* tp_free */
***************
*** 1776,1780 ****
0, /* tp_dictoffset */
0, /* tp_init */
! PyType_GenericAlloc, /* tp_alloc */
repeat_new, /* tp_new */
PyObject_GC_Del, /* tp_free */
--- 1776,1780 ----
0, /* tp_dictoffset */
0, /* tp_init */
! 0, /* tp_alloc */
repeat_new, /* tp_new */
PyObject_GC_Del, /* tp_free */