Re: [IronPython] Detecting IronPython Installation Directory

2008-12-23 Thread Jeff Hardy
On Tue, Dec 23, 2008 at 12:53 PM, Curt Hagenlocher wrote: > Given that there are clean APIs for pulling the data out, what are your > objections to using the installer data? Oh, nothing too convincing - just an irrational aversion to using "sekrit" information. Also, the WMI query is a bit slow.

Re: [IronPython] TCL for .Net

2008-12-23 Thread Dody Gunawinata
It's not. Only IronScheme is the other outsider DLR based implementation language. On Wed, Dec 24, 2008 at 12:19 AM, Michael Foord wrote: > Dody Gunawinata wrote: > >> Check this out >> http://www.codeplex.com/eagle/Release/ProjectReleases.aspx?ReleaseId=18226#ReleaseFiles >> >> It looks very int

Re: [IronPython] TCL for .Net

2008-12-23 Thread Michael Foord
Dody Gunawinata wrote: Check this out http://www.codeplex.com/eagle/Release/ProjectReleases.aspx?ReleaseId=18226#ReleaseFiles It looks very interesting. Does look interesting. It would be even more interesting if it was DLR based. :-) Michael Dody G. -- nomadlife.org

[IronPython] TCL for .Net

2008-12-23 Thread Dody Gunawinata
Check this out http://www.codeplex.com/eagle/Release/ProjectReleases.aspx?ReleaseId=18226#ReleaseFiles It looks very interesting. Dody G. -- nomadlife.org ___ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-

Re: [IronPython] Announcing IronPython 2.0

2008-12-23 Thread Keith J. Farmer
http://www.codeplex.com/IronPython/WorkItem/View.aspx?WorkItemId=20344 CodePlex's TFS server seems to be down suddenly.. it's a conspiracy. From: users-boun...@lists.ironpython.com on behalf of Keith J. Farmer Sent: Tue 12/23/2008 12:25 PM To: Discussion of Iron

Re: [IronPython] Is this a bug in IP 2.0?

2008-12-23 Thread Michael Foord
Mark Russo wrote: In IronPython 2.0, when I replace a Point object in a list using assignment, a copy of the Point object is used to replace the original list element rather than the original Point itself. This does not happen with user-defined objects. It also does not happen with Point objec

[IronPython] Is this a bug in IP 2.0?

2008-12-23 Thread Mark Russo
In IronPython 2.0, when I replace a Point object in a list using assignment, a copy of the Point object is used to replace the original list element rather than the original Point itself. This does not happen with user-defined objects. It also does not happen with Point objects in IronPython 1.

Re: [IronPython] Announcing IronPython 2.0

2008-12-23 Thread Keith J. Farmer
I recall this was a matter of some debate in the past, so I wasn't quite sure if it was *worth* adding :) Of course, MSI was a big debate in the past as well... From: users-boun...@lists.ironpython.com on behalf of Curt Hagenlocher Sent: Tue 12/23/2008 11:57 AM

Re: [IronPython] Announcing IronPython 2.0

2008-12-23 Thread Curt Hagenlocher
As with all feature requests, please add it to CodePlex. :) On Mon, Dec 22, 2008 at 5:02 PM, Keith J. Farmer wrote: > Since there's an MSI now, could we hope for updates/new-major-versions > via Windows Update? Like online banking, I've come to rely on things > updating themselves, rather than

Re: [IronPython] Detecting IronPython Installation Directory

2008-12-23 Thread Curt Hagenlocher
Given that there are clean APIs for pulling the data out, what are your objections to using the installer data? On Tue, Dec 23, 2008 at 11:40 AM, Jeff Hardy wrote: > Hi, > Thanks for the tips! To add a little bit more info, I'm working in > Powershell for various reasons, so P/Invoke is out of th

Re: [IronPython] Detecting IronPython Installation Directory

2008-12-23 Thread Jeff Hardy
Hi, Thanks for the tips! To add a little bit more info, I'm working in Powershell for various reasons, so P/Invoke is out of the question. Using WMI is easy enough, but I'd prefer not to be mucking around inside Windows Installer if I can help it. Is there any reason to not include an entry (e.g.

Re: [IronPython] Detecting IronPython Installation Directory

2008-12-23 Thread Curt Hagenlocher
I think that's just the WMI way of doing an MsiProductInfo call :). Though it sure is a lot more managed- and Python- friendly than having to do a P/Invoke. On Tue, Dec 23, 2008 at 10:17 AM, Oleg Tkachenko wrote: > Actually we do store install location in the registry. It can be found > somewhe

Re: [IronPython] Detecting IronPython Installation Directory

2008-12-23 Thread Oleg Tkachenko
Actually we do store install location in the registry. It can be found somewhere deep in HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer subtree. It also can be queried using System.Management.Instrumentation: ManagementObjectSearcher query1 = new ManagementObjectSearcher(

Re: [IronPython] Detecting IronPython Installation Directory

2008-12-23 Thread Curt Hagenlocher
Looking at the WiX source (is that included in the source distribution?), it doesn't appear that we're deliberately writing this information into the registry. But the MsiProductInfo function should be able to retrieve it from the sekrit Windows Installer stash. http://www.pinvoke.net/default.aspx

Re: [IronPython] Why can't I use 'import os' in Ironpython Studio? It always says "No module named os".

2008-12-23 Thread Michael Foord
Jankins wrote: Hi, I have been using Ironpython studio for about two days. And I found a strange problem. I can't use "import os" or " import copy" (until now I just found these two) in my program, because when I debug my program, it says "No module named os". But I can use "import sys" , "

Re: [IronPython] Zlib module

2008-12-23 Thread Michael Foord
Jeff Hardy wrote: Hello, I've posted a mostly-complete zlib implementation at http://cid-414fa1a9bd174b4b.skydrive.live.com/self.aspx/Public/IronPython.Zlib.zip. It uses zlib.net from ComponentAce (http://www.componentace.com/zlib_.NET.htm) which is an open source, pure .NET implementation of zli

Re: [IronPython] ANN : Davy's IronPython Editor

2008-12-23 Thread Michael Foord
Davy Mitchell wrote: Hi Folks, I've made a small start on an IronPython Editor in WinForms using SyntaxBox. The project intentions is to create an editor along the lines of SPE or DrPython. If you want to take a look there are a couple of screen shots - please visit: http://code.google.co

Re: [IronPython] Detecting IronPython Installation Directory

2008-12-23 Thread Michael Foord
Jeff Hardy wrote: Hi, Does the IronPython 2.0 installer write the installation directory to a registry key (besides the WIndows Installer keys)? If not, could that be added to a future release? Or, is there another way to get the installation directory? -Jeff