Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:

If not, could modulegraph add a flag to drop imports commonly found in main 
sections:  doctest, unittest, argparse, etc.?   

Asking the standard library to change seems like the tail wagging the dog — it 
only paints over the problem since third-party modules, other standard library 
modules, and user code commonly use main sections as well.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue41297>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to