[IronPython] ANN: Amplee 0.3.2

2006-11-08 Thread Sylvain Hellegouarch
Hi all, I'm happy to introduce the release of Amplee 0.3.2, a Python implementation of the Atom Publishing Protocol. This release is a bug fixes but with a few new features as well: * Support of the Amazon S3 service as a storage * Support for the Hachoir library which should offer more format s

Re: [IronPython] COM Question

2006-11-08 Thread Alex Henderson
And incidentally, if that is the problem... I think you can to use Marshal to change its type... let me know if this would work for you: from System.Runtime.InteropServices import Marshal package = Marshal.CreateWrapperOfType(model, EA.PackageClass) print package.Name In my case (I just happen to

Re: [IronPython] COM Question

2006-11-08 Thread Alex Henderson
So is your problem that the instance returned by the repository for your Model is just an uninitalized COM object i.e., if you went: model = m_Repository.Models.GetAt(0) help(model) Do you end up seeing something like: Help on __ComObject in module System in mscorlib, Version=2.0.0.0, Culture=ne

Re: [IronPython] [ ] -> System.Array

2006-11-08 Thread Martin Maly
This could be what you are looking for: >>> import System >>> System.Array[int]([1,2,3]) System.Int32[](1, 2, 3) >>> System.Array[str](["Hello", "World"]) System.String[]('Hello', 'World') >>> From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Mujtaba

[IronPython] COM Question

2006-11-08 Thread Nenad
Hello everybody, I'm using IronPython to automate Enterprise Architect (an UML Tool) via COM. I've translated the VB.Net code from their examples to Python, in order to get hold of some objects (diagrams and elements in diagrams etc.). from System import Console, Object import clr clr.AddReferen

[IronPython] socket._fileobject

2006-11-08 Thread Christopher Baus
I'm getting closer to having a usable web development stack based on IronPython. The biggest issue I have right now is that the socket._fileobject interface isn't implemented either by the builtin socket class or FePy's. I don't think it is even supposed to be a public interface, but it is used u

[IronPython] embedded debugging

2006-11-08 Thread Paul Moore
I have an app that embedds IP runtime. I can set break points in the IP code but the debugger does not show any variables. The only variable is $line. All I can do is step through the code.   I have set the debuggable option on the engine   It is using CompiledCode _

[IronPython] [ ] -> System.Array

2006-11-08 Thread Mujtaba Syed
How can I convert a IronPython list ([ ]) into a CLR array (System.Array)? Thanks, Mujtaba ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

[IronPython] [ ] -> System.Array

2006-11-08 Thread Mujtaba Syed
How can I convert a IronPython list ([ ]) into a CLR array (System.Array)? Thanks, Mujtaba ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Re: [IronPython] Singles not comparing properly

2006-11-08 Thread Mujtaba Syed
Also note that: >>> 5.0 <= s <= 500.0 True >>> 5.0 <= d <= 500.0 True -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christian Muirhead Sent: Friday, November 03, 2006 3:25 AM To: users@lists.ironpython.com Subject: [IronPython] Singles not comparing pr

[IronPython] [] <-> System.Array

2006-11-08 Thread Mujtaba Syed
How can one program System.Array in IronPython?   mujtaba syed | software development engineer virtual earth microsoft corporation [EMAIL PROTECTED] (425) 706-8340   ___ users mailing list users@lists.ironpython.com http://lists.ironp

[IronPython] [ ] -> System.Array

2006-11-08 Thread Mujtaba Syed
How can I convert a IronPython list ([ ]) into a CLR array (System.Array)? Thanks, Mujtaba ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

[IronPython] Problem with IP & Eclipse & PyDev

2006-11-08 Thread komes
I installed pydev 1.2.5 on eclipse 3.2.1. Code completion worked greatly. Later, I added ironpython as an interpreter (with set ironpythonpath and without any problems). Unfortunately, I can't display code completion. Eclipse logs show, that ironpython can't find builtin module 'parser'. I tried t