[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-patches
Subject:    [Patches] [ python-Patches-737473 ] traceback module caches sources
From:       noreply () sourceforge ! net (SourceForge ! net)
Date:       2004-10-26 11:18:42
Message-ID: E1CMNTQ-0007be-Jb () sc8-sf-web2 ! sourceforge ! net
[Download RAW message or body]

Patches item #737473, was opened at 2003-05-14 14:44
Message generated for change (Comment added) made by perky
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: Closed
>Resolution: Fixed
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: Hye-Shik Chang (perky)
Date: 2004-10-26 18:18

Message:
Logged In: YES 
user_id=55188

Thanks for reviews, mwh and falsetru!

Checked in:
Doc/lib/liblinecache.tex 1.6
Lib/linecache.py 1.13
Lib/traceback.py 1.31
Lib/test/test_traceback.py 1.8
Misc/NEWS 1.1177

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

Comment By: Michael Hudson (mwh)
Date: 2004-07-20 00: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: Jeong-Min Lee (falsetru)
Date: 2004-07-18 10: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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic