[PATCH 4 of 5 import-refactor] hg: gracefully handle PyPy
Bryan O'Sullivan
bos at serpentine.com
Tue Nov 24 16:29:24 CST 2015
On Sun, Nov 22, 2015 at 1:14 AM, Gregory Szorc <gregory.szorc at gmail.com>
wrote:
> +if '__pypy__' in sys.builtin_module_names:
> + pypy = True
> +else:
> + pypy = False
>
>
pypy = '__pypy__' in sys.builtin_module_names
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20151124/e1cabe8d/attachment.html>
More information about the Mercurial-devel
mailing list