Re: IDLE internal layout

Louie Lu <[email protected]> Wed, 14 Jun 2017 20:59:08 +0800
Newsgroups gmane.comp.python.devel,gmane.comp.python.idle
Message-ID <CADMDV=xEAYw==jHx8D1hZjKPcgN7M4VnWwemm+bZZ4i9N6KvdA@mail.gmail.com>
I generate these picture with no-external,
so it won't show up about importlib.import_module calls (I think)

I'll try to modify the code, and re-generated the pic with importlib.

2017-06-14 20:45 GMT+08:00 Terry Reedy <[email protected]>:
> On 6/14/2017 1:48 AM, Louie Lu wrote:
>>
>> (Due to idle-dev mailing list low traffic, this mail was sent to
>> python-dev and idle-dev)
>
>
>> I'm now trying to figure out IDLE internal relation.
>> I got some module dependency graph and count.
>>
>> The work is at HackMD:
>>
>> https://hackmd.io/IwNg7AphDGBmsFoAsBOCAmZAGMBDBKsArEgruuiEkQCa5YBGsNQA
>>
>> Is there any previous material on this topic?
>
>
> Not that I know of.  There are many delayed imports in idlelib. At least one
> is to avoid circular import error, as I discovered when I tried to move it
> to the top as suggested by PEP8.
>
> Thanks for finding the site and producing the .pngs.  Even though missing a
> few links from importlib.import_module calls, they will be helpful.  I saved
> the 2nd one locally so I can view it at full size.
>
> (The left column links such as debugger.py linking to 'debugger.py' are
> nonsensical.)
>
> --
> Terry Jan Reedy
>
> _______________________________________________
> Python-Dev mailing list
> [email protected]
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
> https://mail.python.org/mailman/options/python-dev/me%40louie.lu