[IronPython] IronPython2.7 import locking error
jdhardy at gmail.com
Fri Mar 25 11:07:50 PDT 2011
On Thu, Mar 24, 2011 at 6:41 PM, Dino Viehland <dinov at microsoft.com> 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.
It seems to me that msvcrt.locking is actually quite tricky, as it
normally uses the CRT file handles when calling the locking functions.
We'd have to emulate the behavior using the .NET locking functions (or
rewrite all of our file APIs to use the CRT).
More information about the Users