Re: [IronPython] IPython is breathing but there's a compile() problem

2009-06-13 Thread Mike Krell
Great! I don't build from source, but I'm looking forward to playing with this when the next beta comes out. Thanks, Mike On Fri, Jun 12, 2009 at 9:01 AM, Dino Viehland wrote: > Ok, this should now be fixed w/ the latest source push. It turned out to > be a little tricky so I wouldn’t be

Re: [IronPython] IPython is breathing but there's a compile() problem

2009-05-26 Thread Mike Krell
On Tue, May 26, 2009 at 10:50 AM, Michael Foord wrote > I wonder if it isn't in fact caused by the fact that the repr of an > IronPython syntax error doesn't change if the you add new lines to the > source code you are compiling. Yes, in this case that is the crux of the issue. Mike ___

[IronPython] IPython is breathing but there's a compile() problem

2009-05-25 Thread Mike Krell
Now that 2.6B1 has frames support, I've started playing with IronPython under IPython again. I've managed to get a command prompt up (some modules are missing, but the only crucial one is codeop, which I stole from the standard distribution). However, there's a problem with entering multiline cod

[IronPython] 2.6 Beta 1 Bug: help() requires _getframe support which is now optional

2009-05-23 Thread Mike Krell
With 2.6 beta 1 and without -X:frames: >>> help() Traceback (most recent call last): File "", line 1, in File "C:\Program Files\IronPython 2.6\Lib\site.py", line 428, in __call__ File "C:\Program Files\IronPython 2.6\Lib\pydoc.py", line 53, in C:\Program Files\IronPython 2.6\Lib\pydoc.py File "C:\

Re: [IronPython] Scripting an unmanaged app with IronPython?

2009-05-12 Thread Mike Krell
On Tue, May 12, 2009 at 7:58 AM, Curt Hagenlocher wrote: > Is there any reason you wouldn't just do this with CPython? In a past life, > I had a lot of success embedding CPython into a C++ / MFC application. Yes, in fact, I've done a limited version of my approach #2 before using boost.python. T

[IronPython] Scripting an unmanaged app with IronPython?

2009-05-12 Thread Mike Krell
I have an unmanaged app written in C++ / MFC that I'd like to script in some capacity with IronPython. I can see perhaps three broad approaches to doing this: 1. Somehow hosting IP within the app. This would be the ideal, but I don't know if it's possible. It's clear that I would need to creat

Re: [IronPython] sys._getframe(n)?

2009-04-29 Thread Mike Krell
On Wed, Apr 29, 2009 at 8:34 AM, Dino Viehland wrote: > Yep, we're going to make it available via a command line option.  The > Interesting question is what does IPython need from frames?  Does it > need locals (which frequently won't be available), globals, the function > or code, or something el

[IronPython] sys._getframe(n)?

2009-04-29 Thread Mike Krell
Is it true that the dev team is considering implementing sys._getframe(n) where n > 0? I'd love to see this since my understanding is that this is a stumbling block for running IronPython under IPython. Is there an issue number on CodePlex on this that I can vote for? Thanks, Mike

Re: [IronPython] Full forms editor with VS Express?

2007-01-12 Thread Mike Krell
On 1/12/07, Michael Foord <[EMAIL PROTECTED]> wrote: > > [How] much work does the IPy subclass take on? How much of the dialog event > > handlers is handled in IPy? > > > None. :-) I think you meant "All." :-) > We merely do the layout in the forms editor and make the components > protected rat

Re: [IronPython] Full forms editor with VS Express?

2007-01-12 Thread Mike Krell
On 1/12/07, Michael Foord <[EMAIL PROTECTED]> wrote: > At Resolver we have the full version of Visual Studio, but we still use > the forms editor to create C# code. > > We use it just to create the GUI layer (mainly for our dialogs), making > sure that all the attributes are set to protected. Then

[IronPython] Full forms editor with VS Express?

2007-01-12 Thread Mike Krell
Hey all, My understanding is that it's not possible to use the full IronPython integration with VS Express. Given that, what is the best way to use the full power of the forms editor from VS express but code the forms and the rest of the app in IronPython? I don't want to use any of the (mostly

[IronPython] Full forms editor with VS Express?

2007-01-11 Thread Mike Krell
Hey all, My understanding is that it's not possible to use the full IronPython integration with VS Express. Given that, what is the best way to use the full power of the forms editor from VS express but code the forms and the rest of the app in IronPython? I don't want to use any of the (mostly

Re: [IronPython] [Python-3000] What's the point of annotations?

2007-01-03 Thread Mike Krell
> Also, now that you remind me of it, IronPython could use [annotations] for C# > overloads. FWIW, the IronPython folks are looking for a CPython-compatible syntax for specifying .net attributes. Function decorators (plus class decorators) don't cover all the use cases because so many different

Re: [IronPython] Please vote on bugs!

2006-12-06 Thread Mike Krell
I think I want to vote for issue 1042, but the server throws an error whenever I click on that particular issue. Actually, I want to vote for whatever issues whose resolution will enable IronPython to run under IPython (which will require sys._getframe(n) support). Mike

Re: [IronPython] Standard Python Debugging not supported

2006-10-05 Thread Mike Krell
On 10/5/06, Dino Viehland <[EMAIL PROTECTED]> wrote: >The hard part of this probably isn't supporting > sys._getframe() but actually supporting sys._getframe(depth). > Do you know if the parameterless version will unblock you, or do you need > the full blown functionality? One thing I'm dying to

[IronPython] IronPython + IPython?

2006-07-03 Thread Mike Krell
"You got your peanut butter on my chocolate!" "You got your chocolate in my peanut butter!" "Hey, they're two great tastes that taste great together!" What would it take to get IronPython to work well with the IPython shell? A quick google on this topic revealed this message http://www.scipy.net

Re: [IronPython] WinForms Text Missing

2005-11-27 Thread Mike Krell
I had an issue with 0.9.5 and the forms tutorial example also. The example is supposed to create a new text box on the form at every point where the mouse is clicked. It actually does this, but the text is not visible. However, if you interactively loop over the controls and change the text, fon