Issue36649
Created on 2019-04-17 18:30 by Hugues Valois, last changed 2019-04-18 15:39 by steve.dower. This issue is now closed.
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 12865 | merged | steve.dower, 2019-04-17 18:52 | |
| PR 12867 | merged | miss-islington, 2019-04-17 21:32 | |
| Messages (6) | |||
|---|---|---|---|
| msg340426 - (view) | Author: Hugues Valois (Hugues Valois) | Date: 2019-04-17 18:30 | |
When reading registry values under HKCU\SOFTWARE\Python\PythonCore\3.7 that were written by the Windows Store app install, all file and folder paths are incorrect. Notice the extra [ ] as well as the missing backslash before python.exe and pythonw.exe Paths read from registry are: ``` C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.1008.0_x64__qbz5n2kfra8p0[ ] C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.1008.0_x64__qbz5n2kfra8p0python.exe[ ] C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.1008.0_x64__qbz5n2kfra8p0pythonw.exe[ ] ``` Paths on disk are: ``` C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.1008.0_x64__qbz5n2kfra8p0 C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.1008.0_x64__qbz5n2kfra8p0\python.exe C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.1008.0_x64__qbz5n2kfra8p0\pythonw.exe ``` |
|||
| msg340427 - (view) | Author: Steve Dower (steve.dower) * | Date: 2019-04-17 18:37 | |
Can you get me the *exact* Windows version number you're using? I added those to work around a bug where keys were being incorrectly trimmed, and that format seemed to evaluate to nothing correctly, but perhaps that bug has been fixed in the OS? |
|||
| msg340435 - (view) | Author: Hugues Valois (Hugues Valois) | Date: 2019-04-17 18:55 | |
C:\Users\huvalo>ver Microsoft Windows [Version 10.0.17763.437] |
|||
| msg340441 - (view) | Author: Steve Dower (steve.dower) * | Date: 2019-04-17 19:45 | |
Great, thanks. I have a fix in PR, but I'm going to do a "real" build to check. My machine is running a beta build, unfortunately, so I can't validate it against the older version. Might ping you for some help with that. |
|||
| msg340449 - (view) | Author: Steve Dower (steve.dower) * | Date: 2019-04-17 21:31 | |
New changeset 4c3efd9cd07194b5db2a60ae5951134cda8b69db by Steve Dower in branch 'master': bpo-36649: Remove trailing spaces for registry keys when installed via the Store (GH-12865) https://github.com/python/cpython/commit/4c3efd9cd07194b5db2a60ae5951134cda8b69db |
|||
| msg340450 - (view) | Author: miss-islington (miss-islington) | Date: 2019-04-17 21:52 | |
New changeset 0d4f16d283fe3b8a183775ac7ac193988d971ad5 by Miss Islington (bot) in branch '3.7': bpo-36649: Remove trailing spaces for registry keys when installed via the Store (GH-12865) https://github.com/python/cpython/commit/0d4f16d283fe3b8a183775ac7ac193988d971ad5 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2019-04-18 15:39:11 | steve.dower | set | status: open -> closed resolution: fixed stage: patch review -> resolved |
| 2019-04-17 21:52:18 | miss-islington | set | nosy:
+ miss-islington messages: + msg340450 |
| 2019-04-17 21:32:59 | miss-islington | set | pull_requests: + pull_request12794 |
| 2019-04-17 21:31:38 | steve.dower | set | messages: + msg340449 |
| 2019-04-17 19:45:34 | steve.dower | set | messages:
+ msg340441 versions: + Python 3.8, Python 3.9 |
| 2019-04-17 18:55:13 | Hugues Valois | set | messages:
+ msg340435 versions: - Python 3.8, Python 3.9 |
| 2019-04-17 18:52:55 | steve.dower | set | keywords:
+ patch stage: patch review pull_requests: + pull_request12792 |
| 2019-04-17 18:37:59 | steve.dower | set | assignee: steve.dower messages: + msg340427 versions: + Python 3.8, Python 3.9 |
| 2019-04-17 18:30:48 | Hugues Valois | create | |