RFC: new demandimport implementation for Python 3

Augie Fackler raf at durin42.com
Mon Jul 18 07:54:41 EDT 2016


On Sat, Jul 16, 2016 at 03:47:27PM -0700, Siddharth Agarwal wrote:
> Hi --
> Earlier this week I wrote up a new demandimport implementation for
> Python 3.5 and above. I was targeting our internal binaries (we use
> Mercurial's implementation for some of our Python 2 binaries) and it
> should basically be a drop-in replacement for the one that exists in
> Mercurial.

Interesting. Are you aware of the demandimporter that Brett wrote for
Python 3 as part of his importlib work there? If so, have you compared
resulting performance characteristics?

> The code is at https://bpaste.net/show/f0996d3ca46f -- if now is the
> right time to submit patches for it I'd be happy to do that.
> - Siddharth
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

More information about the Mercurial-devel mailing list