Re: [IronPython] IronPython IDE

2005-12-12 Thread Aaron Marten
Hi Giles You'll need to build the various projects that get installed to "Program Files\Visual Studio 2005 SDK\2005.12\VisualStudioIntegration\Samples\IronPythonIntegration". Merely building them will also register them in the Visual Studio "experimental hive". The idea is that whi

[IronPython] IronPython 0.9.6 released

2005-12-12 Thread Dino Viehland
Hello IronPython community, We?ve just released the newest version of IronPython ? 0.9.6. This is most likely the last Alpha version of IronPython before the end of the year when we play to release IronPython 1.0 Beta 1. This build includes many bug fixes for issues reported to us by the commu

Re: [IronPython] Problems with tutorials

2005-12-12 Thread Dino Viehland
If you're doing this on v1.0/v1.1 what you suggest will work most of the time as you've observed but Whidbey had a breaking change to make this more predictable: http://www.gotdotnet.com/team/changeinfo/Backwards1.1to2.0%5Cdefault.aspx - search for Initialization of MTA and STA threads Probabl

Re: [IronPython] Problems with tutorials

2005-12-12 Thread Martin Maly
As for the avalon example, looks like the object model has changed substantially. The w.Title is the way to go, same for w.Content.TextContent; I also failed to find suitable replacement for the the PersistentAnimations :( Martin -Original Message- From: [EMAIL PROTECTED] On Behalf Of K

Re: [IronPython] Problems with tutorials

2005-12-12 Thread John Lam
IMHO, this is a feature that should be enabled via a command-line switch; you can't back out of your choice that you make at startup time without potentially serious consequences. I'm doing this via a command line switch + a trampoline function in my Ruby CLR bridge. It seems to be the best approa

Re: [IronPython] Problems with tutorials

2005-12-12 Thread Martin Maly
Believe it or not, this problem is actually caused by the missing [STAThread] attribute on the IronPythonConsole Main. Good to know this :) Seems that when I remove it, I caused problems for more people than I helped. As I said in my previous email to Jacques, I am going to fix this for the next

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

2005-12-12 Thread Dino Viehland
If you want to update your copy the fix is to update these methods in list.cs: public bool __contains__(object item) { for (int i = 0; i < size; i++) { if (Ops.IsTrue(Ops.Equal(data[i], item))) return true; } return fa

Re: [IronPython] IronPython 0.9.6 released

2005-12-12 Thread Martin Maly
The GotDotNet website occassionally has problems as the development team works on it. I am going to pass your feedback to the GotDotNet developers to let them know our community is negatively affected by it. Thanks for the feedback, it is important to let us know of these problems too so that w

Re: [IronPython] IronPython 0.9.6 released

2005-12-12 Thread Martin Maly
Jacques, As for the first problem, the unfortunate thing is that fixing it for some of us breaks it for others. Let me look into whether command line parameter could be the solution. I will let you know as soon as I know more. The answer to your question 1 is, therefore, yes. As for the second

Re: [IronPython] IronPython 0.9.6 released

2005-12-12 Thread Martin Maly
We didn't get to that one yet, sorry about that. Certainly before 1.0 this needs to be fixed. Martin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Szymon Kobalczyk Sent: Monday, December 12, 2005 1:25 AM To: Discussion of IronPython Subject: Re: [IronP

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

2005-12-12 Thread Dino Viehland
Thanks for the bug reports - these are related to one of our changes to separate Python equality from CLR equality. The "in" bug is the same issue as this bug just in a different spot. Both of these changes are related to a fix to address how to treat python equality & hashing versus CLR equal

Re: [IronPython] IronPython 0.9.6 released

2005-12-12 Thread Martin Maly
Slow transition towards code that passes FxCop. It is one of the necessities to release final 1.0 down the road so wherever we touch code, we try to follow the FxCop naming requirements so that there are not as many changes needed once we actually run the FxCop tool on our sources. Martin ---

[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

Re: [IronPython] IronPython IDE

2005-12-12 Thread Giles Thomas
Hi Aaron, Thanks for the pointer. Is there any simple documentation on setting this up once you've downloaded it? Cheers, Giles Aaron Marten wrote: > Hi Giles, > I'm on the Visual Studio SDK team here at Microsoft. In > co-operation with the IronPython team, we're currently working on

[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

[IronPython] VSIP integration package

2005-12-12 Thread Keith J. Farmer
So I've installed the VS SDK, and have built the MSBuild tasks for IronPython as well as the PythonProject solution, but I don't think it's actually working. I'm not finding any instructions for installation of the Python solution, though I followed the ones for the Figures sample. I have Python i

Re: [IronPython] IronPython 0.9.6 released

2005-12-12 Thread J. de Hooge
Thanks for the feedback Keith I think it's just a matter of some paths being wrong. I still have VS 2003 installed and using it for different project. But .NET SDK 2 should do, according to the readme. And everything still works alright for IP 0.9.5 Jacques -Oorspronkelijk bericht- Van:

Re: [IronPython] IronPython 0.9.6 released

2005-12-12 Thread Keith J. Farmer
For what it's worth, it compiled just fine on my system without modifications using 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 installi

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

[IronPython] Problems with tutorials

2005-12-12 Thread Keith J. Farmer
Encountering a variety of problems with the agents tutorial: a = AgentServerClass() -> should not have () ? a.Load("Merlin.acs") -> throws bad args exception for the Load() method. Doesn't change if I use C:\WINDOWS\msagent\chars\merlin.acs, which exists on my machine. Also doesn't work if I call

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] IronPython 0.9.6 released

2005-12-12 Thread Szymon Kobalczyk
Martin Maly wrote: >Hello IronPython community, > >We've just released the newest version of IronPython ? 0.9.6. [...] > I haven't found any mention of fixes regarding the memory issues I reported last month. Have you done anything to stop these memory leaks? I think this is rather important for

Re: [IronPython] IronPython 0.9.6 released

2005-12-12 Thread Keith J. Farmer
Out of curiosity, was there a specific reason for having different cases for Parser.fromString/Parser.FromString? - Keith J. Farmer // [EMAIL PROTECTED] ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users

Re: [IronPython] Follow Up: Avalon/WinFX and StartUp error again...

2005-12-12 Thread Mikołaj Dawidowski
Thank you very much. Works great. --Nick -Original Message- From: Steven Drucker [mailto:[EMAIL PROTECTED] Sent: Friday, December 09, 2005 8:31 PM To: Discussion of IronPython Subject: Re: [IronPython] Follow Up: Avalon/WinFX and StartUp error again... This is because the 'StartingUp'