logo       

Re: Is Jython "multiuser" ?: msg#00008

lang.jython.devel

Subject: Re: Is Jython "multiuser" ?

At 15:42 06.01.2004 +0100, Nicola de Candussio wrote:
Hi all,

I wonder if there's any problem when sharing a jython installation between several users.
As mentioned in the guide some properties must be properly set (I think of the cache dir as for example) but I am not sure that the interpreter can handle the simultaneous creation/access of the *$py.class.

Is there any recommendations/guide for system admins ?

access is not a problem, creation can be, it's not really atomic. It's something is was never seriously thought about.

What can be done in some cases is be sure that all .py files are precompiled to *$py.class.
It is something the installer ought to do, but currently doesn't. The CPython AFAIK OTOH does that. Relevant:

http://www.python.org/doc/2.1/lib/module-compileall.html

it works in Jython too.

This kind of issues are present in CPython too, for some finer control there as an open
PEP, it's still not implemented even in CPython. For info it can be found here:

http://www.python.org/peps/pep-0304.html

regards.




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise