From: Raymond Hettinger Date: Sun, 22 Jun 2014 08:21:51 +0000 (-0700) Subject: Issue #21812: Trigger immediate transformation in turtle.shapetransform(). X-Git-Tag: v3.4.2rc1~345 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6dec4eae536b3e55bf18b5804eb01f8110d4bafb;p=thirdparty%2FPython%2Fcpython.git Issue #21812: Trigger immediate transformation in turtle.shapetransform(). --- diff --git a/Lib/turtle.py b/Lib/turtle.py index 599f645fd0ca..3d1d3b060d32 100644 --- a/Lib/turtle.py +++ b/Lib/turtle.py @@ -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): diff --git a/Misc/ACKS b/Misc/ACKS index c42b02b9ef60..9787d8e74b88 100644 --- 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 diff --git a/Misc/NEWS b/Misc/NEWS index a94d07351555..848eb8633935 100644 --- 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.