Skip to content

Race conditions in Tkinter with non-threaded Tcl #77438

@native-api

Description

@native-api
BPO 33257
Nosy @terryjreedy, @roseman, @serhiy-storchaka, @native-api
PRs
  • bpo-33257: Fix race conditions for non-threaded Tcl #6444
  • [2.7] bpo-33257: Fix race conditions for non-threaded Tcl (GH-6444) #6972
  • bpo-33479: Remove unqualified tkinter threadsafe claim. #6990
  • Files
  • TkinterCrash2-2.py: Py2 version, crashing
  • TkinterCrash3-2-2.py: Py3 version, working
  • TkinterHanders.py
  • TkinterHanders3.py
  • 0001-Build-non-threaded-debug-Tcl.zip: For testing only! Build master (win64) with nonthreaded debug Tcl
  • 0001-build-2.7-with-threaded-Tcl.patch: For testing only! Build 2.7 (win64) with threaded Tcl
  • test_threads_tk.py: reproduce hang when creating multiple Tk's
  • 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 = None
    closed_at = None
    created_at = <Date 2018-04-10.16:41:09.432>
    labels = ['3.8', '3.7', 'expert-tkinter', 'type-crash']
    title = 'Race conditions in Tkinter with non-threaded Tcl'
    updated_at = <Date 2018-10-27.23:10:44.251>
    user = 'https://github.com/native-api'

    bugs.python.org fields:

    activity = <Date 2018-10-27.23:10:44.251>
    actor = 'terry.reedy'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Tkinter']
    creation = <Date 2018-04-10.16:41:09.432>
    creator = 'Ivan.Pozdeev'
    dependencies = []
    files = ['47529', '47530', '47536', '47561', '47565', '47566', '47620']
    hgrepos = []
    issue_num = 33257
    keywords = ['patch']
    message_count = 29.0
    messages = ['315172', '315271', '315283', '315285', '315286', '315304', '315878', '315899', '316087', '316089', '316092', '316093', '316095', '316096', '316097', '316098', '316099', '316100', '316103', '316105', '316106', '316241', '316265', '316418', '316451', '316689', '316921', '317875', '328662']
    nosy_count = 5.0
    nosy_names = ['terry.reedy', 'markroseman', 'PythonInTheGrass', 'serhiy.storchaka', 'Ivan.Pozdeev']
    pr_nums = ['6444', '6972', '6990']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue33257'
    versions = ['Python 2.7', 'Python 3.6', 'Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      Projects

      Status

      No status

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions