New submission from Doug Hellmann <doug.hellm...@gmail.com>: Running "python -m site" is supposed to print a report about the current import path and its components (like USER_BASE and USER_SITE).
This works under 2.6 and 3.1, but not 2.7. No output is produced under 2.7 at all. When I add a print statement to the end of the module, I see that __name__ is set to "site" instead of "__main__", so the _script() function isn't being invoked at all. ---------- components: Library (Lib) messages: 120045 nosy: doughellmann priority: normal severity: normal status: open title: "python -m site" does not print path details versions: Python 2.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10263> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com