Making PY_SSIZE_T_CLEAN not mandatory.
6 Jun
2021
6 Jun
'21
8:05 p.m.
Hi, folks,
Since Python 3.8, PyArg_Parse*() APIs and Py_BuildValue() APIs emitted
DeprecationWarning when
'#' format is used without PY_SSIZE_T_CLEAN defined.
In Python 3.10, they raise a RuntimeError, not a warning. Extension
modules can not use '#' format with int.
So how about making PY_SSIZE_T_CLEAN not mandatory in Python 3.11?
Extension modules can use '#' format with ssize_t, without
PY_SSIZE_T_CLEAN defined.
Or should we wait one more version?
Regards,
--
Inada Naoki
1011
Age (days ago)
1026
Last active (days ago)
25 comments
11 participants
participants (11)
-
Baptiste Carvello
-
Guido van Rossum
-
Hai Shi
-
Henk-Jaap Wagenaar
-
Inada Naoki
-
Paul Moore
-
Petr Viktorin
-
Ronald Oussoren
-
Serhiy Storchaka
-
Steve Dower
-
Victor Stinner