Hi List
import clr
clr.AddReference('System.Windows.Forms')
from System.Windows.Forms import TabControl
t = TabControl()
t.MouseDown == t.MouseDown
False
t.MouseDown is t.MouseDown
False
This behaviour makes it extremely
On Thu, Apr 30, 2009 at 4:02 AM, William Reade
will...@resolversystems.com wrote:
Is this an IronPython bug, or have I got a broken mental model of what
should be happening?
CLR events are not objects but endpoints, so you can't really do
objectey things with them.
This behaviour makes it
Hello all,
The following seems to crash the IronPython 2.0.1 interpreter:
from System import Action
Action(lambda: foo)
Obviously it's invalid - but it kills the interpreter rather than
raising an exception.
I'm doing some introspection and I'd like to work out the return types
of
On Thu, Apr 30, 2009 at 6:09 AM, Michael Foord
fuzzy...@voidspace.org.uk wrote:
The following seems to crash the IronPython 2.0.1 interpreter:
from System import Action
Action(lambda: foo)
Obviously it's invalid - but it kills the interpreter rather than raising an
exception.
It's been
Curt Hagenlocher wrote:
On Thu, Apr 30, 2009 at 6:09 AM, Michael Foord
fuzzy...@voidspace.org.uk wrote:
The following seems to crash the IronPython 2.0.1 interpreter:
from System import Action
Action(lambda: foo)
Obviously it's invalid - but it kills the interpreter rather
Hello all,
Another update to the PI file generator for .NET objects.
This one adds return type annotations for methods. It means that if you
do something like:
from System import Guid
g = Guid.NewGuid()
Wing knowsthat g is a Guid and provides the correct auto-complete
members for it.
Does Ironpython support Silverlight 3 beta yet?
/Kristian
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
-Original Message-
From: users-boun...@lists.ironpython.com
[mailto:users-boun...@lists.ironpython.com] On Behalf Of Curt
Hagenlocher
Sent: Thursday, April 30, 2009 3:19 PM
To: Discussion of IronPython
Subject: Re: [IronPython] Crash with Action and reflection question
Another
Hello IronPython team,
Could we please have better docstrings on some of the stuff in the clr
module. Specifically:
Module docstring: module()
module(dict dictionary)
module(module parent, dict dictionary)
module(module parent, dict dictionary, bool isVisible)
def
Hello, everyone!
I am working on an service manager application that provides embedded python
support through a small set of generalized classes: PythonService,
PythonSession, and PythonClass. A client application asks the service manager
for the PythonService object and then asks the
Yes - I've opened a bug (22235 -
http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=22235).
I want to generally improve the doc strings everywhere. I've slowly
been pushing on this and my ultimate goal is to get all of the doc
strings moved into XML comments and then we can read them
You mention CreateEngine but are you also creating multiple runtimes? You're
only allowed 1 ScriptEngine of a given type per ScriptRuntime. So you should
create a new ScriptRuntime and then get the Python engine for each runtime and
then be isolated.
From: users-boun...@lists.ironpython.com
Dino Viehland wrote:
You mention CreateEngine but are you also creating multiple runtimes?
You’re only allowed 1 ScriptEngine of a given type per ScriptRuntime.
So you should create a new ScriptRuntime and then get the Python
engine for each runtime and then be isolated.
If you call
On Thu, Apr 30, 2009 at 9:08 AM, Michael Foord
fuzzy...@voidspace.org.uk wrote:
Is CreateEngine not the correct way to get isolated engines?
Yes, but it looks like ImportModule is importing into some kind of shared state.
--
Curt Hagenlocher
c...@hagenlocher.org
Is there a standardized protocol for XML docstrings?
Then what software would you use to process them?
On Thu, Apr 30, 2009 at 10:54 AM, Dino Viehland di...@microsoft.com wrote:
Yes - I've opened a bug (22235 -
http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=22235).
I want to
Dino Viehland wrote:
Yes - I've opened a bug (22235 -
http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=22235).
I want to generally improve the doc strings everywhere. I've slowly
been pushing on this and my ultimate goal is to get all of the doc
strings moved into XML comments and
Oh, Python.CreateEngine will give you independent engines as it'll
create a new runtime each time. I was thinking this was one of the
normal DLR hosting APIs but I guess there is no create engine there,
just GetEngine.
Stephen, do you have a small simple repro for this? If you're using
And this works for me:
using System;
using IronPython.Hosting;
using Microsoft.Scripting.Hosting;
class foo {
static void Main(string[] args)
{
var engine = Python.CreateEngine();
ScriptScope scope1 = engine.ImportModule(foo);
var
Dino Viehland wrote:
And this works for me:
I just did the equivalent, from *inside* IronPython which may make a
difference, with the 'os' module and got the opposite result:
import clr
clr.AddReference('IronPython')
from IronPython.Hosting import Python#
e1 = Python.CreateEngine()
Yes, the binaries that ship in IronPython will work in SL3 Beta just fine.
From: users-boun...@lists.ironpython.com
[mailto:users-boun...@lists.ironpython.com] On Behalf Of Kristian Jaksch
Sent: Thursday, April 30, 2009 8:01 AM
To: users@lists.ironpython.com
Subject: [IronPython] Is Silverlight
There's the format the compiler generates w/ the /doc: option - I'm not sure
how standardized it is but it's at least consistent :) When you install the
.NET framework SDK you get XML doc files for all of the .NET framework
installed into %WINDIR%\Microsoft.NET\Framework\v2.0.50727\en\... (or
Dino Viehland wrote:
There’s the format the compiler generates w/ the /doc: option – I’m
not sure how standardized it is but it’s at least consistent J When
you install the .NET framework SDK you get XML doc files for all of
the .NET framework installed into
Dino,
That example you provided produced the following output under IronPython 2.0.1:
hello
42
In other words, the two sessions appear to be sharing the same module in
IronPython 2.0.1.
Are you using a later version of IronPython where this might be fixed?
-Original Message-
From:
Ok, it's broken on 2.0.1 but not on 2.6. I've opened a 2.0.2 bug:
http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=22239
-Original Message-
From: users-boun...@lists.ironpython.com [mailto:users-
boun...@lists.ironpython.com] On Behalf Of Michael Foord
Sent: Thursday,
Based upon the feedback from the mailing list here's the 2.6 release plan and
list of new features:
http://ironpython.codeplex.com/Wiki/View.aspx?title=2.6%20Release%20Plan
Let me know if you have any questions or think there's areas we should include
more info on.
Looks like our threads crossed. Yep, I was using the current 2.6 branch.
I opened a bug to fix this in 2.0.2
(http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=22239).
Thanks for reporting this - this is a very bad bug.
-Original Message-
From:
I voted for fixing the bug. In the meantime, I will be putting on hold the use
of IronPython as an embedded language in my project until this is fixed or
IronPython 2.6 is released (if I can convince my manager and team it's a good
idea to move to python 2.6 but it will affect a lot of
If you import by executing the text import modname against the
ScriptEngine instead of using the import API, you will avoid this particular
incarnation of the bug.
On Thu, Apr 30, 2009 at 10:25 AM, Lepisto, Stephen P
stephen.p.lepi...@intel.com wrote:
I voted for fixing the bug. In the
Curt, thanks for the tip. In my tests, I needed to use from modname import
* since I needed the attributes in the module to be in the current scope.
From: users-boun...@lists.ironpython.com
[mailto:users-boun...@lists.ironpython.com] On Behalf Of Curt Hagenlocher
Sent: Thursday, April 30,
Thanks!
--- .NET newb
On Thu, Apr 30, 2009 at 11:37 AM, Dino Viehland di...@microsoft.com wrote:
There’s the format the compiler generates w/ the /doc: option – I’m not
sure how standardized it is but it’s at least consistent J When you
install the .NET framework SDK you get XML doc files
Dino Viehland wrote:
Based upon the feedback from the mailing list here’s the 2.6 release
plan and list of new features:
http://ironpython.codeplex.com/Wiki/View.aspx?title=2.6%20Release%20Plan
Let me know if you have any questions or think there’s areas we should
include more info on.
Both of those are just oversights - thanks for the
reminder. I do have an implementation of _getframe I've
just held off on checking it in while I try and figure
out if I can make it faster someway.
Harry had been playing with around implementing a csv module.
If he manages to get it all done
Dino Viehland wrote:
Both of those are just oversights - thanks for the
reminder. I do have an implementation of _getframe I've
just held off on checking it in while I try and figure
out if I can make it faster someway.
Harry had been playing with around implementing a csv module.
If he
Michael Foord wrote:
Dino Viehland wrote:
Both of those are just oversights - thanks for the
reminder. I do have an implementation of _getframe I've
just held off on checking it in while I try and figure
out if I can make it faster someway.
Harry had been playing with around implementing a
Sigh, I've been putting it off trying to get all the goodies into 2.6.
Now would be a good time to ask what people would like to see fixed.
And if I had to take a guess I'd say it'd be a little bit after
2.6B1 but I should discuss it with the team :)
-Original Message-
From:
Michael just brought this up on another thread but I thought I'd make it
obvious.
Let us know what bugs you particularly want to see fixed in 2.0.2. Nominate
them here and we'll collect the list and try to fix as many as possible.
___
Users mailing
Davy,
Thanks.IronTextBox is just what I needed. It needed some minor
changes to get running on latest IronPython version but so far looking
good.
On Wed, Apr 29, 2009 at 2:44 PM, Michael Foord
fuzzy...@voidspace.org.uk wrote:
There is also IronTextBox which is an IronPython console in a
Dino Viehland wrote:
Michael just brought this up on another thread but I thought I’d make
it obvious.
Let us know what bugs you particularly want to see fixed in 2.0.2.
Nominate them here and we’ll collect the list and try to fix as many
as possible.
Below are the ones I'm aware of that
On Thu, Apr 30, 2009 at 12:43 AM, Jimmie Houchin jlhouc...@gmail.com wrote:
This sounds great. I am new to both IronPython, WingIDE and Windows
development in general.
Interesting to see how much developers want autocomplete! I tried to
start adding this to DIE tonight but was struggling with
39 matches
Mail list logo