[MERGE] Implement bzrlib.lock with CreateFile rather than LockFileEx on win32 (operational part)
Martin (gzlist)
gzlist at googlemail.com
Fri Jun 19 11:31:54 BST 2009
2009/6/19 Alexander Belchenko <bialix at ukr.net>:
> Martin (gzlist) пишет:
>>
>> Problem is on your machine, this raises:
>>
>>>>> import ctypes
>>>>> assert ctypes.WinError(5).errno == 5
>
> Well,
>
> In [4]: import ctypes
>
> In [5]: ctypes.WinError(5).errno
> Out[5]: 13
>
> In [6]: ctypes.__version__
> Out[6]: '1.0.3'
Yes, I was expecting problems from incompatibilities between windows
versions or locales, but what caught me out was a bog-standard Python
2.4 vs. Python 2.5 difference. :)
Martin
More information about the bazaar
mailing list