[IronPython] IPy is a gift from god

2009-07-27 Thread Count László de Almásy
lol. feeling thankful at the moment. having recently been forced to work on a project where the only interface is .NET assemblies, there was no getting around having to use .NET. during the past couple weeks i've learned enough C# to understand the library when i need to, and also realize *WOW*

[IronPython] pdb with IronPython 2.6 beta 2

2009-07-27 Thread Michael Foord
Hello all, I've been trying to use the pdb module with IronPython 2.6beta2 and the interactive interpreter (with the -X:FullFrames command line option). I've only used pdb with the set_trace function, but I couldn't get *any* of it to work in my brief exploration. I've posted my interactive

Re: [IronPython] help in IronPython 2.6

2009-07-27 Thread Dino Viehland
Thanks Michael! -Original Message- From: users-boun...@lists.ironpython.com [mailto:users- boun...@lists.ironpython.com] On Behalf Of Michael Foord Sent: Sunday, July 26, 2009 2:13 PM To: Discussion of IronPython Subject: Re: [IronPython] help in IronPython 2.6 Michael Foord

Re: [IronPython] pdb with IronPython 2.6 beta 2

2009-07-27 Thread Dino Viehland
This is what we've tested so far :) import pdb def f(): ... print 'hi' ... print 'goodbye' ... pdb.runcall(f) stdin(2)f() (Pdb) s hi stdin(3)f() (Pdb) s goodbye --Return-- stdin(3)f()-None (Pdb) s pdb.runcall(f) stdin(2)f() (Pdb) ? Unfortunately there don't seem to be pdb tests

Re: [IronPython] pdb with IronPython 2.6 beta 2

2009-07-27 Thread Michael Foord
Issue 23650 http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=23650 Michael Foord Dino Viehland wrote: This is what we've tested so far :) import pdb def f(): ... print 'hi' ... print 'goodbye' ... pdb.runcall(f) stdin(2)f() (Pdb) s hi

[IronPython] IronPython 2.6 CodePlex Source Update

2009-07-27 Thread merllab
This is an automated email letting you know that sources have recently been pushed out. You can download these newer sources directly from http://ironpython.codeplex.com/SourceControl/changeset/view/57254. ADDED SOURCES

Re: [IronPython] object lifecycle issues

2009-07-27 Thread Dino Viehland
Both the __init__ and __del__ issues are now fixed and pushed to CodePlex. -Original Message- From: users-boun...@lists.ironpython.com [mailto:users- boun...@lists.ironpython.com] On Behalf Of William Reade Sent: Tuesday, July 21, 2009 5:31 AM To: Discussion of IronPython Subject:

Re: [IronPython] IronPython ctypes on Linux

2009-07-27 Thread Slide
#include dlfcn.h void *dlopen(const char *filename, int flag); char *dlerror(void); void *dlsym(void *handle, const char *symbol); int dlclose(void *handle); Not quite the same as LoadLibrary. On Mon, Jul 27, 2009 at 3:13 PM, Dino Viehlanddi...@microsoft.com wrote: If we just aliased

Re: [IronPython] IronPython ctypes on Linux

2009-07-27 Thread Dino Viehland
Is there one library name to rule them all on Linux, Mac OS/X, FreeBSD, etc? (either common on all the OSes or something coming from a Mono mapping?) -Original Message- From: users-boun...@lists.ironpython.com [mailto:users- boun...@lists.ironpython.com] On Behalf Of Slide Sent:

Re: [IronPython] sympy on IP 2.6B2

2009-07-27 Thread Dino Viehland
Jeffrey wrote: 1. Performance The bulk of this problem comes from basic.py line 804 where a closure function is called w/ keyword argument. Passing the argument as a positional argument causes us to be 6-7x slower instead of 50x. This is probably a small perf gain on CPython as well so it's