Fix CP#35099: int type missing __eq__ method

This required adding __eq__ and __ne__ to PythonType. Hopefully there
are no other unfortunate side effects.