[Python-Dev] IDLE internal layout

Louie Lu me at louie.lu
Wed Jun 14 08:59:08 EDT 2017


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 <tjreedy at udel.edu>:
> 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
> Python-Dev at python.org
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
> https://mail.python.org/mailman/options/python-dev/me%40louie.lu


More information about the Python-Dev mailing list