compiling for python3 - possible regression?

I could compile panda with python3 just fine few months ago but it no longer works. Lots of errors like:

built/tmp/libp3downloader_igate.cxx:597:24: error: ‘PyInt_Check’ was not declared in this scope
     if (PyInt_Check(arg)) {
                        ^
built/tmp/libp3downloader_igate.cxx:598:63: error: ‘PyInt_AS_LONG’ was not declared in this scope
       (local_this)->set_tcp_header_size((int)PyInt_AS_LONG(arg));
                                                               ^
built/tmp/libp3downloader_igate.cxx: In function ‘PyObject* Dtool_SSWriter_set_tcp_header_size_17(PyObject*, PyObject*)’:
built/tmp/libp3downloader_igate.cxx:1357:24: error: ‘PyInt_Check’ was not declared in this scope
     if (PyInt_Check(arg)) {
                        ^
built/tmp/libp3downloader_igate.cxx:1358:63: error: ‘PyInt_AS_LONG’ was not declared in this scope
       (local_this)->set_tcp_header_size((int)PyInt_AS_LONG(arg));

Not sure if its regression but it worked in the past. These methods are removed in python3. Any help would be appreciated.

Version: a909c5c7c60887baf0ad309f90c7cbf45082096a from github incremental repo.

Yeah, my fault, I’ve been making a lot of interrogate changes. I’m about to make a bunch more, so I’ll make sure I fix the Python 3 issues afterward.

Thanks, ill keep an eye out on commits then :wink: