RFC: new demandimport implementation for Python 3

Siddharth Agarwal sid at less-broken.com
Mon Jul 18 14:25:02 EDT 2016


On 7/17/16 10:41, Gregory Szorc wrote:
>
> Is there a reason this custom loader isn't implemented in terms of 
> importlib.util.LazyLoader? Is the built-in lazy loader not at all 
> suitable for our use, requiring an independent implementation?

Following up here, with Python 3.5.2+ we can now use the builtin 
LazyLoader. Here's what it looks like: https://bpaste.net/show/91c7a00768ce


More information about the Mercurial-devel mailing list