Bugzilla – Bug 351
Python: ns3.Schedule + import threading == crash
Last modified: 2008-09-18 00:00:53 UTC
In some manually written code I forgot to acquire/release the Python GIL. The patch is small but important.
Created attachment 257 [details] patch
This patch looks good to me for ns-3-dev as of now. You would need to get approval from tom or craig before commiting though.
Craig? Let your verdict be known. Leave it as P1 and commit, or move it to P3? My opinion as maintainer of the Python bindings is to commit. It's a trivial fix and has zero chance of breaking compilation even on weird platforms (the function PyEval_ThreadsInitialized() is Python 2.4+ only, but there is a compatibility macro for older Pythons).