Jason R. Coombs <jar...@jaraco.com> added the comment:
Additional problems I noticed while working on the refactor: - There is a lot of overlap in behavior between the implementations of _run_script and _run_module (initializing private variables, setting mainpyfile, resetting the __main__ namespace). - There are two block comments in _run_script whose behaviors apply to _run_module as well, but the block comments are not associated with those behaviors in _run_module. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44554> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com