[IronPython] IronPython & Python 2.5

2006-08-28 Thread Kevin Bjorke
I've been using libs from CPython 2.4.2 -- anything I should beware before moving to the new CPython 2.5 libs? Thanks kb --- This email message is for the sole use of the intended recipient(s) and may contain confiden

Re: [IronPython] Working Beta7 WinForms Code fails under RC1

2006-07-27 Thread Kevin Bjorke
property being accessed with "self" argument. Could you try accessing the property as Control.DefaultFont ? Thanks Martin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Bjorke Sent: Wednesday, July 26, 2006 11:21 PM To: Discussion of IronP

Re: [IronPython] Working Beta7 WinForms Code fails under RC1

2006-07-27 Thread Kevin Bjorke
ay[element_type](anything_enumerable) Does this work? Martin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Bjorke Sent: Wednesday, July 26, 2006 10:55 PM To: Discussion of IronPython Subject: [IronPython] Working Beta7 WinForms Code fails under RC1 I have these

[IronPython] Working Beta7 WinForms Code fails under RC1

2006-07-27 Thread Kevin Bjorke
I have these two lines which worked well under Beta7: cb = Drawing2D.ColorBlend() cb.Colors = [c,hilight,c,c] Now I get an error saying "expecting list got array" ?? --- This email message is for the sole use of t

[IronPython] Quick questions about connecting to other CLR languages

2006-07-05 Thread Kevin Bjorke
I'm writing in IP and trying to connect to code written in C# by other people if they have a function wanting a typeof(something) argument, how can I pass that from IP? if they have a templated function blah() how will that appear in IP? as multiple functions, or...? thanks KB -

Re: [IronPython] Python Module Scopes versus WinForms Event Handlers

2006-07-02 Thread Kevin Bjorke
l good, won't write about this issue any more ^_^;; Kb (*sometimes* missing rigid typing, heh) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Bjorke Sent: Thursday, June 29, 2006 4:52 PM To: Discussion of IronPython Subject: [IronPython] Python

Re: [IronPython] .NET Attribute None

2006-06-30 Thread Kevin Bjorke
Beat me to it by 3 or 4 seconds, got you email while reaching for "send" ha :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dino Viehland Sent: Friday, June 30, 2006 9:49 AM To: Discussion of IronPython Subject: Re: [IronPython] .NET Attribute None Yo

[IronPython] Python Module Scopes versus WinForms Event Handlers

2006-06-29 Thread Kevin Bjorke
A typical idiom for a global value is to define it in some imported module, e.g. # config.py gVal = 3 And then all the other modules can import config And get/set the value by accessing "config.gVal" Unfortunately, this gets broken when using WinForms! It seems that in methods cal

Re: [IronPython] How to get System.Single[]?

2006-06-22 Thread Kevin Bjorke
---Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Bjorke Sent: Thursday, June 22, 2006 5:16 AM To: Discussion of IronPython Subject: Re: [IronPython] How to get System.Single[]? Yes, that's it, a=System.Array.CreateInstance(System.S

Re: [IronPython] How to get System.Single[]?

2006-06-22 Thread Kevin Bjorke
ne 22, 2006 3:28 AM To: Discussion of IronPython Subject: Re: [IronPython] How to get System.Single[]? Kevin Bjorke wrote: > I need to create a list of Singles to use > System.Drawing.Darwing2D.ColorBlend's Position member. Color me > ignorant, but how can I create such a thing? I can

[IronPython] How to get System.Single[]?

2006-06-22 Thread Kevin Bjorke
I need to create a list of Singles to use System.Drawing.Darwing2D.ColorBlend's Position member. Color me ignorant, but how can I create such a thing? I can't just pass a list of floats --- This email message is for the

Re: [IronPython] IronPython versus Tkinter...

2006-06-05 Thread Kevin Bjorke
n use a C# class to wrap the win32 calls and import that, seems like it could work. If all else fails you could use CPython - it's just a bit slower :) - Kurt > -Original Message- > From: [EMAIL PROTECTED] [mailto:users- > [EMAIL PROTECTED] On Behalf Of Kevin Bjorke >

Re: [IronPython] IronPython versus Tkinter...

2006-06-04 Thread Kevin Bjorke
Sent: Sunday, June 04, 2006 1:01 PM To: Discussion of IronPython Subject: Re: [IronPython] IronPython versus Tkinter... Kevin Bjorke wrote: > > Any clues on running this under Beta7, or is it currently non-functional? > > I want to be able to run a GUI under both IronPython and Cpython

Re: [IronPython] IronPython & Windows Forms

2006-06-04 Thread Kevin Bjorke
There are only .png files in this dir, no html? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Foord Sent: Sunday, June 04, 2006 2:55 PM To: Discussion of IronPython Subject: Re: [IronPython] IronPython & Windows Forms Sanghyeon Seo wrote: > 200

[IronPython] IronPython versus Tkinter...

2006-06-04 Thread Kevin Bjorke
Title: IronPython versus Tkinter... Any clues on running this under Beta7, or is it currently non-functional? I want to be able to run a GUI under both IronPython and Cpython since my app's intent targets two different kinds of host machine. Current behavior: I have a Tkinter app called

Re: [IronPython] who is using ironpython in projects ?

2006-04-21 Thread Kevin Bjorke
We are: http://developer.nvidia.com/object/fx-composer2-pipeline-gdc-2006.html From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ? ?Sent: Friday, April 21, 2006 12:15 AMTo: users@lists.ironpython.comSubject: [IronPython] who is using ironpython in projects ? in python's web si

[IronPython] Embedded - how to deal with the broad lack of __doc__ strings?

2006-03-08 Thread Kevin Bjorke
...any prefered clean way (other than tr:except every time I look for a __doc__ string) or alternative source of __doc__-like info when accessing .NET assemblies? Thanks (especially if there's a super-obvious answer) KB NVIDIA ___ users mailing list user