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@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to