Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #80172 > unrolled thread
| Started by | Rustom Mody <rustompmody@gmail.com> |
|---|---|
| First post | 2014-11-04 04:43 -0800 |
| Last post | 2014-11-05 05:54 -0800 |
| Articles | 5 — 4 participants |
Back to article view | Back to comp.lang.python
Idle on Mac issues Rustom Mody <rustompmody@gmail.com> - 2014-11-04 04:43 -0800
Re: Idle on Mac issues Andrea D'Amore <anddamNOPSAM+gruppi@brapi.net> - 2014-11-04 14:15 +0100
Re: Idle on Mac issues Ned Deily <nad@acm.org> - 2014-11-04 11:55 -0800
Re: Idle on Mac issues Andrea D'Amore <anddamNOPSAM+gruppi@brapi.net> - 2014-11-04 22:41 +0100
Re: Idle on Mac issues wxjmfauth@gmail.com - 2014-11-05 05:54 -0800
| From | Rustom Mody <rustompmody@gmail.com> |
|---|---|
| Date | 2014-11-04 04:43 -0800 |
| Subject | Idle on Mac issues |
| Message-ID | <90cc9fbb-3c11-4e2b-bad2-5ee7fe51a7bc@googlegroups.com> |
I seem to be stuck with some issues of Idle on macs. The page https://www.python.org/download/mac/tcltk seems to talk only of Tcl/Tk versions 8.5 Macports seem to have at 8.6 https://www.macports.org/ports.php?by=library&substr=tcl With a direct download of Tcl/Tk there are some security warnings that prevent it from installing. Using whatever Tcl/Tk comes with python means many things dont work: - The options menu wont open - Various keyboard shortcuts dont work Any suggestions/directions? [Me: A non Mac-er with Mac-ers in my class!]
[toc] | [next] | [standalone]
| From | Andrea D'Amore <anddamNOPSAM+gruppi@brapi.net> |
|---|---|
| Date | 2014-11-04 14:15 +0100 |
| Message-ID | <m3ajif$30o$1@virtdiesel.mng.cu.mi.it> |
| In reply to | #80172 |
[Multipart message — attachments visible in raw view] — view raw
On 2014-11-04 12:43:59 +0000, Rustom Mody said: > I seem to be stuck with some issues of Idle on macs. > The page https://www.python.org/download/mac/tcltk > seems to talk only of Tcl/Tk versions 8.5 System's 8.5 should be enough, if not there's explicit mention of the ActiveTcl distribution. > Macports seem to have at 8.6 > https://www.macports.org/ports.php?by=library&substr=tcl But that won't likely be used by a binary python installation, unless you're using python from MacPorts as well. > Using whatever Tcl/Tk comes with python means many things dont work: > - The options menu wont open > - Various keyboard shortcuts dont work > Any suggestions/directions? > [Me: A non Mac-er with Mac-ers in my class!] I'm on 10.10 (happily) running MacPorts, I have system's python 2.7.6 as well as 2.7.8 and 3.4.2 from MacPorts, these two built with Xquartz support. I can start the idle binary provided by all of those, the system's with native GUI, and have working Options menu in all of them. I'd suggest the people having issue to describe their issues here, with details on the system version, python version, the exact command they run and the error they get. -- Andrea
[toc] | [prev] | [next] | [standalone]
| From | Ned Deily <nad@acm.org> |
|---|---|
| Date | 2014-11-04 11:55 -0800 |
| Message-ID | <mailman.15471.1415130922.18130.python-list@python.org> |
| In reply to | #80175 |
In article <m3ajif$30o$1@virtdiesel.mng.cu.mi.it>, Andrea D'Amore <anddamNOPSAM+gruppi@brapi.net> wrote: > On 2014-11-04 12:43:59 +0000, Rustom Mody said: > > > I seem to be stuck with some issues of Idle on macs. > > The page https://www.python.org/download/mac/tcltk > > seems to talk only of Tcl/Tk versions 8.5 > > System's 8.5 should be enough, if not there's explicit mention of the > ActiveTcl distribution. The Tcl/Tk 8.5.x versions shipped by Apple since OS X 10.6, and including 10.10, lag behind the current releases of Tcl/Tk; all Apple 8.5 version have serious bugs that have been fixed upstream. The most serious involves an immediate, unrecoverable crash in Tk when typing a composition character in an edit window or the IDLE shell, for example option-u (to make an umlaut) with a US input method. That's why we strongly urge IDLE users to *not* use the Apple-supplied Tcl/Tk. (The Apple-supplied Tk 8.5 with OS X 10.6 is pretty much unusable with IDLE.) Unfortunately, it's not trivial nor advisable to modify the system-supplied Python to use a newer third-party Tcl/Tk. The Pythons provide by the python.org OS X binary installers will automatically use a third-party Tcl/Tk 8.5.x installed in /Library/Frameworks (like ActiveTcl 8.5) and fall back to the system Tcl/Tk 8.5 in /System/Library/Frameworks. Since Apple does not currently ship Tcl/Tk 8.6, the python.org OS X binary installer Pythons currently do not support 8.6, either. > > Macports seem to have at 8.6 > > https://www.macports.org/ports.php?by=library&substr=tcl > > But that won't likely be used by a binary python installation, unless > you're using python from MacPorts as well. Yes, but, if you are using MacPorts, you should use one of its Python anyway. Note that the MacPorts Tk 8.6 has two variants: +quartz (for the native Cocoa Tk) and +x11 (for a traditional X11-based Tk). Because of many odd implementation choices with X11 and X11 Tk on OS X, I do not recommend using the X11 Tk on OS X with IDLE. > I'm on 10.10 (happily) running MacPorts, I have system's python 2.7.6 > as well as 2.7.8 and 3.4.2 from MacPorts, these two built with Xquartz > support. > I can start the idle binary provided by all of those, the system's with > native GUI, and have working Options menu in all of them. BTW, there have been various tweaks to IDLE's Preferences and Options menus in recent releases of Python. You are well-advised to use the latest versions of Python, currently 3.4.2 and 2.7.8, to get the best experience with IDLE. > I'd suggest the people having issue to describe their issues here, with > details on the system version, python version, the exact command they > run and the error they get. Good suggestion. Also, it would be a good idea to check the Python bug tracker, bugs.python.org, for existing problem reports and to open new issues if none found. -- Ned Deily, nad@acm.org
[toc] | [prev] | [next] | [standalone]
| From | Andrea D'Amore <anddamNOPSAM+gruppi@brapi.net> |
|---|---|
| Date | 2014-11-04 22:41 +0100 |
| Message-ID | <m3bh6o$van$1@virtdiesel.mng.cu.mi.it> |
| In reply to | #80230 |
On 2014-11-04 19:55:00 +0000, Ned Deily said: > […] all Apple 8.5 version have serious bugs that have been fixed > upstream. The most > serious involves an immediate, unrecoverable crash in Tk when typing a > composition character in an edit window or the IDLE shell […] I stand corrected, I wasn't aware of these issues since I've always used the version available in ports. > Note that the MacPorts Tk 8.6 has two variants: +quartz (for > the native Cocoa Tk) and +x11 (for a traditional X11-based Tk).Because > of many odd implementation choices with X11 and X11 Tk on OS X, I do not > recommend using the X11 Tk on OS X with IDLE. I know, I'm using tk +x11 on purpose due to an issue with a specific program and the +quartz version. > You are well-advised to use the > latest versions of Python, currently 3.4.2 and 2.7.8, to get the best > experience with IDLE. I mentioned the slightly outdated 2.7.6 as that's the one shipped with the system and it's better not to tinker with it, IIRC there are system scripts relying on it. -- Andrea
[toc] | [prev] | [next] | [standalone]
| From | wxjmfauth@gmail.com |
|---|---|
| Date | 2014-11-05 05:54 -0800 |
| Message-ID | <68efbcb9-0e51-4a0a-8a2e-ee9c3f649315@googlegroups.com> |
| In reply to | #80172 |
Le mardi 4 novembre 2014 13:44:16 UTC+1, Rustom Mody a écrit : > I seem to be stuck with some issues of Idle on macs. > The page https://www.python.org/download/mac/tcltk > seems to talk only of Tcl/Tk versions 8.5 > > Macports seem to have at 8.6 > https://www.macports.org/ports.php?by=library&substr=tcl > > With a direct download of Tcl/Tk there are some security warnings that prevent it from installing. > > Using whatever Tcl/Tk comes with python means many things dont work: > - The options menu wont open > - Various keyboard shortcuts dont work > > Any suggestions/directions? > > [Me: A non Mac-er with Mac-ers in my class!] (From a previous thead: IDLE for teaching purpose.) For your information, on Windows, IDLE is also not working. jmf
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web