Message225054
As a temporary workaround, you could edit turtle.py to revert that change, in other words, just search for and delete the whole "if sys.platform == 'darwin'" test:
diff -r d85fcf23549e Lib/turtle.py
--- a/Lib/turtle.py Tue Aug 05 14:02:11 2014 -0500
+++ b/Lib/turtle.py Thu Aug 07 19:58:25 2014 -0700
@@ -993,12 +993,6 @@
self._colormode = _CFG["colormode"]
self._keys = []
self.clear()
- if sys.platform == 'darwin':
- # Force Turtle window to the front on OS X. This is needed because
- # the Turtle window will show behind the Terminal window when you
- # start the demo from the command line.
- cv._rootwindow.call('wm', 'attributes', '.', '-topmost', '1')
- cv._rootwindow.call('wm', 'attributes', '.', '-topmost', '0')
def clear(self):
"""Delete all drawings and all turtles from the TurtleScreen.
The file is at /Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/turtle.py. |
|
Date |
User |
Action |
Args |
2014-08-08 03:02:42 | ned.deily | set | recipients:
+ ned.deily, Kent.D..Lee |
2014-08-08 03:02:42 | ned.deily | set | messageid: <1407466962.75.0.211042799178.issue22168@psf.upfronthosting.co.za> |
2014-08-08 03:02:42 | ned.deily | link | issue22168 messages |
2014-08-08 03:02:42 | ned.deily | create | |
|