[IronPython] Using Wing IDE with IronPython - autocomplete for .NET objects (PI file generator)

2009-04-28 Thread Michael Foord
Hello all, I've created a modified version of the 'generate_pi.py' which generates the interface files for .NET libraries. It is attached. At the moment it generates PI files for the following assemblies / namespaces (hardwired at the bottom of the code): System System.Data

Re: [IronPython] can't inherit??

2009-04-28 Thread Curt Hagenlocher
One immediately apparent problem is that the strategy for formatting the code that initializes attributes is completely broken for Python -- you need to know how far to indent each of the lines in the code and not just the first one. On Mon, Apr 27, 2009 at 11:24 AM, Ivan Porto Carrero

Re: [IronPython] pywin32 on Iron Python?

2009-04-28 Thread Dino Viehland
The primary difference between IP and IR is just that IP is in the lucky spot of getting to push things one step further. This just reflects the reality that other teams within MS have taken a dependency on IronPython (e.g. Robotics, Intellipad, and most recently Navision - who knows what's

Re: [IronPython] pywin32 on Iron Python?

2009-04-28 Thread Dave Fugate
Hi Jeff, we really do appreciate the work you did on ctypes. Unfortunately, we would indeed not be able to (currently) take the contribution or even look at it due to legal concerns. I realize it's fairly frustrating not being able to contribute back to IronPython and being limited to filing

[IronPython] Telling .NET classes from Python objects

2009-04-28 Thread Michael Foord
Hello guys, I'm continuing my work on generating pi files for the Wing IDE. Actually everything I encounter will be a .NET type, but in general what is the best way of telling if an object is a .NET type or a Python type? Obviously for the primitives it is a moot point - but I'm talking

Re: [IronPython] Telling .NET classes from Python objects

2009-04-28 Thread Ivan Porto Carrero
+1 for this question only I need it to implement different binding strategies in IronMVC. IronRuby in Action (http://manning.com/carrero) Winston Churchillhttp://www.brainyquote.com/quotes/authors/w/winston_churchill.html - The best argument against democracy is a five-minute conversation with

Re: [IronPython] Telling .NET classes from Python objects

2009-04-28 Thread Dino Viehland
Check to see if the object implements IPythonObject. From: users-boun...@lists.ironpython.com [mailto:users-boun...@lists.ironpython.com] On Behalf Of Ivan Porto Carrero Sent: Tuesday, April 28, 2009 10:38 AM To: Discussion of IronPython; ironruby-core Subject: Re: [IronPython] Telling .NET

Re: [IronPython] pywin32 on Iron Python?

2009-04-28 Thread Jeff Hardy
On Tue, Apr 28, 2009 at 9:53 AM, Dino Viehland di...@microsoft.com wrote: The primary difference between IP and IR is just that IP is in the lucky spot of getting to push things one step further.  This just reflects the reality that other teams within MS have taken a dependency on IronPython

Re: [IronPython] pywin32 on Iron Python?

2009-04-28 Thread Jeff Hardy
Hi Dave, On Tue, Apr 28, 2009 at 10:37 AM, Dave Fugate dfug...@microsoft.com wrote: That said, there is something extremely useful the community can do for IronPython that our team simply cannot:  get 3rd party Python applications such as Django, pywin32, NumPy, etc running under IronPython.