[Python-Dev] Deprecating non-Py_ssize_t use of PyArg_ParseTuple

Antoine Pitrou solipsis at pitrou.net
Mon Mar 21 15:12:53 CET 2011


> 
> >> Given the recent discussion about backwards compatibility: what's
> >> the best approach? What warning should be emitted, if any?
> >> (the warning would only be generated if an s# or similar format
> >>  was actually encountered - not just if merely PyArg_ParseTuple is
> >>  called).
> >
> > I'd say a DeprecationWarning. They are quiet by default anyway...
> 
> Why not a PendingDeprecationWarning?

Is there still a difference?




More information about the Python-Dev mailing list