New submission from Ned Deily <n...@acm.org>: An instance of the shell script "Update Shell Profile.command" is installed in each "/Applications/Python x.x" folder. Clicking on the script allows the user to change the default Python version. If the scripts are run more than once - say first to make 3.0 the default then 2.6 the default then back to 3.0 again - the script will fail to update the user's $PATH, forcing users to manually edit their shell profile.
SOLUTION Ensure that $PATH is updated if there are other Python frameworks already on its head. (This is not the most elegant solution since it leaves the previous versions later in the path but it is safer to only append to the user's profile - and a backup copy is made.) APPLIES py3k, 3.0, trunk, 2.6 ---------- components: Macintosh files: patch-nad0020.txt messages: 81749 nosy: nad severity: normal status: open title: OS X "Update Shell Profile" may not update $PATH if run more than once type: behavior versions: Python 2.6, Python 2.7, Python 3.0, Python 3.1 Added file: http://bugs.python.org/file13049/patch-nad0020.txt _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5225> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com