Re: [IronPython] IPy Post 2.0 Roadmap Clarifications

2008-07-31 Thread Michael Foord
That's a great entry - good news! Michael Harry Pierson wrote: I posted an update to the roadmap on my blog to address two questions that came up in my comments section. http://devhawk.net/2008/07/30/IPy+Post+20+Roadmap+Clarifications.aspx. We discussed Michael Foord’s question "will you a

[IronPython] IronPython Code Coverage - any options?

2008-07-31 Thread Carl Trachte
Hello, I just did a Google search and found Michael Foord's blog post on coverage tools, among other things test related: http://www.voidspace.org.uk/python/weblog/arch_d7_2006_06_17.shtml Has anything else come up since then? Does (if I can ask) Resolver use a code coverage tool? I'm just gett

Re: [IronPython] Using a c library as a dll or assembly

2008-07-31 Thread Curt Hagenlocher
It wouldn't be sufficient to recompile with /clr. When you do that, your classes don't automatically become managed classes. You would still need to either modify your classes or to create wrappers using C++/CLI ( http://en.wikipedia.org/wiki/C%2B%2B/CLI). In order for a C++ class to be visible

[IronPython] IPy Post 2.0 Roadmap Clarifications

2008-07-31 Thread Harry Pierson
I posted an update to the roadmap on my blog to address two questions that came up in my comments section. http://devhawk.net/2008/07/30/IPy+Post+20+Roadmap+Clarifications.aspx. We discussed Michael Foord's question "will you actively maintain IronPython 2 and IronPython 3 in parallel?" here on

Re: [IronPython] Using a c library as a dll or assembly

2008-07-31 Thread Srivatsn Narayanan
Did you add a reference to the dll before importing it - like this: import clr clr.AddReference("myclib.dll") From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anders Elfgren Sent: Thursday, July 31, 2008 9:22 AM To: users@lists.ironpython.com Subject: [IronPython] Using a c library

[IronPython] Using a c library as a dll or assembly

2008-07-31 Thread Anders Elfgren
Hi, First let me say that I'm new to Iron Python, but at least I've read this in the FAQ.. :) Q: How do I build and call into PYD libraries? A: IronPython does not support using PYDs built for CPython since they leverage implementation details of CPython. You can get a similar effect for new

Re: [IronPython] pyEngine.Execute

2008-07-31 Thread Seshadri Pillailokam Vijayaraghavan
See if the information in this post helps - http://blogs.msdn.com/seshadripv/archive/2008/07/28/various-ways-to-execute-script-using-the-dlr-hosting-api.aspx -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Huzaifa Sent: Wednesday, July 30, 2008 10:51 PM T

Re: [IronPython] how to convert this code in py 2.0

2008-07-31 Thread Dino Viehland
Or RuntimeHelpers.GetDynamicStackFrames to get the line number information for exceptions that occur at runtime. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dody Gunawinata Sent: Thursday, July 31, 2008 3:12 AM To: Discussion of IronPython Subject: Re: [IronPython] how to conve

Re: [IronPython] how to convert this code in py 2.0

2008-07-31 Thread Dody Gunawinata
You can get those information via SyntaxErrorException On Thu, Jul 31, 2008 at 9:58 AM, Huzaifa <[EMAIL PROTECTED]> wrote: > > Ops.ExtractException (ex, _pythonengine.Sys); >TraceBack tb = _pythonengine.Sys.exc_traceback as TraceBack; >if (tb != null) { > ex.Data["LineNum

Re: [IronPython] loading an image in silverlight, in xaml, from the .xap

2008-07-31 Thread Jimmy Schementi
Dan, http://silverlight.net/forums/p/17003/76203.aspx#76203 You're definitely not doing anything wrong. Here's a repro of your issue: http://jimmy.schementi.com/silverlight/xaml-image-bug/ The crazy thing is this only repros in Firefox3, and is perfectly fine in IE8! Even crazier, I just made