homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ned.deily
Recipients Kent.D..Lee, ned.deily
Date 2014年08月08日.03:02:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1407466962.75.0.211042799178.issue22168@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2014年08月08日 03:02:42ned.deilysetrecipients: + ned.deily, Kent.D..Lee
2014年08月08日 03:02:42ned.deilysetmessageid: <1407466962.75.0.211042799178.issue22168@psf.upfronthosting.co.za>
2014年08月08日 03:02:42ned.deilylinkissue22168 messages
2014年08月08日 03:02:42ned.deilycreate

AltStyle によって変換されたページ (->オリジナル) /