Issue 737473: traceback module caches sources invalid (original) (raw)

This issue has been migrated to GitHub: https://github.com/python/cpython/issues/38500

classification

Title: traceback module caches sources invalid
Type: Stage:
Components: Library (Lib) Versions: Python 2.4

process

Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: hyeshik.chang Nosy List: falsetru, hyeshik.chang, mwh
Priority: normal Keywords: patch

Created on 2003-05-14 05:44 by hyeshik.chang, last changed 2022-04-10 16:08 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
test_tracebackreload.py hyeshik.chang,2003-05-14 05:44 test script
traceback-patch.diff hyeshik.chang,2003-05-14 05:45 patch to both of traceback and linecache module.
Messages (4)
msg43787 - (view) Author: Hyeshik Chang (hyeshik.chang) * (Python committer) Date: 2003-05-14 05:44
traceback.{extract,print}_tb function doesn't check source code's mtime validity. attached script copies the bug situation.
msg43788 - (view) Author: Jeong-Min Lee (falsetru) Date: 2004-07-18 01:20
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.
msg43789 - (view) Author: Michael Hudson (mwh) (Python committer) Date: 2004-07-19 15:52
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 :-)
msg43790 - (view) Author: Hyeshik Chang (hyeshik.chang) * (Python committer) Date: 2004-10-26 09:18
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
History
Date User Action Args
2022-04-10 16:08:45 admin set github: 38500
2003-05-14 05:44:46 hyeshik.chang create