On Mon, 21 Mar 2011 04:09:35 +0100
"Martin v. Löwis" <mar...@v.loewis.de> wrote:
> Since Python 2.5, we maintain two versions of PyArg_ParseTuple:
> one outputting int; the other one outputting Py_ssize_t.
> 
> The former should have been removed in 3.0, but this was forgotten.
> 
> Still, I would like people to move over to the new version, so
> that extension modules will typically support 64-bit collections
> well. Therefore, I'd like to propose that the int version is deprecated
> in 3.3.

+1 !

> 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...

Regards

Antoine.


_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to