[issue42519] [C API] Upgrade the C API in extension modules

STINNER Victor report at bugs.python.org
Tue Dec 1 03:55:35 EST 2020


New submission from STINNER Victor <vstinner at python.org>:

Python has around 118 extension modules. Most of them are quite old and still use the old way to write C extensions. I created this issue as a placeholder to modernize the code using my new tool:
https://github.com/pythoncapi/upgrade_pythoncapi

For example, replace PyMem_MALLOC() with PyMem_Malloc(), since PyMem_MALLOC() is a deprecated alias.

----------
components: C API
messages: 382220
nosy: vstinner
priority: normal
severity: normal
status: open
title: [C API] Upgrade the C API in extension modules
versions: Python 3.10

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42519>
_______________________________________


More information about the Python-bugs-list mailing list