This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ncoghlan
Recipients barry, cykerway, ncoghlan, terry.reedy, vstinner
Date 2018-08-04.07:41:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
It isn't currently feasible to do anything along these lines, as the CPython runtime is highly configurable, so it's far from clear what, if anything, could be shared from run to run, and nor is it clear how the interpreter could check whether or not the current configuration settings matched those of the pre-warmed one.

However, the work taking place for PEP 432 (issue dependency added) will potentially make it possible to revisit this, as there may be a way to cache preconfigured interpreters in a fashion that means calculating the cache key from the current configuration and then loading the cached interpreter state is faster that imperatively initialising a fresh interpreter.

Even if it isn't possible to cache an entire interpreter state, there may at least be opportunities to optimise particular configuration substeps.
Date User Action Args
2018-08-04 07:41:45ncoghlansetrecipients: + ncoghlan, barry, terry.reedy, vstinner, cykerway
2018-08-04 07:41:45ncoghlansetmessageid: <>
2018-08-04 07:41:45ncoghlanlinkissue34296 messages
2018-08-04 07:41:44ncoghlancreate