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 i
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
Unf
Christoph Zwerschke wrote:
> The ReleaseNotes for 0.9 say "AutoReload no longer catches servlet
> updates (since servlets can be reloaded without restarting the entire
> server anyway)." (This was checked in by Ian in Revision 1956).
>
> Generally, I'd say this is a good idea, but I noticed there
On 11/19/05, Christoph Zwerschke <[EMAIL PROTECTED]> wrote:
> I noticed that this problem exists only with Python 2.3. It seems to be
> fixed in Python 2.4 already, so I think there is no need to discuss it
> in comp.lang.python.
>
> What I could do is add a linecache.checkcache() as a workaround.
> My impression was that it was a bug in Python since the servlet's
> module *is* getting reloaded. Maybe if you can recreate the issue
> in a small standalone example, you can ask comp.lang.python for help.
Thanks for pointing me into the right direction.
I checked this and you're right. The pr
On 11/19/05, Christoph Zwerschke <[EMAIL PROTECTED]> wrote:
> The ReleaseNotes for 0.9 say "AutoReload no longer catches servlet
> updates (since servlets can be reloaded without restarting the entire
> server anyway)." (This was checked in by Ian in Revision 1956).
>
> Generally, I'd say this is a