Message4648

Author fisherja
Recipients fisherja
Date 2009-05-06.21:39:37
SpamBayes Score 1.7638979e-10
Marked as misclassified No
Message-id <1241645979.22.0.437586591455.issue1340@psf.upfronthosting.co.za>
In-reply-to
Content
Problem: 
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.

Background:
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.
History
Date User Action Args
2009-05-06 21:39:39fisherjasetrecipients: + fisherja
2009-05-06 21:39:39fisherjasetmessageid: <1241645979.22.0.437586591455.issue1340@psf.upfronthosting.co.za>
2009-05-06 21:39:38fisherjalinkissue1340 messages
2009-05-06 21:39:37fisherjacreate