Message173809
Hi,
I'm currently developping an application which runs sub interpreters in threads (one sub interpreter per thread). When I try to use readline completion in these sub interpreters it fails because it's not possible to import the "keyword" module (PyEval_GetRestricted() returns true). I think it is due to the fact that readline's on_completion() use PyGILState_Ensure(). It should be possible to use PyEval_RestoreThread with _PyOS_ReadlineTState instead. |
|
Date |
User |
Action |
Args |
2012-10-25 23:23:50 | Winston451 | set | recipients:
+ Winston451, terry.reedy, grahamd |
2012-10-25 23:23:50 | Winston451 | set | messageid: <1351207430.22.0.76306512133.issue4202@psf.upfronthosting.co.za> |
2012-10-25 23:23:50 | Winston451 | link | issue4202 messages |
2012-10-25 23:23:49 | Winston451 | create | |
|