is it possible to use Mercurial without C extensions (pure Python)?

Arne Babenhauserheide arne_bab at web.de
Tue Dec 30 01:42:54 CST 2008


Am Dienstag 30 Dezember 2008 00:18:15 schrieb Matt Mackall:
> Everything that is currently a C extension was at one time pure Python.
> All that's needed is a little elbow grease to resurrect the old code and
> make its use optional.
>
> My only requirement is that such a fallback not be automatic. When we
> first introduced extensions, there were several occasions where the slow
> Python variants were quietly ruining benchmarks.

Couldn't Mercurial check if the C extensions are available, and when they 
aren't, prompt the user to compile them or to adjust a config setting for 
using the Python versions? 

Best wishes, 
Arne
-- 
-- My stuff: http://draketo.de - stories, songs, poems, programs and stuff :)
-- Infinite Hands: http://infinite-hands.draketo.de - singing a part of the 
history of free software.
-- Ein Würfel System: http://1w6.org - einfach saubere (Rollenspiel-) Regeln.

-- PGP/GnuPG: http://draketo.de/inhalt/ich/pubkey.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://selenic.com/pipermail/mercurial/attachments/20081230/0a3ef3b2/attachment.pgp 


More information about the Mercurial mailing list