Bug? (ActivePython)

Jp Calderone exarkun at intarweb.us
Mon Dec 30 21:10:31 EST 2002


On Mon, Dec 30, 2002 at 11:35:35PM +0000, Tetsuo wrote:
> 
> This works:
> 
> execfile("pystone.py")
> 
> This returns a 404 error:

  404 error?  Is this in a CGI?

> 
> def e():
>     execfile("pystone.py")
> 
> e()
> 
> How in God's name are these statements different?


  The locals dictionary the code is executed in is different.  Without
knowing what's in pystone.py, saying more is difficult.

  Jp

-- 
"There is no reason for any individual to have a computer in their
home."
                -- Ken Olson, President of DEC, World Future Society
                   Convention, 1977
--
 12:00am up 14 days, 9:45, 3 users, load average: 0.15, 0.25, 0.16
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20021230/ba27a6c2/attachment.sig>


More information about the Python-list mailing list