[Bf-committers] Linux build error: svn 35825

Richard Shaw hobbes1069 at gmail.com
Mon Mar 28 15:11:48 CEST 2011


On Mon, Mar 28, 2011 at 6:44 AM, Campbell Barton <ideasman42 at gmail.com> wrote:
> This is used by a macro to check if python interpreter is active:
> #define PYC_INTERPRETER_ACTIVE
> (((PyThreadState*)_Py_atomic_load_relaxed(&_PyThreadState_Current)) !=
> NULL)
>
> Py 3.1 works a bit differently, you could just check if
> PyThreadState_GET() is not NULL, in py3.2 that aborts blender so I had
> to look at pythons source.

Dang... I was hoping it wasn't a Python 3.1 problem.... I may give up
on keeping an up-to-date build for Fedora 14 and just stick with my
last successful build.

Thanks,
Richard


More information about the Bf-committers mailing list