From: Christoph Z. <ci...@on...> - 2005-11-20 11:25:19
|
> If it's fixed in Python 2.4, is simply upgrading an option? I have checked that again, and yes, it has been fixed in the traceback module a year ago and thus should be available since Python 2.4: http://cvs.sourceforge.net/viewcvs.py/python/python/dist/src/Lib/traceback.py?r1=1.30&r2=1.31 Unfortunately, I am bound to Python 2.3 currently, since customers and web hosts do not update so quickly. And I have set up my test/debug environment with the same version. Maybe others have the same problem. Officially, Webware only requires Python 2.0. We should think about changing that generally and get rid of a lot of workarounds and uglyness included in Webware to satisfy Python < 2.4. But for now, I think it's good to include a workaround for Python 2.3 so people may not stumble over the same problem and spend a lot of time searching for what's wrong. I have just checked in such a fix. It only updates the cache before printing the exception if run on Python < 2.4. -- Chris |