Olly Betts wrote:
> SWIG assumes that Python 2.1 and earlier don't have Py_NotImplemented,
> but Python 2.1.3 does. It's a #define, so the simplest and safest
> fix is probably just to add a #ifndef test.
Python 2.1.0 has it as well. IMO it would be better to compare with this
By the way, since operator and rich comparison overloading appeared with
python 2.1, I would be surprised if python 2.0 passed all the swig test
Amaury Forgeot d'Arc