[issue42691] macOS 11.1 + Homebrew 2.6.2 + Python 3.9.1 = "IDLE" crash

2020-12-21 Thread Ned Deily
Ned Deily added the comment: > Should I do something with this now or just wait for updates? I'd wait for a Homebrew recipe update. -- ___ Python tracker ___

[issue42691] macOS 11.1 + Homebrew 2.6.2 + Python 3.9.1 = "IDLE" crash

2020-12-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: To use tkinter and hence IDLE and turtle on macOS, get the Mac Python installer on python.org. -- ___ Python tracker ___

[issue42691] macOS 11.1 + Homebrew 2.6.2 + Python 3.9.1 = "IDLE" crash

2020-12-21 Thread Пётр Сиренко
Пётр Сиренко added the comment: Guys, thank you all for joining the conversation! I don't understand what exactly should I do to fix this, but I have a lot to study through py4u and plenty of time before I will really need Python fixed. Should I do something with this now or just wait for

[issue42691] macOS 11.1 + Homebrew 2.6.2 + Python 3.9.1 = "IDLE" crash

2020-12-21 Thread FX Coudert
FX Coudert added the comment: Our messages crossed, thanks Ned for the help. Hopefully we'll be solving this in a way that benefit most users. -- ___ Python tracker ___

[issue42691] macOS 11.1 + Homebrew 2.6.2 + Python 3.9.1 = "IDLE" crash

2020-12-21 Thread FX Coudert
FX Coudert added the comment: But we can override with --with-tcltk-includes and --with-tcltk-libs I've opened a pull request for Homebrew to switch to recent tcl-tk: https://github.com/Homebrew/homebrew-core/pull/67378 -- ___ Python tracker

[issue42691] macOS 11.1 + Homebrew 2.6.2 + Python 3.9.1 = "IDLE" crash

2020-12-21 Thread Ned Deily
Ned Deily added the comment: If you are not using Tcl and Tk framework builds installed in /Library, you use the configure or make options: --with-tcltk-includes='-I...' override search for Tcl and Tk include files --with-tcltk-libs='-L...'

[issue42691] macOS 11.1 + Homebrew 2.6.2 + Python 3.9.1 = "IDLE" crash

2020-12-21 Thread FX Coudert
FX Coudert added the comment: After checking, I can see the code in cpython's setup.py is still there. detect_tkinter_darwin will prefer the system's version over anything we can specific in our cflags or ldflags. This seems contrary to the advice above not to use macOS system Tcl/Tk.

[issue42691] macOS 11.1 + Homebrew 2.6.2 + Python 3.9.1 = "IDLE" crash

2020-12-21 Thread FX Coudert
FX Coudert added the comment: Hi Ned, FX from Homebrew here. One of the reasons we a couple of years ago to stick with macOS system tcl-tk was that cpython's configure does not currently allow to build against our tcl-tk, which is not a framework but a simple Unix-style library build. We

[issue42691] macOS 11.1 + Homebrew 2.6.2 + Python 3.9.1 = "IDLE" crash

2020-12-21 Thread Ned Deily
Ned Deily added the comment: > I have tried to update tcl-tk with the homebrew, but in command line I see 8.5 > Could you please help me to fix this tcl-tk problem? You should check with the Homebrew project; we have no insight into or control over their packaging choices. Good luck!

[issue42691] macOS 11.1 + Homebrew 2.6.2 + Python 3.9.1 = "IDLE" crash

2020-12-20 Thread Пётр Сиренко
Пётр Сиренко added the comment: petr@air-anastasia ~ % python3 -c "import tkinter; tkinter.Tk()" macOS 11 or later required ! zsh: abort python3 -c "import tkinter; tkinter.Tk()" >>> tkinter.TclVersion 8.5 >>> tkinter.TkVersion 8.5 petr@air-anastasia ~ % brew install tcl-tk Updating

[issue42691] macOS 11.1 + Homebrew 2.6.2 + Python 3.9.1 = "IDLE" crash

2020-12-20 Thread Ned Deily
Ned Deily added the comment: This is the same sort of crash of a Homebrew Python as reported in Issue42480 and the root cause is the same: the Homebrew recipe is allowing building and linking with the known faulty and deprecated Apple-provided system Tcl and Tk 8.5.9 frameworks. It needs to

[issue42691] macOS 11.1 + Homebrew 2.6.2 + python 3.9.1 = idle crash

2020-12-20 Thread Пётр Сиренко
New submission from Пётр Сиренко : Process: Python [3355] Path: /usr/local/Cellar/python@3.9/3.9.1_1/IDLE 3.app/Contents/MacOS/Python Identifier:org.python.IDLE Version: 3.9.1 (3.9.1) Code Type: X86-64 (Native) Parent Process:

[issue42691] macOS 11.1 + Homebrew 2.6.2 + Python 3.9.1 = "IDLE" crash

2020-12-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is a 'ancient, buggy tcl/tk 8.5.9 on OS11' issue, not an IDLE issue. Only 8.6.10 has a chance with OS11, and even that is a bit flakey. But I have no issues so far running 3.9.1 and IDLE with the Universal2 OS11 build from python.org on Mohave. What

[issue42691] macOS 11.1 + Homebrew 2.6.2 + Python 3.9.1 = "IDLE" crash

2020-12-20 Thread Пётр Сиренко
Change by Пётр Сиренко : -- title: macOS 11.1 + Homebrew 2.6.2 + python 3.9.1 = idle crash -> macOS 11.1 + Homebrew 2.6.2 + Python 3.9.1 = "IDLE" crash ___ Python tracker ___