[Patches] [ python-Patches-737473 ] traceback module caches sources invalid

SourceForge.net noreply at sourceforge.net
Mon Jul 19 17:52:13 CEST 2004


Patches item #737473, was opened at 2003-05-14 06:44
Message generated for change (Comment added) made by mwh
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=737473&group_id=5470

Category: Library (Lib)
Group: Python 2.4
Status: Open
>Resolution: Accepted
Priority: 5
Submitted By: Hye-Shik Chang (perky)
Assigned to: Hye-Shik Chang (perky)
Summary: traceback module caches sources invalid

Initial Comment:
traceback.{extract,print}_tb function doesn't check
source code's mtime validity.
attached script copies the bug situation.


----------------------------------------------------------------------

>Comment By: Michael Hudson (mwh)
Date: 2004-07-19 16:52

Message:
Logged In: YES 
user_id=6656

Check it in already!  I've been wanting to do something about this 
for years...

One of the things stopping me was wanting to take the time to 
check whether it's worth bothering with linecache at all in 
traceback -- but this'll do :-)

----------------------------------------------------------------------

Comment By: Jung-Min Lee (falsetru)
Date: 2004-07-18 02:20

Message:
Logged In: YES 
user_id=1004332

tested on Linux 2.6.7, attached test_tracebackreload.py passed.

btw, test_tracebackreload.py don't remove temporary file.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=737473&group_id=5470


More information about the Patches mailing list