[PATCH 0 of 6 V2] ctypes patches V2

Adrian Buehlmann adrian at cadifra.com
Mon Feb 14 07:44:28 CST 2011


I've updated the ctypes patches to include Patrick's findings and remarks.

Specifically:

- There's now an additional first patch that contains fixes for the
  CreateFile call in win32.py while still using pywin32.
- Replaced the advapi32.RegGetValue call with RegQueryValueEx.

The series can also be pulled with

  $ hg pull -r 67743d5f49b6 https://bitbucket.org/abuehl/mercurial-crew

I've done manual "unit" tests on

 - Windows 7 x64 with 64 bit Python 2.6.6
 - Windows XP SP3 x86 with 32 bit Python 2.6.6

calling the functions from the python command line.

I intend to upload updated msi installers at

  https://bitbucket.org/abuehl/mercurial-crew/downloads

during the next couple hours.

I recommend to push these patches to crew default branch for inclusion
in 1.8.


More information about the Mercurial-devel mailing list