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


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Webware-devel mailing list
Webware-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to