Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

traceback module caches sources invalid #38500

Closed
hyeshik opened this issue May 14, 2003 · 4 comments
Closed

traceback module caches sources invalid #38500

hyeshik opened this issue May 14, 2003 · 4 comments
Assignees
Labels
stdlib Python modules in the Lib dir

Comments

@hyeshik
Copy link
Contributor

hyeshik commented May 14, 2003

BPO 737473
Nosy @mwhudson, @hyeshik
Files
  • test_tracebackreload.py: test script
  • traceback-patch.diff: patch to both of traceback and linecache module.
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/hyeshik'
    closed_at = <Date 2004-10-26.09:18:36.000>
    created_at = <Date 2003-05-14.05:44:46.000>
    labels = ['library']
    title = 'traceback module caches sources invalid'
    updated_at = <Date 2004-10-26.09:18:36.000>
    user = 'https://github.com/hyeshik'

    bugs.python.org fields:

    activity = <Date 2004-10-26.09:18:36.000>
    actor = 'hyeshik.chang'
    assignee = 'hyeshik.chang'
    closed = True
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2003-05-14.05:44:46.000>
    creator = 'hyeshik.chang'
    dependencies = []
    files = ['5305', '5306']
    hgrepos = []
    issue_num = 737473
    keywords = ['patch']
    message_count = 4.0
    messages = ['43787', '43788', '43789', '43790']
    nosy_count = 3.0
    nosy_names = ['mwh', 'hyeshik.chang', 'falsetru']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue737473'
    versions = ['Python 2.4']

    @hyeshik
    Copy link
    Contributor Author

    hyeshik commented May 14, 2003

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

    @hyeshik hyeshik closed this as completed May 14, 2003
    @hyeshik hyeshik self-assigned this May 14, 2003
    @hyeshik hyeshik added the stdlib Python modules in the Lib dir label May 14, 2003
    @hyeshik hyeshik closed this as completed May 14, 2003
    @hyeshik hyeshik self-assigned this May 14, 2003
    @hyeshik hyeshik added the stdlib Python modules in the Lib dir label May 14, 2003
    @falsetru
    Copy link
    Mannequin

    falsetru mannequin commented Jul 18, 2004

    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.

    @mwhudson
    Copy link

    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 :-)

    @hyeshik
    Copy link
    Contributor Author

    hyeshik commented Oct 26, 2004

    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

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 9, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    stdlib Python modules in the Lib dir
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants