title: Break out of a loop using a method in another module
body: <p>So basically, using exec(), I made an infinitely scaleable list of abilities for my game.  The name of the method for the ability is stored in one module as a string and that string is appended to the header to call the actual method from another module.</p>
  
  <p>Example: </p>
  
  <p>Main module:</p>
  
  <pre><code>exec("ptwo." + curboard.tmp[ptwo.position].effect)
  </code></pre>
  
  <p>The effect is assigned by a list in a module</p>
  
  <pre><code>effects = ["jump()", "skip(), extra_turn(), none()"]
  </code></pre>
  
  <p>and each item in the list corresponds to a method in another module</p>
  
  <pre><code> def none(self):
          print("This tile has no effect.")
  </code></pre>
  
  <p>So for the extra turn effect i want to make it inject a continue command into the loop so the turn loop starts again from the top.</p>
  
  <p>Just returning continue made it error out.  Ditto with bare continue</p>