Re: [IronPython] License change?

2010-04-20 Thread Seo Sanghyeon
2010/4/20 Dino Viehland : > We’d like to hear your feedback before we make any decisions.  Do you think > adopting a more popular license, such as the Apache License, would be a good > change for IronPython? IANAL, but since MS-PL and Apache License are pretty similar, my main interest is GPL comp

Re: [IronPython] License change?

2010-04-20 Thread Rory Plaire
What about using a dual-license (MS-PL _and_ Apache 2.0)? This approach has become fairly popular, and will likely satisfy each consideration. -rory On Tue, Apr 20, 2010 at 5:14 AM, Antonio Piteira < antonio.pite...@wtvision.com> wrote: > I just read the document about Microsoft Public License a

Re: [IronPython] Bad performance calling .NET method

2010-04-20 Thread Laurion Burchall
In the case that affects me the code isn't global. The class looks like this: class EseDBCursor(object): ... def __getitem__(self, key): with _EseTransaction(self._sesid): self._seekForKey(key) return self._retrieveCurrentRecordValue() def _makeKey(sel

Re: [IronPython] IronPython Tools for Visual Studio 2010

2010-04-20 Thread Dino Viehland
Ted wrote: > Looking forward to this release. > > Will the pycon version install with VS 2010 final? I suppose I can > try. I haven't tried myself but I've heard that it doesn't work. ___ Users mailing list Users@lists.ironpython.com http://lists.ir

Re: [IronPython] IronPython Tools for Visual Studio 2010

2010-04-20 Thread Cronin, Ted
Looking forward to this release. Will the pycon version install with VS 2010 final? I suppose I can try. Ted Cronin ACR ValueGIS (951) 955 - 0487 -Original Message- From: users-boun...@lists.ironpython.com [mailto:users-boun...@lists.ironpython.com] On Behalf Of Bill Chiles Sent: Tues

Re: [IronPython] Bad performance calling .NET method

2010-04-20 Thread Dino Viehland
Is the perf problem only there when the code is global? In general we don't try to optimize code which occurs at the top-level of a script - we assume the most significant work will occur inside of function definitions. In this case the update to "i" through each loop iteration needs to update

Re: [IronPython] Bad performance calling .NET method

2010-04-20 Thread Laurion Burchall
You were right about the structs. By creating a method with the same type of signature (struct, struct, string, Encoding, enumeration). I got the same slowdown in a trivial DLL. This is with the .NET 2.0 version of IP: ** First, the C# code: namespace IronPythonInteropPerf { using System.Te

Re: [IronPython] Bad performance calling .NET method

2010-04-20 Thread Dino Viehland
I assume something is going horribly wrong with our type checks. Can you attach the repro? Or at least are these just classes, or are any structs, or maybe weird classes like delegates? And is this on .NET 2.0 or .NET 4.0? From: users-boun...@lists.ironpython.com [mailto:users-boun...@lists

Re: [IronPython] IronPython Tools for Visual Studio 2010

2010-04-20 Thread Bill Chiles
We're working on widely releasing updated bits very soon, and we'll post here when that goes out. We're still working on some issues preventing us from just putting the code into the IPy sources, so there will be at least one more bits-only update. The previous version was released only at pyc

[IronPython] IronPython Tools for Visual Studio 2010

2010-04-20 Thread Magnus Ottosson
Hi, Where can I get the IronPython Tools for Visual Studio 2010? Magnus ___ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Re: [IronPython] Office add-in with IronPython?

2010-04-20 Thread Mats
I'd like to be able, among other things, to attach a custom form to a client record in Outlook that pulls data from a database and I like to do it in my favorite language - Python. I know you can do this with win32 as Spambayes proves, is it also possible for IronPython without having to code in C

Re: [IronPython] License change?

2010-04-20 Thread Antonio Piteira
I just read the document about Microsoft Public License and I think it is pretty clear...! Obviously everybody knows that there is a license, so it doesn't matter if it is Apache or Microsoft just because of the name. Just read the agreement and decide if fits your needs. I don't see any problem

[IronPython] Bad performance calling .NET method

2010-04-20 Thread Laurion Burchall
I am getting terrible performance invoking a C# method from IP. I have a static class called Api with this method: public static void MakeKey(JET_SESID sesid, JET_TABLEID tableid, string data, Encoding encoding, MakeKeyGrbit grbit) When I call it directly from C# I get about 3M calls/second.

Re: [IronPython] Office add-in with IronPython?

2010-04-20 Thread Jimmy Schementi
Mats, The way to write a Office add-in is to create one in a static .NET language, like C#, and then use the DLR hosting APIs to run Python code, which would also involve exposing whatever Office APIs to script code. I believe VS Pro and above support creating new Office add-in projects, so get

Re: [IronPython] Office add-in with IronPython?

2010-04-20 Thread Saveen Reddy
I once wrote an Office Add-In for Visio 2007 that hosted IronPython. Can you provide some context around the kind of add-in are you thinking about creating and how do see it making use of IronPython? Thanks, -Saveen From: users-boun...@lists.ironpython.c