Incompatible with python with threads disabled.
Bug #1335346 reported by
Aaron Black
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PyBindGen |
New
|
Undecided
|
Unassigned |
Bug Description
I'm running a python/C++ code on a large HPC machine, and we build python with threading disabled.
(--without-threads)
Using pybindgen results in multiple errors like:
'PyEval_
This call is not available when threading is turned off at compile time in python.
This call is coming from:
pybindgen/
I updated the line 'NO_GIL_LOCKING = False' to True in line 546. Is this the correct behavior? It gets me past this issue.
I wasn't sure if there is a Python CAPI call to query whether or not threading is enabled, and that query could be put around the PyEval call above.
To post a comment you must log in.