'psyco' problem
From: Paulo da Silva (psXdaXsilva_at_esotericaX.ptX)
Date: 10/10/04
- Previous message: Kenneth McDonald: "Better way of getting parsed Python rather than an AST?"
- Next in thread: Andrew Dalke: "Re: 'psyco' problem"
- Reply: Andrew Dalke: "Re: 'psyco' problem"
- Reply: Hannu Kankaanp??: "Re: 'psyco' problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Previous message: Kenneth McDonald: "Better way of getting parsed Python rather than an AST?"
- Next in thread: Andrew Dalke: "Re: 'psyco' problem"
- Reply: Andrew Dalke: "Re: 'psyco' problem"
- Reply: Hannu Kankaanp??: "Re: 'psyco' problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|