]> granicus.if.org Git - python/commit
Changed the assignment of PyType_GenericNew to tp_new slot. Now do
authorJim Fulton <jim@zope.com>
Sat, 28 Jun 2003 11:53:12 +0000 (11:53 +0000)
committerJim Fulton <jim@zope.com>
Sat, 28 Jun 2003 11:53:12 +0000 (11:53 +0000)
commitdb6a569de7ae595ada53b618fce6bbbd1c98d350
tree01f107dbe8ab29b7acd816746c188bf0e65cfa49
parentded8e740df2a824a9df8ebd5d71766bf26e4ba53
Changed the assignment of PyType_GenericNew to tp_new slot. Now do
this in module initialization before calling PyType_Ready.  (Sorry
Tim.) This is necessary to compile on cygwin.  AFAIK, we support
cygwin. If so, then we need to write extentions this way.

Fixed bug in implementation of tp_init function. It should be an int
function, not a PyObject *.
Doc/ext/newtypes.tex