title: Trouble using eval() with cython
body: <p>I was trying to speed up some code, and then I tried compiling a class and a function using cython </p>
  
  <p>and WOW! I havn't measured it yet but it looks at least 10x faster.</p>
  
  <p>I first looked at cython just two days ago, I'm very impressed!</p>
  
  <p>However, I can't get eval() to work.</p>
  
  <pre><code>def thefirst(int a):
      d = eval('1+2+a')
      return d
  </code></pre>
  
  <p>I compile this to  module1.pyd file and call it with the python file:</p>
  
  <pre><code>from module1 import thefirst
  x = thefirst(2)
  print x
  </code></pre>
  
  <p>This returns:</p>
  
  <p>NameError: name 'a' is not defined.</p>
  
  <p>All help is appreciated.</p>