[Python-Dev] Remove METH_OLDARGS?
Fredrik Lundh
fredrik at pythonware.com
Mon May 29 22:06:45 CEST 2006
Neal Norwitz wrote:
>> Also, it would be easy to detect METH_OLDARGS in PyCFunction_New and raise
>> an appropriate exception.
>
> I agree with Martin this should raise a deprecation warning in 2.5.
why?
this is a clear case of unnecessary meddling. removing it won't remove
much code (a whopping 11 lines is dedicated to this), nor give any speed
ups whatsoever; all you're doing is generating extra work and support
issues for a bunch of third-party developers. trust me, we have better
things to do with our time.
-1 on meddling with this before 3.0.
</F>
More information about the Python-Dev
mailing list