tonyroberts/pythonnet — pull request #2 by dlech (2013-06-05 16:58:36+00:00)
Title: Fix crash because Python 3 C API does not have PyNumber_Int

Here is the call that caused the crash. Everything seems to work just as well with this fix. And it definitely is much simpler.