Peter Shinners wrote:
Campbell Barton wrote:
Noticed METH_O isnt used anywhere in pygame, this avoids creating a
tuple only to get a single PyObject back out with PyArg_ParseTuple()
I'm pretty sure METH_O has been added after Python 2.3. Someone should
definitely find the minimum required Python version before switching
anything.
I checked the online Python documents and METH_O is present in Python
2.2. That is the earliest Python version with current Pygame
development, on the Nokia S60. I personally was going to do a timing
test to see if METH_O made a significant performance difference. If not
then it is not worth the bother making the changes for ascetic reasons
alone.
--
Lenard Lindstrom
<[email protected]>