[PATCH 0 of 5] using ctypes on Windows

Dirkjan Ochtman dirkjan at ochtman.nl
Tue Feb 8 14:59:43 CST 2011


On Tue, Feb 8, 2011 at 20:12, Adrian Buehlmann <adrian at cadifra.com> wrote:
> We only need to go to the "bare Windows metal" in a few rather obscure
> occasions -- but there we really need it and we need to care about every
> ugly hairy angle of it (see the epic hardlink odyssey).
>
> Whereas pywin32 tries to give very broad access to the Windows API, but
> it still obscures it and it's not clear to me how pywin32 will be
> carried on in the future. Especially since there is now the more
> versatile and powerful access to the full Windows API using ctypes.
>
> From what I've seen on the net, ctypes seems to be quickly gaining
> popularity. Nearly every question I stumbled upon while doing this
> series had already been discussed somewhere on the net (often on
> stackoverflow).

Sure sounds good.

Do we care about having an extra dependency on ctypes for 2.4 on
Windows? That would seem like a very small piece of the Mercurial pie.
Nonetheless, and I should know better than to bring this up, is it
time yet to contemplate dropping 2.4 from the lineup entirely?

Cheers,

Dirkjan


More information about the Mercurial-devel mailing list