Python 3.8 new deprecations

Inada Naoki songofacandy at gmail.com
Tue May 21 12:04:04 EDT 2019


I plan to remove int support in Python 3.10.

If this warning is ignored, the extension module will be broken silently
from 3.10.
It is because C is not typesafe here.

Regards,


2019年5月22日(水) 0:56 Robin Becker <robin at reportlab.com>:

> Marius Gedminas has kindly been doing some work with reportlab and python
> 3.8a1
>
> He reports this new deprecation warning from a c extension build
>
> DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
>
> Currently we build the extensions for 2.7 3.4-3.7 Windows 32 & 64 MacOS
> and linux.
>
> His patch is changing several ints to Py_ssize_t after defining
> PY_SSIZE_T_CLEAN.
>
> Can anyone say which versions/runtimes this is needed for or can I just
> assume it has no effect in early versions.
> --
> Robin Becker
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>



More information about the Python-list mailing list