[issue11075] Using Turtle with IDLE on Mac OS X

2011-02-01 Thread Ned Deily

Changes by Ned Deily :


--
assignee:  -> ned.deily
resolution:  -> works for me
stage:  -> committed/rejected

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11075] Using Turtle with IDLE on Mac OS X

2011-02-01 Thread Alex McNerney

Alex McNerney  added the comment:

solved* or rather, a workaround has been found.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11075] Using Turtle with IDLE on Mac OS X

2011-02-01 Thread Alex McNerney

Alex McNerney  added the comment:

Thank you so much for pointing out the -n option!
Hopefully the Tk 8.5.9 input issue will be solved soon enough.
Thank you both again.
I'm not sure if I'm supposed to or not, but I am marking this as closed – 
seeing as the main issue has been solved.

--
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11075] Using Turtle with IDLE on Mac OS X

2011-02-01 Thread Ned Deily

Ned Deily  added the comment:

I saw this post by Gregor: 
http://thread.gmane.org/gmane.comp.python.general/334881/focus=334996

I don't know applicable it still is on Windows.  But it does seem to be still 
true on OS X.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11075] Using Turtle with IDLE on Mac OS X

2011-02-01 Thread R. David Murray

R. David Murray  added the comment:

Ah, in that case I think the docs could be improved on that point.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11075] Using Turtle with IDLE on Mac OS X

2011-02-01 Thread Ned Deily

Ned Deily  added the comment:

It's clear from testing it and from some searches that -n is, in fact, required.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11075] Using Turtle with IDLE on Mac OS X

2011-02-01 Thread R. David Murray

R. David Murray  added the comment:

Ned: I read the bits in the turtle docs about -n as meaning *if* you use -n 
*then* you should set this profile option (but if you don't, things should 
work).  I didn't go over the docs in detail, though, so maybe I'm misreading.  
Since you and I clearly don't know what we are talking about in detail, I'm 
adding Gregor and Alexander (the latter since he's clearly been using it) to 
nosy.

--
assignee: ned.deily -> 
nosy: +belopolsky, gregorlingl

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11075] Using Turtle with IDLE on Mac OS X

2011-02-01 Thread Ned Deily

Ned Deily  added the comment:

[Please don't add new topics to the same tracker issue.  As David mentioned, it 
would be better to ask for help on one of the user lists to be sure before 
opening an issue.  Besides the general python-list, there is an active OS X 
users list (pythonmac-sig) where you will find users of IDLE;  see 
http://www.python.org/community/sigs/

That said, to address your most recent message, that appears to indeed be a 
problem.  I've opened Issue11088 for it.  The "setCanCycle: is deprecated" 
messages are a harmless artifact; they should disappear in an upcoming 
maintenance release of ActiveState Tcl 8.5.]

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11075] Using Turtle with IDLE on Mac OS X

2011-02-01 Thread Ned Deily

Ned Deily  added the comment:

Now that I looked at the documentation 
(http://docs.python.org/library/turtle.html), I see that it is clear that 
Turtle is designed to work from IDLE *but*, as is noted, "when using the module 
from within IDLE run with the -n switch", which means run IDLE without a 
subprocess.  What may not be so obvious is how to do that on Mac OS X.  
Double-clicking on IDLE.app launches it with default values including a 
subprocess and there is no straightforward to override those.  From a terminal 
shell, it is easy to start bin/idle:

   $ idle2.7 -n

although that has a few cosmetic disadvantages with bin/idle over IDLE.app (for 
example, the application name displayed is "Python" not "IDLE").  It has aways 
been possible to launch an OS X GUI app from a shell command line using the 
open(1) command; as of OS X 10.6 it is now also possible to pass regular 
command line arguments to the application.  So the following would work in 10.6 
and probably be preferable:

   $ open -a "/Applications/Python 2.7/IDLE.app" --args -n

If you want to have a double-clickable application, a simple approach is to 
create a launcher application with AppleScript:

   $ osacompile -o 'IDLE-n.app' < do shell script "open -a '/Applications/Python 2.7/IDLE.app' --args -n"
   > EOF

As someone not used to using Turtle and given the intended user base for 
Turtle, I wonder whether the current Turtle module documentation is sufficient 
on this point.  Two possible actions I could see are: (1) expanding the 
documentation to include a suggestion like the above to allow for an OS X 
clickable app; and/or (2) actually supplying such a simple no-subprocess app 
with the standard python.org installer distribution (or some other solution).  
How is this issue handled on Windows?  Is there a need to expand the 
documentation in general?
(adding Raymond to the nosy list)

--
nosy: +rhettinger
title: Turtle crash with IDLE on Mac OS X 10.6 -> Using Turtle with IDLE on Mac 
OS X
versions: +Python 3.2

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com