Re: [IronPython] CLS compliance

2006-03-01 Thread Peter Mechlenborg
Thank you for the detailed explanation. Dino Viehland wrote: > Great summary of the problem space. First, let's look at your first > Point class. One aside on the CLR: we do have the concept of value > types & reference types so int is a primitive. But the CLR also > supports boxing (and C#

Re: [IronPython] CLS compliance

2006-03-01 Thread Peter Mechlenborg
Sanghyeon Seo wrote: > 2006/3/1, Peter Mechlenborg <[EMAIL PROTECTED]>: > >>I would be very interested in information describing how to do this as >>a programmer and also how it has been implemented. Does any such >>information exist? > > > Well, you can read the complete source code of IronPyt

[IronPython] IronPython hungs when creating Excel.Application

2006-03-01 Thread Snaury
The following code hungs when creating Excel.Application, by the CPU usage I can guess it is doing something, but I never had enough patience to wait if it ever unhungs. Is this supposed behaviour, or am I doing something wrong? import System # Workaround for MS Excel bug print "Setting en-US cult

[IronPython] IronPython hungs when creating Excel.Application

2006-03-01 Thread Paparipote .
I only made a correction, I replaced true by True and run your code without problems. It did not hang my Win Xp computer; instead, it generated an Excel session. _ MSN Amor: busca tu ½ naranja http://latam.msn.com/amor/ ___

Re: [IronPython] IronPython hungs when creating Excel.Application

2006-03-01 Thread Snaury
Ah! I'm really sorry. Today I tried with IronPython Beta 3 and it misteriously worked. =^_^= I didn't realize I never tried it with Beta 3, just somehow assumed I did... x_x On 3/1/06, Paparipote . <[EMAIL PROTECTED]> wrote: > I only made a correction, I replaced true by True and run your code wit

Re: [IronPython] CLS compliance

2006-03-01 Thread Joshua Kugler
On Tuesday 28 February 2006 22:08, Keith J. Farmer wrote: > > Well, you can read the complete source code of IronPython. > > > > Yes, it uses reflection to consume CLS types. > > Source code and API listings are merely implementation details; they > generally do a poor job of explaining why a thin

[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

[IronPython] comments vs docs (was RE: CLS compliance)

2006-03-01 Thread Keith J. Farmer
At that point, the source code often becomes unreadable. At least, for me. Personally, I need the code to be more or less intact, rather than balkanized. What I think needs to happen is something similar to MS Word's comments view (where various people's comments are stored in the doc file, b

Re: [IronPython] clr.AddRefernce* woes

2006-03-01 Thread Shawn Wheatley
Hi All! I just got back from PyCon, where I got to see Martin Maly's talk on IronPython. I see that Beta 3 is causing quite a bit of problems. I seem to be having more problems than most, but that may be due to how I set up my environment. Could someone help me? Here's what I did: 1) Downloaded t

Re: [IronPython] clr.AddRefernce* woes

2006-03-01 Thread Martin Maly
Hi Shawn, Good to see you playing with IronPython! I may have mentioned it in the talk, or certainly in several hallway discussions, we shipped 1.0 Beta 3 with an unfortunate infinite recursion in the clr.AddReference code. The bad news is that mostly everyone hits this, the good news (and actu

Re: [IronPython] Fallen over: from sys import *

2006-03-01 Thread Martin Maly
Thanks for the repro, Jacques. We already have fix for this one so it will be in the next week’s release.   Martin   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of J. de Hooge Sent: Wednesday, March 01, 2006 1:00 PM To: [email protected] Subject: [IronPy

[IronPython] basic questions

2006-03-01 Thread jai hanuman
i'm trying to incorporate scripting to a windows app. i'm trying to find out the pros and cons of Ironpython, VSA, and VSTA. can someone provide me some pointers when to use which? regards jai hanuman ___ users mailing list [email protected] h

Re: [IronPython] basic questions

2006-03-01 Thread Thane Plummer
The C++ guys would be glad to provide you with pointers. The Managed C++ people will give you pointers, but only safe ones. The C# group will give you pointers, but only if they _really_ have to. The Python group gives you pointers all the time, but you're never really aware of it. But seriously .

Re: [IronPython] basic questions

2006-03-01 Thread peter lin
I also have the same question.Here is my situation.The data is in MSSQL, I would like to use IP to write some scripts like rule check , and this willusually need data from more than two tables and more data from other table while rule checking, I have to think this way because different customer h

Re: [IronPython] basic questions

2006-03-01 Thread Szymon Kobalczyk
jai hanuman napisał(a): > i'm trying to incorporate scripting to a windows app. i'm trying to find out > the pros and cons of Ironpython, VSA, and VSTA. can someone provide me some > pointers when to use which? > regards > Hello, In the past I was using VSA for scripting. It gives you access

[IronPython] infinite import loop for nested packages (and fix)

2006-03-01 Thread Andrew Sutherland
If you have a directory on your python path like so: foo/ __init__.py: import foo.bar as bar bar/ __init__.py: import foo.bar.baz as baz baz.py: print 'Baz imported' testit.py: import foo.bar And you run testit.py, the import process will go into an infinite loop while importing 'foo.