[Python-Dev] Remove METH_OLDARGS?
Georg Brandl
g.brandl at gmx.net
Tue May 30 00:15:12 CEST 2006
Martin v. Löwis wrote:
> Guido van Rossum wrote:
>>> I think that should be done for 2.5, but nothing else. Or, perhaps
>>> a deprecation warning could be generated if it is still used.
>>
>> I'll let Martin decide this one.
>
> I just sent a message to some that producing a DeprecationWarning is
> fine, but now I read some opposition; given that this really just needs
> very little code to support it, and given that run-time warnings annoy
> the users, not the module authors, I agree that this should stay
> silently until 3.0.
>
> We should still continue to remove all uses we have ourselves.
The only modules METH_OLDARGS is now used in are fl, sv, gl, cl
and Tkinter (for the latter there is my patch on SF for review).
sv and cl are listed in PEP 356 as possibly being removed, I don't know
whether the other ones are used anymore.
Georg
More information about the Python-Dev
mailing list