'psyco' problem

From: Paulo da Silva (psXdaXsilva_at_esotericaX.ptX)
Date: 10/10/04

  • Next message: Paulo da Silva: "Init a table of functions"
    Date: Sun, 10 Oct 2004 01:32:05 GMT
    
    

    When running the following program:

    #! /bin/env python
    # -*- coding: iso-8859-15 -*-

    import psyco
    psyco.full()

    def main():
         n=eval("123+456")
         print n

    if __name__ == "__main__":
         main()

    I got:
    ./tp.py:7: warning: eval()/execfile() cannot see the locals in functions
    bound by Psyco; consider using eval() in its two- or three-arguments form
       def main():
    579

    What does this mean? Is there anything wrong?

    Thank you.


  • Next message: Paulo da Silva: "Init a table of functions"

    Relevant Pages