We haven’t had any other reports of issues like this so we’ll need some more details.

 

Are you creating a module named __main__ ?  (the console creates an engine named __main__, but if you’re using the engine directly we never create a __main__ module for you).  How is it not evaluating properly?  Are we thinking we’re in main or not in main? 

 

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jesse Wiles
Sent: Wednesday, August 30, 2006 7:51 AM
To: Discussion of IronPython
Subject: [IronPython] if __name__ == '__main__' broken in RC2?

 

Hi,

I'm running into a problem where if __name__ == '__main__' is not evaluating properly when using PythonEngine from my assembly.  Is this a known issue?

Thanks,
Jesse Wiles

_______________________________________________
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to