SIGN IN SIGN UP

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 *.
J
Jim Fulton committed
db6a569de7ae595ada53b618fce6bbbd1c98d350
Parent: ded8e74