Re: eval vs. exec

Eugene <[email protected]>
Newsgroups gmane.comp.games.mud.client.lyntin
Message-ID <[email protected]>
On Tue, 6 Apr 2004 09:29:57 -0500 (CDT)
  will guaraldi <[email protected]> wrote:
>
>I'd rather not provide an empty default lyntinuser in the 
>modules
>directory.  If you do a site installation of Lyntin, the 
>admin would have
>to remove the lyntinuser module from the modules 
>directory in order to
>allow users to create their own.  I think that's too much 
>of a runaround.

I believe the custom module, if any, would silently 
override the default one.
I agree, though, the default is not needed to provide the 
empty symbol dictionary.

>I like the warning there.  It lets people know that they 
>should be running
>their python commands in a lyntinuser module that they 
>create.

Oops, I've just removed it. Ok, I will put it back; but 
the message is plain wrong - the code snippet is not 
executing in "advanced" module context. (And why would a 
user want to execute a code in the "advanced" context?) In 
fact, it's executed in an empty context. Put the warning 
back yourself, or let me know what text it should have, 
and I'll put it there.

--
Eugene
---
Professional hosting for everyone - http://www.host.ru


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.