|
From: Schmidmeier, A. <Arn...@si...> - 2001-01-10 11:00:40
|
> -----Ursprungliche Nachricht----- > Von: bc...@wo... [mailto:bc...@wo...] > Gesendet: Mittwoch, 10. Januar 2001 10:23 > An: jyt...@li... > Cc: Ype Kingma > Betreff: Re: [Jython-dev] Protected Java attributes in Python > subclasses > <snip> > > If you wanted to assign some value to sys.argv from PythonInterpreter, > you can call PySystemState.initialize(Properties, Properties, > String[]) > method. The values in the last string array are assigned to sys.argv. > However, this call will be ignore once the jython runtime is > initialized. > > (Perhaps we should consider adding a PythonInterpreter.initialize(..) > method that just calls one of the PySystemState.initialize > methods. That > way the initialization methods becomes more visible.) I would suggest to add an additional constructor. PythonInterpreter(Properties,Properties,String []) *********************************************************************** * *********************************************************************** Arno Schmidmeier Sirius Software GmbH Kolpingring 18 82041 Oberhaching Tel. 089/6136760 E-Mail Arn...@si... Fax 089/61367633 Internet www.sirius-eos.com |