[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] Pygame's PyType_Init: Isn't it a little outdated?



While updating the extension modules to prevent module loads on an error I noticed Pygame uses a macro, PyType_Init, to initialize Pygame types. The macro just sets the type's ob_type slot, nothing more. But the preferred, and newer (since 2.2) way is with Python's PyType_Ready. Any reason not to upgrade?

Lenard

--
Lenard Lindstrom
<len-l@xxxxxxxxx>