[Python-checkins] cpython (2.7): Issue #22051: remove unneeded reload that allowed bad code.

terry.reedy python-checkins at python.org
Thu Sep 4 01:29:58 CEST 2014


http://hg.python.org/cpython/rev/b76d854f580e
changeset:   92320:b76d854f580e
branch:      2.7
parent:      92291:241f9aa9fb89
user:        Terry Jan Reedy <tjreedy at udel.edu>
date:        Wed Sep 03 19:29:11 2014 -0400
summary:
  Issue #22051: remove unneeded reload that allowed bad code.

files:
  Demo/turtle/turtleDemo.py |  1 -
  1 files changed, 0 insertions(+), 1 deletions(-)


diff --git a/Demo/turtle/turtleDemo.py b/Demo/turtle/turtleDemo.py
--- a/Demo/turtle/turtleDemo.py
+++ b/Demo/turtle/turtleDemo.py
@@ -210,7 +210,6 @@
             direc, fname = os.path.split(filename)
             self.root.title(fname[6:-3]+" - a Python turtle graphics example")
             self.module = __import__(fname[:-3])
-            reload(self.module)
             self.configGUI(NORMAL, NORMAL, DISABLED, DISABLED,
                            "Press start button", "red")
             self.state = READY

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list