Re: [Webware-discuss] Library Dirs and Python 2.5

2007-04-30 Thread Seth Remington
On Mon, 2007-04-30 at 23:07 +0200, Christoph Zwerschke wrote: > Seth Remington wrote: > > Is Webware (0.9.2) doing anything funny with the __import__ mechanism? > > It only occurs in Python 2.5... Python 2.4 seems to function as > > expected. > > Yes, Webware employs an "ImportSpy" so that the Aut

Re: [Webware-discuss] Library Dirs and Python 2.5

2007-04-30 Thread Christoph Zwerschke
Seth Remington wrote: > Is Webware (0.9.2) doing anything funny with the __import__ mechanism? > It only occurs in Python 2.5... Python 2.4 seems to function as > expected. Yes, Webware employs an "ImportSpy" so that the AutoReloadAppServer knows when to restart. Python 2.5 changed some subtle de

[Webware-discuss] Library Dirs and Python 2.5

2007-04-30 Thread Seth Remington
Hello all, I have a directory named "lib" in my working directory where I keep a SitePage.py file and call "from lib.SitePage import SitePage" at the top of all of my pages like it is described in some of the docs. This has always worked fine use Python 2.4. I recently upgraded to Python 2.5 and a