On Tue, Jun 8, 2021 at 12:53 AM Hai Shi <[email protected]> wrote: > > > 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? > > Hi, Inada, > I suggest we should wait until at least Python 3.12 or Python 4.0. >
Serhiy and you suggest Python 3.12 and I agree with it. Thank you for your reply. > There have an another question. There have many C API defined under > PY_SSIZE_T_CLEAN, for example: _PyArg_Parse_SizeT(). > Could we remove or merge them after making PY_SSIZE_T_CLEAN not mandatory? They are part of stable ABIs. So we can remove/merge them at Python 4.0. Regards, -- Inada Naoki <[email protected]> _______________________________________________ Python-Dev mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/KNA7KVN6ZIBXWASUAJQRGT6OPCBDULFW/ Code of Conduct: http://python.org/psf/codeofconduct/
