Author Winston451
Recipients Winston451, grahamd, terry.reedy
Date 2012-10-25.23:23:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>

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:50Winston451setrecipients: + Winston451, terry.reedy, grahamd
2012-10-25 23:23:50Winston451setmessageid: <>
2012-10-25 23:23:50Winston451linkissue4202 messages
2012-10-25 23:23:49Winston451create