[Python-checkins] cpython (3.4): Issue #21812: Trigger immediate transformation in turtle.shapetransform().
raymond.hettinger
python-checkins at python.org
Sun Jun 22 10:24:04 CEST 2014
http://hg.python.org/cpython/rev/39b094798e14
changeset: 91315:39b094798e14
branch: 3.4
parent: 91312:1ae2382417dc
user: Raymond Hettinger <python at rcn.com>
date: Sun Jun 22 01:21:51 2014 -0700
summary:
Issue #21812: Trigger immediate transformation in turtle.shapetransform().
files:
Lib/turtle.py | 2 +-
Misc/ACKS | 1 +
Misc/NEWS | 3 +++
3 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/Lib/turtle.py b/Lib/turtle.py
--- a/Lib/turtle.py
+++ b/Lib/turtle.py
@@ -2945,7 +2945,7 @@
self._stretchfactor = a11, a22
self._shearfactor = a12/a22
self._tilt = alfa
- self._update()
+ self.pen(resizemode="user")
def _polytrafo(self, poly):
diff --git a/Misc/ACKS b/Misc/ACKS
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -235,6 +235,7 @@
Albert Chin-A-Young
Adal Chiriliuc
Matt Chisholm
+Lita Cho
Anders Chrigström
Tom Christiansen
Vadim Chugunov
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -29,6 +29,9 @@
- Issue #21491: socketserver: Fix a race condition in child processes reaping.
+- Issue #21812: turtle.shapetransform did not tranform the turtle on the
+ first call. (Issue identified and fixed by Lita Cho.)
+
- Issue #21635: The difflib SequenceMatcher.get_matching_blocks() method
cache didn't match the actual result. The former was a list of tuples
and the latter was a list of named tuples.
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list