[IronPython] IronPython2.7 import locking error

amy yau amy.m.yau at intel.com
Fri Mar 25 18:32:21 CET 2011



that would be great if a patch is provided. Please let me know when it is
available. 


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 out to msvcrt100, if someone wants to provide a patch.
> 
> -----Original Message-----
> From: users-bounces at lists.ironpython.com
> [mailto:users-bounces at lists.ironpython.com] On Behalf Of amy yau
> Sent: Thursday, March 24, 2011 4:45 PM
> To: users at 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 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 for IronPython2.7 standard library.
> Thanks
> Amy
> 
> 
> 
> 
> amy yau wrote:
>> 
>> 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 "<stdin>", line 1, in <module>
>> importError: Cannot import name locking
>> 
>> I do not get any error mesaage when using the Python2.5 interactive 
>> window.
>> Anyidea how I can make the standard library to compile on ironPython2.7?
>> 
> 
> --
> View this message in context:
> http://old.nabble.com/IronPython2.7-import-locking-error-tp31233423p31234024.html
> Sent from the IronPython mailing list archive at Nabble.com.
> 
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
> 
> 

-- 
View this message in context: http://old.nabble.com/IronPython2.7-import-locking-error-tp31233423p31240184.html
Sent from the IronPython mailing list archive at Nabble.com.




More information about the Ironpython-users mailing list