]> granicus.if.org Git - python/commitdiff
Issue #21812: Trigger immediate transformation in turtle.shapetransform().
authorRaymond Hettinger <python@rcn.com>
Sun, 22 Jun 2014 08:21:51 +0000 (01:21 -0700)
committerRaymond Hettinger <python@rcn.com>
Sun, 22 Jun 2014 08:21:51 +0000 (01:21 -0700)
Lib/turtle.py
Misc/ACKS
Misc/NEWS

index 599f645fd0ca6d5d93e88a20b1201b41bbf10e41..3d1d3b060d324d02cf273d9b0da693f0e036c3dc 100644 (file)
@@ -2945,7 +2945,7 @@ class RawTurtle(TPen, TNavigator):
         self._stretchfactor = a11, a22
         self._shearfactor = a12/a22
         self._tilt = alfa
-        self._update()
+        self.pen(resizemode="user")
 
 
     def _polytrafo(self, poly):
index c42b02b9ef60bacf64efcc6839da05ec50637969..9787d8e74b8801b0087ab44be36c6bf267498294 100644 (file)
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -235,6 +235,7 @@ Ingrid Cheung
 Albert Chin-A-Young
 Adal Chiriliuc
 Matt Chisholm
+Lita Cho
 Anders Chrigström
 Tom Christiansen
 Vadim Chugunov
index a94d07351555ea3e6a0fbeb0add15d505daf9d14..848eb8633935068baa47cf100825d39740b76958 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -29,6 +29,9 @@ Library
 
 - 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.