Message226677
Agreed that it's not a bug in CPython, but my guess is that it's not a bug in NumPy either. The C function you call (which IIRC creates a new NumPy array) almost certainly needs the GIL to protect it against race conditions, and since you mentioned OpenMP, you most likely released the GIL. So, just re-acquire the GIL around the call (and make sure you don't have any other threading problems in your code). |
|
Date |
User |
Action |
Args |
2014-09-10 03:50:04 | scoder | set | recipients:
+ scoder, josh.r, Il_Fox |
2014-09-10 03:50:04 | scoder | set | messageid: <1410321004.63.0.770250484874.issue22373@psf.upfronthosting.co.za> |
2014-09-10 03:50:04 | scoder | link | issue22373 messages |
2014-09-10 03:50:04 | scoder | create | |
|