Author steve.dower
Recipients aku911, paul.moore, steve.dower, tim.golden, zach.ware
Date 2020-07-02.20:25:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1593721557.83.0.144374581568.issue41196@roundup.psfhosted.org>
In-reply-to
Content
This is by (Windows's) design - separate apps are treated as separate by the Windows app model. In the latest and N-1 updates to Windows, the AppData redirection only applies to newly created files, not those that already exist. [1] Before then, it used copy-on-write.

The design is based on having seen many apps break because of inadvertently sharing data, and also apps failing to clean up after themselves well (of which Python is *very* guilty). The built-in "Reset App" and "Uninstall App" functions would not be viable without this separation.

What it really means for apps that are trying to share state across different Python runtimes is that they're not going to have such a great time. The best option I can offer is to use the user's Documents folder instead, which is explicitly shared (though may also be synced between machines, so not always appropriate).

The next best option is to recommend that the Store package only be used on its own, and not in conjunction with other Python installs. Those who need multiple versions or mostly-but-not-quite-separate installs will need to use the traditional installer.

But what it means for all the other tools that write to AppData is that they don't have to worry about old settings laying around or causing additional clutter. The standard "Reset app" action is a viable way to fix issues in configuration or cached files (and uninstall all packages). From a user point of view, I really like these features.

1: https://docs.microsoft.com/windows/msix/desktop/desktop-to-uwp-behind-the-scenes
History
Date User Action Args
2020-07-02 20:25:57steve.dowersetrecipients: + steve.dower, paul.moore, tim.golden, zach.ware, aku911
2020-07-02 20:25:57steve.dowersetmessageid: <1593721557.83.0.144374581568.issue41196@roundup.psfhosted.org>
2020-07-02 20:25:57steve.dowerlinkissue41196 messages
2020-07-02 20:25:57steve.dowercreate