Re: [IronPython] Final release packaging

2006-08-28 Thread J. de Hooge
Title: Bericht Although other options of course are welcome, I personally favor the zero-impact installation. It gives me insight and precise control.   By the way I think RC2 is quite good. Before my holicays I tried RC1 and many things fall over in my apps. I anticipated to have a lot to

[IronPython] Dict iteration inconsistency?

2006-05-19 Thread J. de Hooge
LS Following code fragments seem to behave inconsistently [START OF CODE] # --- Fragment 1 # # Accepted by CPython # # Accepted by IronPython1.0 B6 dictionary = dict (zip (range (10), range (0, 100, 10))) print dictionary for key in dictionary.keys (): dictionary [key] = 1

[IronPython] serialization

2006-05-07 Thread J. de Hooge
Hi all,   Upto beta 4, I’ve been using a home-patched version of Cpython 2.4 ‘s pickle.py to serialize objects. It stopped working for beta 5 (and using a patched version isn’t what I want in the end)   Can anyone tell me what’s currently the best option for pickling (or generally seri

[IronPython] Fallen over: from sys import *

2006-03-01 Thread J. de Hooge
Hi,   IP team, thanks for the new version! I’ve just started trying out my code on it.   Seems that the following detail doesn’t work anymore in Beta 3, used to work upto Beta 2     from sys import *     The following is reported:     Traceback (most recent call last):   File

Re: [IronPython] Exception.StackTrace gone?

2006-02-09 Thread J. de Hooge
Works like a charm. Thanks! Jacques -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Jonathan Jacobs Verzonden: Thursday, February 09, 2006 1:19 PM Aan: Discussion of IronPython Onderwerp: Re: [IronPython] Exception.StackTrace gone? J. de Hooge wrote

[IronPython] Exception.StackTrace gone?

2006-02-09 Thread J. de Hooge
Hi   In IP 0.95 I used to be able to print the stacktrace of an exception as follows:   . . . . . . except Exception, exception:    . . . print str (exception)    print exception.StackTrace    . . . . . . . . .   This fails in IP 1.0 Beta 2. Does anyone know why i

Re: [IronPython] Question (Novice) on using Microsoft Excel viaIronPython

2006-02-08 Thread J. de Hooge
Sorry, I forgot where I found this, but maybe it helps…  # this example starts Excel, creates a new workbook, # puts some text in the first and second cell# closes the workbook without saving the changes# and closes Excel.  This happens really fast, so# you may want to comment out some li

Re: [IronPython] IP 1.0 Beta 2 float to int conversion

2006-01-27 Thread J. de Hooge
e).   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of J. de Hooge Sent: Thursday, January 26, 2006 8:10 AM To: users@lists.ironpython.com Subject: [IronPython] IP 1.0 Beta 2 float to int conversion   Hi,     Thanks for the new release and all the work invested! I’ve jus

[IronPython] IP 1.0 Beta 2 float to int conversion

2006-01-26 Thread J. de Hooge
Hi,     Thanks for the new release and all the work invested! I’ve just stepped up from IP 0.9.5 to IP 1.0 Beta 2, and I noticed the following:       In 0.9.5 the following runs fine, where self.widget is a Forms.SplitContainer (type: Int32 property) and the r.h.s. is a float, e.g.

Re: [IronPython] (no subject)

2006-01-17 Thread J. de Hooge
ono currently can and can't do. In the future you might want to look into GTK# for cross platform development. Good Luck, Tim Riley On 1/17/06, J. de Hooge < [EMAIL PROTECTED]> wrote: Hi,   I've written quite some code in IP using Forms (from .NET 2.0)  on Windows, but I ma

[IronPython] (no subject)

2006-01-17 Thread J. de Hooge
Hi,   I’ve written quite some code in IP using Forms (from .NET 2.0)  on Windows, but I may have to port that to Linux for a customer. Currently I don’t have a Linux machine at my disposal. Does anyone have experience with System.Windows.Forms under Mono? Is it compatible with Forms 2.

Re: [IronPython] DataGridView

2005-12-23 Thread J. de Hooge
Jeff,   I would not know any examples of using the DataGridView in Python. But I did use many other view classes in  IronPython, since I’ve been working on a GUI framework in IP. What I used as doc was: .NET SDK 2.0 documentation and Python 2.4 Manuals.   For me that worked fine. The

[IronPython] bug: list.index broken in transition from ip 0.9.5 to ip 0.9.6

