diff README @ 28431:a7e3b72cf756

setup: show how to set the module policy for imports This is not technically needed, since mercurial.__version__ does not exist as a native module, but, without this style wrappings, if something else had a native flavor, the module loader would get upset. In principle, the `env` object is trying to set HGMODULEPOLICY for children, so, conceptually we should set it for this in-process child.
author timeless <timeless@mozdev.org>
date Tue, 12 Jan 2016 04:45:29 +0000
parents 4b0fc75f9403
children 76b171209151
line wrap: on
line diff