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

_______________________________________________
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