[Python-3000] PyNumberMethods cleanup
Stefan Behnel
stefan_ml at behnel.de
Mon Jun 9 20:03:38 CEST 2008
Hi,
this is a request for a decision based on this bug report:
http://bugs.python.org/issue2997
In the current py3k branch, the nb_divide field (position 4) in the
PyNumberMethods has been removed, but three other fields further on were left
in for compatibility. Since the fourth field of that struct was removed,
existing Py2 C code cannot work unchanged with the current struct, so it would
not hurt at all to just start off Py3 with a cleaned up struct. However,
getting this clean requires someone who decides to either put the old division
field back in or to remove the three remaining legacy fields (which I'm in
favour of, a patch is attached to the issue). And it would be good to take
that decision before beta1.
Thanks,
Stefan
More information about the Python-3000
mailing list