[Python-Dev] Remove METH_OLDARGS?

"Martin v. Löwis" martin at v.loewis.de
Mon May 29 23:16:32 CEST 2006


Georg Brandl wrote:
> Isn't there at least a GCC __attribute__((deprecated))?

Yes, but it applies to functions only. I guess you could make
a __deprecated__ function, and then expand METH_OLDARGS to a
call of that function. That won't help in cases where there are
no flags given at all in the method structures.

Regards,
Martin


More information about the Python-Dev mailing list