[IronPython] Hosting IP2 Beta2 in Mono?

Douglas S. Blank dblank at brynmawr.edu
Tue May 27 22:51:55 CEST 2008


Sanghyeon Seo wrote:
> 2008/5/20 Douglas S. Blank <dblank at brynmawr.edu>:
>> Seo at al.,
>>
>> If you want to grab the patches for an IPCEr8 which will build and run IP2B2:
>>
>> svn export
>> http://svn.cs.brynmawr.edu/Myro/trunk/fepy/IPCE/fepy/patches/2.0b2/
> 
> Sorry for a long delay. This is a great work! Thank you. These changes
> are now incorporated in FePy SVN:
> http://fepy.svn.sourceforge.net/viewvc/fepy?view=rev&revision=588
> 
> However, your patch-builtin-mapsite is incorrect. A function to map
> can be null (Python None) in valid Python code. Try "map(None, [])"
> for an example.
> 
> My workaround involves moving local DynamicSite varaibles to static
> and using EnsureInitialized to initialize them. See:
> http://fepy.svn.sourceforge.net/svnroot/fepy/trunk/patches/latest/patch-builtin-mapsite
> 

Excellent; thanks a bunch!

I didn't know that you could map None... interesting. That explains that 
code.

-Doug



More information about the Ironpython-users mailing list