To answer your 2nd question:  What mapping are you referring to in particular?  
Our List class does implement both IList and IList<object> so it should pass 
through to anything that takes one of those.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian Rowe
Sent: Tuesday, July 11, 2006 11:49 AM
To: Discussion of IronPython
Subject: Re: [IronPython] Modules available for IronPython?

Okay, thanks. I have experience in both Python and .NET, so IronPython seems 
like a natural extension. My concern is that common Pythonic solutions and 
patterns that I'm familiar with will not work based on lack of support for 
built-in libraries. Specifically, I'm referring to modules like os and string 
which fail to import. Are you saying that I can drop in the CPython 
implementations of these and they will work?

On a separate thread, I was surprised that there is no direct mapping between a 
Python list and the IList interface, even though such a mapping exists for 
string. In general, what is the logic behind the mappings and is the complete 
list documented?


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Dino Viehland
Sent: Tuesday, July 11, 2006 11:34 AM
To: Discussion of IronPython
Subject: Re: [IronPython] Modules available for IronPython?


That's a pretty good explanation, but when speaking of standard modules a 
distinction needs to be made between the built-in modules and the standard 
modules that are written in Python.

For the built-in modules we typically write these, and if you let us know which 
owes you need it'll help us prioritize them for the future.  Sometimes it takes 
us a while (e.g. socket was very popular, and Seo wrote his own socket module 
rather than wait for us).

For the standard library modules our goal is actually to support it on 
IronPython.  If you download CPython you can copy it's lib directory to 
IronPython's and start using all of those standard modules.  We test IronPython 
against the CPython regression suite and modules so we try and make sure these 
work.  This page 
http://www.codeplex.com/Wiki/View.aspx?ProjectName=IronPython&title=Regression%20Tests
 on CodePlex captures the state of the regression suite and is fairly up to 
date.




-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fuzzyman
Sent: Tuesday, July 11, 2006 7:31 AM
To: Discussion of IronPython
Subject: Re: [IronPython] Modules available for IronPython?

Brian Rowe wrote:

>What standard Python modules are available in IronPython? Is there a process 
>for adding missing libraries to the base distribution or is it left as a user 
>exercise to add them from the standard Python distribution?
>
>
If you add the Python standard library to your sys.path, you will find that the 
vast majority of it works.

If you find modules (or parts of modules) that don't work, and aren't recorded 
on the codeplex bug tracker, then report them here and they will be scheduled 
to be fixed 'some time'.

I *think* that is a basically correct summation of the situation. Some parts of 
the standard library are implemented in C and *may* never work with IronPython, 
although Seo has (had ?) something in progress that may resolve that.

All the best,

Fuzzyman
http://www.voidspace.org.uk/python/index.shtml

>  =====
>Brian Rowe
>Bridgewater Associates
>203 291 2849
>
>
>
>----------------------------------------
>
>This message is intended exclusively for the individual(s) or entity to which 
>it is addressed. It may contain information that is proprietary, privileged or 
>confidential or otherwise legally exempt from disclosure. If you are not the 
>named addressee, you are not authorized to read, print, retain, copy or 
>disseminate this message or any part of it. If you have received this message 
>in error, please notify the sender immediately by e-mail and delete all copies 
>of the message.
>
>_______________________________________________
>users mailing list
>users@lists.ironpython.com
>http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
>
>

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


----------------------------------------

This message is intended exclusively for the individual(s) or entity to which 
it is addressed. It may contain information that is proprietary, privileged or 
confidential or otherwise legally exempt from disclosure. If you are not the 
named addressee, you are not authorized to read, print, retain, copy or 
disseminate this message or any part of it. If you have received this message 
in error, please notify the sender immediately by e-mail and delete all copies 
of the message.

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

Reply via email to