[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: a new proposal for environments
- From: Jonathan Castello <twisolar@...>
- Date: Thu, 25 Feb 2010 12:02:19 -0800
> (BTW, loadfile is quite insecure to be allowed in sandboxes, as it
> may load binary files that can crash your program.)
Point taken. How does require() get around this problem, if I may ask?
Also, now that I think about it, wouldn't require() also load files
into the global environment rather than the caller's environment? I'm
not sure on that, I haven't tried.
~Jonathan
- References:
- Re: a new proposal for environments, Peter Cawley
- Re: a new proposal for environments, Peter Cawley
- Re: a new proposal for environments, Roberto Ierusalimschy
- Re: a new proposal for environments, David Kastrup
- Re: a new proposal for environments, Enrico Colombini
- Re: a new proposal for environments, Duncan Cross
- Re: a new proposal for environments, Jonathan Castello
- Re: a new proposal for environments, Pierre-Yves Gérardy
- Re: a new proposal for environments, Jonathan Castello
- Re: a new proposal for environments, Roberto Ierusalimschy