Tadhg McDonald-Jensen added the comment: other then bdb.py all of the excluded modules are imported into idlelib.run so that line could be replaced with:
import bdb exclude = (__file__, rpc.__file__, threading.__file__, queue.__file__, RemoteDebugger.__file__, bdb.__file__) although it is really only necessary for run, rpc and RemoteDebugger since they are imported through `idlelib.__` so it could also use a notation like this: exclude = ("idlelib/run.py", "idlelib/rpc.py", "threading.py", "queue.py", "idlelib/RemoteDebugger.py", "bdb.py") although this would need to make use of os.path.join or equivalent to be cross compatible. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26627> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com