wait_variable hangs at exit

Open
#40,440 12 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
desktop

Research direction

Start with the linked WaitTest.py demo of the wait_variable bug and review issue978604.diff for the proposed direction. Reproduce the exit hang in the Tkinter component, then inspect the current regression coverage and linked PR gh-152619. Done means the reported wait_variable exit behavior no longer hangs and the relevant test coverage passes.

Written by the indexing model from the issue text.

Description

3.11 stdlib topic-tkinter type-bug
BPO 978604
Nosy @loewis, @terryjreedy, @devdanzin, @asvetlov
Files
  • WaitTest.py: demo of wait_variable bug
  • issue978604.diff
  • 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/loewis'
    closed_at = None
    created_at = <Date 2004-06-23.23:07:12.000>
    labels = ['type-bug', 'expert-tkinter', '3.9', '3.10', '3.11']
    title = 'wait_variable hangs at exit'
    updated_at = <Date 2021-12-26.00:32:27.209>
    user = 'https://bugs.python.org/reowen'
    

    bugs.python.org fields:

    activity = <Date 2021-12-26.00:32:27.209>
    actor = 'ajaksu2'
    assignee = 'loewis'
    closed = False
    closed_date = None
    closer = None
    components = ['Tkinter']
    creation = <Date 2004-06-23.23:07:12.000>
    creator = 'reowen'
    dependencies = []
    files = ['1314', '13528']
    hgrepos = []
    issue_num = 978604
    keywords = ['patch']
    message_count = 8.0
    messages = ['21265', '82060', '84896', '84921', '84944', '84959', '139198', '409177']
    nosy_count = 6.0
    nosy_names = ['loewis', 'terry.reedy', 'reowen', 'ajaksu2', 'gpolo', 'asvetlov']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'test needed'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue978604'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']
    

    Linked PRs
    • gh-152619
    Dominant language
    Python
    Stars
    77.2k
    Forks
    36k
    Avg merge
    1d 9h
    Merged PRs (30d)
    558

    Contributor guide

    Open the contributing guide

    First steps

    1. Read the whole issue, then the project's contributing guide.
    2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
    3. Fork the repository and make your change on a branch.
    4. Open a pull request that references the issue number.

    More from python/cpython

    All issues in python/cpython

    Similar issues

    More Python issues

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.