2005-12-12 Thread J. de Hooge
LS Yet another disguise of probably the same underlying bug: aList = [['a']] anItem = ['a'] print aList.index (anItem) Traceback (most recent call last): at __main__.Initialize() in C:\activ_dell\prog\fun\src\funTry.py:line 4 ValueError: list.index(x): x not in list The number of workarou

[IronPython] bug: list.remove broken in transition from 0.9.5 to 0.9.6

2005-12-12 Thread J. de Hooge
LS Following fragment: === aList = [['a']] anItem = ['a'] print aList aList.remove (anItem) print aList Prints in IP 0.9.6 == [['a']] Traceback (most recent call last): at __main__.Initialize() in C:\activ_dell\prog\fun\src\funTry.py:line 5 ValueError: list

[IronPython] in - operator got broken in transition from 0.9.5 to 0.9.6

2005-12-12 Thread J. de Hooge
LS   Following code: ===     aList = [['a']] anItem = ['a']   print '1', anItem in aList   for item in aList:   if item == anItem:     print '2', True     break else:   print '2', False       In IP 0.9.6 prints: ===  

Re: [IronPython] IronPython 0.9.6 released

2005-12-12 Thread J. de Hooge
Clearing the LIB environment variable solves my compilaton problem for IP 0.9.6 Still don't understand why that is not needed for IP 0.9.5 But allas, I can now built 0.9.6 with [STAThread] and start using it. Joepie! (Dutch exclamation of joy) Jacques de Hooge [EMAIL PROTECTED] -Oorspronkelij

Re: [IronPython] IronPython 0.9.6 released

2005-12-12 Thread J. de Hooge
sing VS2k5. - Keith J. Farmer // [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of J. de Hooge Sent: Monday, 12 December 2005 01:29 [QUOTE] After installing the SDK, open the .NET Framework SDK command prompt, go to the IronPython directory a

Re: [IronPython] IronPython 0.9.6 released

2005-12-12 Thread J. de Hooge
LS, I can not submit bugs for IP anymore. This used to work fine, but now I get stranded on the following page: [QUOTE] GotDotNet If you see this page, it is because you have completed an action that threw an error in the GotDotNet system. We apologize for the inconvenience, and ask you to help

Re: [IronPython] IronPython 0.9.6 released

2005-12-12 Thread J. de Hooge
Hi, Thanks for the new version of IP. I'd like to start using it as soon as possible, since error reporting is said to be improved on this version and that will probably speed up my work. I've installed IP 0.9.6 and attempted to run my apps with it, but I ran into the following problems: Proble

Re: [IronPython] Debugging

2005-12-05 Thread J. de Hooge
Martin,   Thanks for your reaction. My problems with error reports seem to go beyond what you mention. A brief example of what I mean is below:   lotsOfCodeAndImports_dummy = 'allKindsOfInterestingCodeThatMayStillContainBugsIncludingImportsOfModulesThatMayAlsoStillContainBugs'   n

[IronPython] Debugging

2005-12-02 Thread J. de Hooge
LS   I have a question about debugging IP code. One of the nice and handy things about Python in general is that I can use a very simple and straigth way of debugging in many cases. When I run a script that is not bugfree, Cpython often tells me quite effectively what is wrong and where

Re: [IronPython] Problem: AllowDrop = True --> DragDropregistrationfailed

2005-11-18 Thread J. de Hooge
ain() method. I’m not sure how attributes are supported in IP (I’ve run into this problem in my Ruby bridge – and have a non-ideal solution to it as well).   HTH, -John http://www.iunknown.com     From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of J. de Hooge Sent: Thursday, Novem

Re: [IronPython] Problem: AllowDrop = True --> DragDrop registration failed

2005-11-18 Thread J. de Hooge
ROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of J. de Hooge Sent: Thursday, November 17, 2005 6:00 PM To: users@lists.ironpython.com Subject: [IronPython] Problem: AllowDrop = True --> DragDrop registration failed Hi,   In the past months I've been coding quite extensively using prev

[IronPython] Problem: AllowDrop = True --> DragDrop registration failed

2005-11-17 Thread J. de Hooge
Title: Bericht Hi,   In the past months I've been coding quite extensively using previous versions of IronPython (upto 0.9.3) and the .NET 2.0 framework beta. One of the things I've been using a lot is drag&drop.   Recently I've downloaded IP 0.9.5 and the "final" .NET 2.0 distribution. Sett

Re: [IronPython] IronPython 0.9.3 released

2005-10-14 Thread J. de Hooge
0.9.3 is a big improvement. The closures really make my code a lot more compact and readable. I am impressed by the speed of progress on IronPython.   After a few months of development using the combination of IronPython and WinForms I’ve grown addicted. Has been a long time since pro