Re: [IronPython] IronPython2.7 import locking error

2011-03-24 Thread Dino Viehland
Oh I see I missed the line containing msvcrt. This just looks like it hasn't been implemented (we still have only a very partially implemented version of msvcrt). It should be trivial to do add this , it should just be a P/Invoke out to msvcrt100, if someone wants to provide a patch. -Ori

Re: [IronPython] IronPython2.7 import locking error

2011-03-24 Thread amy yau
what I can see is when I import msvcrt on Python2.5 console and do a dir(msvcrt). it has a method called locking but when I import msvcrt on IronPython2.7 it does not have the method locking. What I can do is I will try to find out what the python lib does using this msvcrt module and modify it f

Re: [IronPython] IronPython2.7 import locking error

2011-03-24 Thread Dino Viehland
Locking isn't part of the standard lib, did you install something into site packages called locking? -Original Message- From: users-boun...@lists.ironpython.com [mailto:users-boun...@lists.ironpython.com] On Behalf Of amy yau Sent: Thursday, March 24, 2011 3:18 PM To: users@lists.ironpyt

[IronPython] IronPython2.7 import locking error

2011-03-24 Thread amy yau
Hi I have some python library which compiled fine using Python2.5 But when using ironPython2.7 I got the following error from the console: >>>from msvcrt import locking Traceback (most recent call last): File "", line 1, in importError: Cannot import name locking I do not get any error

[IronPython] MD5 file checksum comparisons perform differently in different IPy versions?

2011-03-24 Thread Lukáš Duběda
Hi there everyone, can anyone enlighten me, please, as to why does a direct comparison of two MD5 checksums (completely the same) result in a different output in IPy versions prior to 2.7? In both 2.6 and 2.6.1 when I make a MD5 checksum of two files that were copied from the same source, I get:

Re: [IronPython] Building IronPython/IronRuby for Mono? Yes!

2011-03-24 Thread Tomas Matousek
It seems that we just need to disable XML warning in Microsoft.System.Core project. Tomas -Original Message- From: Doug Blank [mailto:doug.bl...@gmail.com] Sent: Thursday, March 24, 2011 10:00 AM To: Tomas Matousek Cc: Discussion of IronPython Subject: Re: [IronPython] Building IronPyth

Re: [IronPython] Building IronPython/IronRuby for Mono? Yes!

2011-03-24 Thread Doug Blank
On Thu, Mar 24, 2011 at 12:30 PM, Tomas Matousek wrote: > Done. Thanks! Having some issues under Mono 2.10 with Microsoft.Scripting.Ast.Expression, and System.Runtime.CompilerServices. Here is my output, with a fresh IronPython git main. Any ideas? Also, if anyone builds IronPython 2.7 for .NET

Re: [IronPython] Building IronPython/IronRuby for Mono? Yes!

2011-03-24 Thread Tomas Matousek
Done. Tomas -Original Message- From: users-boun...@lists.ironpython.com [mailto:users-boun...@lists.ironpython.com] On Behalf Of Tomas Matousek Sent: Wednesday, March 23, 2011 5:27 PM To: Doug Blank Cc: Discussion of IronPython Subject: Re: [IronPython] Building IronPython/IronRuby for M

[IronPython] State of Moonlight with IronPython?

2011-03-24 Thread Doug Blank
Anyone know what the state of being able to view Moonlight apps in the browser with DLR languages? Or actually, what the state of Moonlight is generally? None of the examples off of the IronPython page: http://ironpython.net/browser/examples.html work under my Ubuntu 64-bit 10.10 with Firefox 3

Re: [IronPython] multiprocessing in 2.7

2011-03-24 Thread Markus Schaber
Hi, Romain, Romain Gilles wrote: > from multiprocessing import Process A small remark: The main usage of the multiprocessing module is to work around the global interpreter lock (GIL) in cPython. As IronPython does not have that GIL, maybe you can create a scalable application just fine witho

Re: [IronPython] Building IronPython on Mono, and web updates

2011-03-24 Thread Michael Foord
On 24/03/2011 12:42, Doug Blank wrote: On Wed, Mar 23, 2011 at 11:05 AM, Jeff Hardy wrote: On Wed, Mar 23, 2011 at 7:13 AM, Doug Blank wrote: Questions: 1) How to build a Release version rather than Debug? 2) How to set the framework to use 2.0 rather than 4.0? 1) msbuild Solutions/Dlr.sln

Re: [IronPython] Building IronPython on Mono, and web updates

2011-03-24 Thread Doug Blank
On Wed, Mar 23, 2011 at 11:05 AM, Jeff Hardy wrote: > On Wed, Mar 23, 2011 at 7:13 AM, Doug Blank wrote: >> Questions: >> >> 1) How to build a Release version rather than Debug? >> 2) How to set the framework to use 2.0 rather than 4.0? > > 1) msbuild Solutions/Dlr.sln /p:Configuration="Release"

Re: [IronPython] multiprocessing in 2.7

2011-03-24 Thread Romain Gilles
Thanks Jeff for the information. I will be really please to help you but I'm a dummy in C#, C++, Python and Windows :( Romain. 2011/3/23 Jeff Hardy > On Wed, Mar 23, 2011 at 7:19 AM, Romain Gilles > wrote: > > but who can I add to my IronPython the _multiprocessing module ? > > --

Re: [IronPython] IronPython tools - minor suggestion

2011-03-24 Thread Steve Dower
The Productivity Power Tools extension (http://visualstudiogallery.msdn.microsoft.com/d0d33361-18e2-46c0-8ff2-4adea1e34fef/) may be the better place for this sort of feature (it already includes line highlighting), though I don't know whether it supports the shell versions (IIRC, it's >=Professiona

Re: [IronPython] IronPython tools - minor suggestion

2011-03-24 Thread Lukáš Duběda
Hi, Dino, thanks for the reply, I'll start a "bug" report over there. As for the indent guides, yes, that's exactly it. I'm most used to the SciTE editor and this layout is exactly what I need: http://www.duber.cz/dump/indent_guides.png Also, actual line highlighting would be nice, too ;) Ca