[issue44934] Windows installer: Append Python to PATH instead of prepending it

Steve Dower report at bugs.python.org
Tue Aug 24 15:22:38 EDT 2021


Steve Dower <steve.dower at python.org> added the comment:

Removing environment variables is "known" to be unreliable - another reason I don't like modifying them from an installer. It's meant to remove the item from the list based on value, so if anything has changed then it's not a huge surprise it will fail.

I'm more inclined to think that the "[~]:" prefix might be up to something. I forget exactly what it means, but if it's not all resolving to an empty string, it might concatenate fine but then mess up the removal?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44934>
_______________________________________


More information about the Python-bugs-list mailing list