Re: [IronPython] IronPython2.7 import locking error

2011-03-25 Thread Jeff Hardy
e to self: FileStream.SafeFileHandle. - Jeff > > -Original Message- > From: Jeff Hardy [mailto:jdha...@gmail.com] > Sent: Friday, March 25, 2011 11:08 AM > To: Discussion of IronPython > Cc: Dino Viehland > Subject: Re: [IronPython] IronPython2.7 import locking error >

Re: [IronPython] IronPython2.7 import locking error

2011-03-25 Thread Dino Viehland
, March 25, 2011 11:08 AM To: Discussion of IronPython Cc: Dino Viehland Subject: Re: [IronPython] IronPython2.7 import locking error On Thu, Mar 24, 2011 at 6:41 PM, Dino Viehland wrote: > Oh I see I missed the line containing msvcrt.  This just looks like it hasn't > been implemente

Re: [IronPython] IronPython2.7 import locking error

2011-03-25 Thread Jeff Hardy
On Thu, Mar 24, 2011 at 6:41 PM, Dino Viehland wrote: > 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 > o

Re: [IronPython] IronPython2.7 import locking error

2011-03-25 Thread amy yau
ursday, March 24, 2011 4:45 PM > To: users@lists.ironpython.com > Subject: Re: [IronPython] IronPython2.7 import locking error > > > > 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 msvcr

Re: [IronPython] IronPython2.7 import locking error

2011-03-24 Thread Dino Viehland
patch. -Original Message- From: users-boun...@lists.ironpython.com [mailto:users-boun...@lists.ironpython.com] On Behalf Of amy yau Sent: Thursday, March 24, 2011 4:45 PM To: users@lists.ironpython.com Subject: Re: [IronPython] IronPython2.7 import locking error what I can see is when I import m

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
users@lists.ironpython.com Subject: [IronPython] IronPython2.7 import locking error 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): F

[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