This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ezwelty
Recipients ezwelty, ned.deily, ronaldoussoren
Date 2018-03-21.17:14:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1521652476.92.0.467229070634.issue33111@psf.upfronthosting.co.za>
In-reply-to
Content
I have tried running the script with:

- command line (python <file>): Works without (breaks with) `import _tkinter`.
- basic python console (python): Same as with command line.
- ipython: Fails with or without `import _tkinter`. However, if for example I make the matrix in the scripts smaller or use only functions that don't resort to multithreading, code runs successfully in parallel in ipython.
- IDLE: Perhaps unsurprisingly, the code fails with or without `import _tkinter` (never terminates, or prompts endless "Your program is still running! Do you want to kill it?")

Suspecting a problem with Tcl/Tk (Apple's original 8.5.9), I rebuilt python pointing to tcl-tk installed with brew (8.6.8), which I checked with IDLE and _tkinter.TCL_VERSION() / _tkinter.TK_VERSION(). However, this did not fix the problem.
History
Date User Action Args
2018-03-21 17:14:36ezweltysetrecipients: + ezwelty, ronaldoussoren, ned.deily
2018-03-21 17:14:36ezweltysetmessageid: <1521652476.92.0.467229070634.issue33111@psf.upfronthosting.co.za>
2018-03-21 17:14:36ezweltylinkissue33111 messages
2018-03-21 17:14:36ezweltycreate