New submission from Jake fisher <fisherja@...>:
There is no way to get a complete unique PySystemState object such that
we can have separate concurrent sets of modules/packages etc running at
once. The initialize methods are mostly statics that assume Base
Properties, cache directories, etc are shareable and not per SystemState
specific. For one Jython.jar then we don't have a way to run multiple
concurrent JythonInterpreters with their own SystemStates safely as the
PySystemState shares to many static fields and methods. Also from a
perspective of managing state it would be great to have more accessor
methods available for reloading and updating modules etc.
We are currently using Jython integrated in an Eclipse RCP application
where we require a individual separate System State for each project.
This is so that we can have multiple versions of modules etc and java
packages that are per Project specific. We were sort of able to
accomplish what we need using the current implementation as far as
modules go but there are is no way to override / add other properties in
particular we need a separate cache directory for each project.
title: PySystemState does provide constructor to pass its own local postProperties
Jython tracker <report@...>