Python 2.x will no longer be supported after 1 Jan 2020. Python 2 reaches end of life in January 2020, and will no longer receive security updates. This page has resources to help with porting applications still running Python 2 to Python 3.

This is a list of suggestions about the migration of Python C extension modules to Python 3.0. Feel free to expand the list!

   1 PyObject_HEAD_INIT(NULL)
   2 0, /* ob_size */

   1 PyVarObject_HEAD_INIT(NULL, 0)

   1 #define PyClass_Check(obj) PyObject_IsInstance(obj, (PyObject *)&PyType_Type)

Py3kExtensionModules (last edited 2019-10-27 00:06:49 by FrancesHocutt)

Unable to edit the page? See the FrontPage for instructions.