Ian Bicking wrote:
I'm pretty sure traceback lines are loaded with linecache; you could
clear the cache everytime a reload is done.

See last checkin. Python 2.4 updates the linecache before printing tracebacks; I'm doing the same manually for Python < 2.4 now. By the way, clearing the cache is not needed, you can just call checkcache(). Otherwise you would have to clear the whole cache, since it cannot be updated on a per module basis in 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