launchpad-dev team mailing list archive
-
launchpad-dev team
-
Mailing list archive
-
Message #02510
Re: The with statement
On Wed, 2010-02-10 at 14:42 -0500, Barry Warsaw wrote:
>
> with cwd('/path/to/stuff'):
> # ...
>
> is pretty obvious.
And extremely dangerous, as well as trivially broken. Not safe to use
from any server code.
(And if its not obvious why its dangerous or breakable, that should
serve as pause!)
-Rob
Attachment:
signature.asc
Description: This is a digitally signed message part
Follow ups
References