On Tue, Mar 2, 2010 at 5:16 PM, Nicholas Riley <firstname.lastname@example.org>
> What we do: when you make a PythonInterpreter pass in your own subclass ofThat's a better idea than what I suggested. You don't even need to
> PyStringMap to act as the globals space for that interpreter. Track set's
> and get's by overriding __finditem__ and __setitem__.
subclass PyStringMap; you could create your own class that supports the
Jython mapping interface.
Again, you can look at an example in the JSR 223 interface, which
actually does more than you need: