- updated for 3.7.0b4 and 2.7.15 removed 32-bit-only refs.- updated for 3.7.4 3.6.x is now security-fix-only.For Python to be able to dynamically link with a particularTcl and Tk version, the available architectures in the Tcl/Tk frameworksmust include the architecture that Python is running in and theirminimum deployment target should be no greater than that of Python. built-in 8.6.8Īs is common on macOS, the installed Pythons and the Tcl and Tkframeworks are built to run on multiple CPU architectures ( universalbinaries) and across multiple macOS levels ( minimum deploymenttarget). While the Python installers downloadablefrom this website do not support X11 Tk, other distributors ofPython for macOS may do so. X11 Tk The traditional platform-independent UNIX Tk implementation whichrequires an X11 server, such as the Apple X11.app available as anoptional component in older macOS releases or from third-partydistributors. 32-bit-only Python installers downloadablefrom this website for older Python releases were linked with Aqua CarbonTk 8.4. As of 8.5.13, the Tk project no longer supportsCarbon builds of Tk 8.5. Aqua Carbon variantsof Tk 8.5 had been available as an ActiveState Community Download priorto ActiveTcl 8.5.9. Aqua Carbon Tk 8.4 is included with macOS releases 10.4through 10.14 and is also available from ActiveState. Aqua Carbon Tk Because it is implemented with older macOS Carbon interfaces, it isonly available as a 32-bit binary (usually for Intel and PowerPCprocessors). Aqua Cocoa support wasbackported to Tk 8.5 (prior to 8.5.13) and released by Apple starting with macOS 10.6and by ActiveState starting with their 8.5.9.1 release. This variant is the standard nativemacOS variant in Tk 8.6 and as of Tk 8.5.13. I'm happy to suggest clearer wording I'm not sure where to post a patch/PR, though.There are currently three major variants of Tk in common use on macOS: Aqua Cocoa Tk A newer native implementation availableas a universal 64-bit and 32-bit binary. If you wish to use IDLE or Tkinter, install and use a newer version of Python and of Tcl/Tk." "If you are using macOS 10.7 or later, the Apple-supplied Tcl/Tk 8.5 still has serious bugs that can cause application crashes. "If you are using Python (prior to 3.7) from a 64-bit/32-bit Python installer for macOS 10.6 and later, you should only use IDLE or tkinter with an updated third-party Tcl/Tk 8.5 (not 8.6), like ActiveTcl 8.5 installed." The following two current paragraphs should be improved: I suggest this approach.Īs for the docs, IMO we should update the "GUI Programming on the Mac" section of I'll prepare a PR. It would be straightforward to add warnings when using anything other than 8.5.18 or 8.6.8+. ![]() It is currently printed in new shell windows. We already have a warning about Tk versions on macOS, see macosx.tkVersionWarning(). To do that on Mac, we have to use a fairly up-to-date version of the efforts of Kevin and company. To put it another way, I want tcl/tk to shield me from differences between OS versions. If someone breaks IDLE on Windows by replacing the installed tcl/tk, it is basically their problem.) ![]() Does the ActiveState licensing allow this? Then we could consider saying that we only support tkinter x.y.z with that tcl/tk, and IDLE patches could be tested against the expected tcl/tk they will be installed with. I think the goal of the python x.y.z Mac equivalent of PCbuild should be to make it just as easy to build python with the current 'official' x.y.z version of tcl/tk as PCbuild does. Let me revise, extend, and reword what I said earlier about 'recent releases'. In any case, tcl/tk on the every changing macOS graphics seems 'tempermental'. Vlad says in msg323040 "on 8.6.8 I didn't see issues" and in msg326778 "The issues appear with. (Other than new blackout issue reported in bpo-34313.) I will let someone else test 32/64 bit release, which Ned says also uses 8.6.9. I installed 64-bit 3.7.2rc1 on my Macbook, with 8.6.9, and so far IDLE itself runs fine.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |