Author filip.drozdowski
Recipients adamburke, filip.drozdowski
Date 2019-05-28.17:22:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I've identified that doing module imports the first time in a newly spawned interpreter takes a long time, and hence I'm trying to save the state of a PythonInterpreter in an in-memory cache. I wasn't sure if reusing the same PySystemState would be thread safe, so I wanted to create a deep copy of it. Then, I would instantiate a new PythonInterpreter with a copy of cached local variables in the namespace (retrieved using getLocals()) and copy of cached PySystemState. Since PySystemState has many properties, I thought it would be safer to use serialization to get a deep copy.
Date User Action Args
2019-05-28 17:22:31filip.drozdowskisetmessageid: <>
2019-05-28 17:22:31filip.drozdowskisetrecipients: + filip.drozdowski, adamburke
2019-05-28 17:22:31filip.drozdowskilinkissue2776 messages
2019-05-28 17:22:31filip.drozdowskicreate