DAGDA SEARCH | Back to results | Support

Py3k Extension Modules - Python Wiki

Source: https://wiki.python.org/python/py3/Py3kExtensionModules.html

  1. Python Wiki /
  2. Python Wiki /
  3. Python 3 Migration /
  4. Py3k Extension Modules
View as Markdown

Py3k Extension Modules

Legacy Wiki Page

This page was migrated from the old MoinMoin-based wiki. Information may be outdated or no longer applicable. For current documentation, see python.org.

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)
   2 
PreviousPy3k Deprecated Next Py3k Regressions