'psyco' problem

Paulo da Silva psXdaXsilva at esotericaX.ptX
Sun Oct 10 03:32:05 CEST 2004


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.



More information about the Python-list mailing list