[texworks] compilation of TWPythonPlugin.cpp failed

Atsuhito Kohda kohda at pm.tokushima-u.ac.jp
Mon Feb 22 06:02:59 CET 2010

Hi Jonathan and all,

On Sun, 21 Feb 2010 16:13:59 -0800, Jonathan Kew wrote:

> I think this is an issue with the version of Python. We need an #if... in the source that checks the version of the Python headers, to choose the right type for that variable, but I'm not sure exactly what version number to test.
> If someone could check the declaration of PyDict_Next() through various releases of Python 2.x, it should be easy enough to figure out what's needed. Or perhaps it's even mentioned in release notes or changelog somewhere.

I consulted a Ubuntu package by Stefan Löffler and can
fix the problem now.

I think some check should be necessary in the source, however.

Thanks for your help.
Best regards,			2010-2-22(Mon)

 Debian Developer - much more I18N of Debian
 Atsuhito Kohda <kohda AT debian.org>
 Department of Math., Univ. of Tokushima

More information about the texworks mailing list