[Python-Dev] Remove METH_OLDARGS?
Georg Brandl
g.brandl at gmx.net
Tue May 30 20:35:27 CEST 2006
Fredrik Lundh wrote:
> Georg Brandl wrote:
>
>> > I'd be satisfied with a deprecation warning for PyArg_Parse, though we
>> > (*) should really figure out how to make it work on Windows. I
>> > haven't seen anyone object to the C compiler deprecation warning.
>>
>> There is something at
>> http://msdn2.microsoft.com/en-us/library/044swk7y.aspx
>>
>> but it says only "C++".
>
> and links to
>
> http://msdn2.microsoft.com/en-us/library/c8xdzzhh.aspx
>
> which provides a pragma that does the same thing, and is documented to work
> for both C and C++, and also works for macros.
But we'd have to use an #ifdef for every deprecated function.
Of course, there aren't so many of them.
Georg
More information about the Python-Dev
mailing list