Ned Deily added the comment:
The changesets below should prevent the problem in 3.4.2 and 3.5.0. Since
there are no standard tests for turtle at the moment, there is no testcase for
using a non-default Canvas but one should be added when turtle tests are
(Issue21914 and Issue21916).
New cha
Ned Deily added the comment:
The attached patch should prevent the AttributeError exception when not using a
default Canvas. I now think the overall approach introduced in Issue11571 is
not the best. I plan to commit this fix for now but encourage more robust
solutions in the long term.
---
Ned Deily added the comment:
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/t
Ned Deily added the comment:
It looks like the changes associated with Issue11571, released in 3.4.1, cause
this problem when the program supplies its own Canvas object rather than
relying on the turtle module to create a default one.
--
assignee: -> ned.deily
nosy: +ned.deily
stage:
New submission from Kent D. Lee:
This is either a turtle graphics or tkinter problem.
In Python 3.4 it appears that something in Turtle Graphics broke or at least
changed. I get the following error when trying to run a program that works in
Python 3.1 and 3.2.
Kent's Mac> python3.4 c4.py
Tra