I'm using web.py with Jython. web.py dynamically load .py files when
a .py file has changed. This works well in CPython. However when I
try to do the samething when running web.py with Jython, I sometimes
(but not always) get an error when I try to save the file. The error says
something like the file is currently being used by another process. My
guess is that the process is the JVM. And my guess is that in certain
stage of running a .py file the Jython interpreter locks the .py files. Is
this the case? Is this by design?
With this problem I often have to shutdown and restart tomcat, which
takes a lot of efficiency away.