RFC: new demandimport implementation for Python 3

Siddharth Agarwal sid at less-broken.com
Mon Jul 18 15:41:01 EDT 2016


On 7/18/16 11:36, Gregory Szorc wrote:
>
> This looks much more digestible! Thanks.
>
> Have you tried this code with the new source transforming module 
> loader that landed last week? IIRC, the loader protocol uses the first 
> loader/finder it sees. If the demandimport loader/finder is bypassing 
> source transformation, that would be bad, obviously.


Not yet (I targeted FB-internal binaries initially). I assume it 
wouldn't be too much work to hook the source transformation and lazy 
loaders up to each other.



More information about the Mercurial-devel mailing list