On 28 July 2013 00:30, Steve Dower <steve.do...@microsoft.com> wrote:
> Another issue to consider is that the modification to PATHEXT can't be > undone when Python is uninstalled, unless each installation adds another > ".PY" and each uninstall removes only one (so my PATHEXT would look like > ...;.PY;.PY;.PY;.PY;.PY;.PY;.PY;.PY;.PY;.PY). I haven't checked, but this > could seriously hurt performance of anything that uses PATHEXT to search > PATH for anything ending in this extension. I hope that cmd.exe and > PowerShell check for duplicate extensions, but I wouldn't be betting any > money that they do. > I used the same mechanism in msi.py (which is MSI functionality, I believe) that is used to add Python's directory to PATH - this adds on install and removes on ininstall. So it should work just as well as that does. Paul
_______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com