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 fuzzy...@voidspace.org.ukwrote 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

[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

[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 stdin, line 1, in module 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

[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

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 c...@hagenlocher.org 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

[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] sys._getframe(n)?

2009-04-29 Thread Mike Krell
On Wed, Apr 29, 2009 at 8:34 AM, Dino Viehland di...@microsoft.com 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,

[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] 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] 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,