[issue46297] Python interpreter crashes on bootup with multiple PythonPaths set in registry

2022-01-07 Thread Steve Dower


Change by Steve Dower :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46297] Python interpreter crashes on bootup with multiple PythonPaths set in registry

2022-01-07 Thread Steve Dower


Steve Dower  added the comment:

Thanks for the report and the PR!

--
assignee:  -> steve.dower

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46297] Python interpreter crashes on bootup with multiple PythonPaths set in registry

2022-01-07 Thread Steve Dower


Steve Dower  added the comment:


New changeset c9dc1f491e8edb0bc433cde73190a3015d226891 by Daniel in branch 
'main':
bpo-46297: Fix interpreter crash on startup with multiple PythonPaths set in 
registry (GH-30466)
https://github.com/python/cpython/commit/c9dc1f491e8edb0bc433cde73190a3015d226891


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46297] Python interpreter crashes on bootup with multiple PythonPaths set in registry

2022-01-07 Thread Eryk Sun


Change by Eryk Sun :


--
type: behavior -> crash

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46297] Python interpreter crashes on bootup with multiple PythonPaths set in registry

2022-01-07 Thread Eryk Sun


Change by Eryk Sun :


--
components: +Windows
nosy: +paul.moore, tim.golden, zach.ware
type: crash -> behavior

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46297] Python interpreter crashes on bootup with multiple PythonPaths set in registry

2022-01-07 Thread Ned Deily


Change by Ned Deily :


--
nosy: +steve.dower

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46297] Python interpreter crashes on bootup with multiple PythonPaths set in registry

2022-01-07 Thread Derzsi Dániel

Change by Derzsi Dániel :


--
keywords: +patch
pull_requests: +28669
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/30466

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46297] Python interpreter crashes on bootup with multiple PythonPaths set in registry

2022-01-07 Thread Derzsi Dániel

New submission from Derzsi Dániel :

When multiple PythonPaths are set up in the registry, in addition to the 
default PythonPath, the interpreter crashes immediately on bootup.

```Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\3.11\PythonPath\Panda3D]
@="C:\\Panda3D-1.11.0-x64\\python"```

The interpreter will crash with the following message:

```Exception ignored error evaluating path:
Traceback (most recent call last):
  File "", line 652, in 
TypeError: QueryValue expected 2 arguments, got 1
Fatal Python error: error evaluating path
Python runtime state: core initialized

Current thread 0x2bd0 (most recent call first):
  ```

This regression was introduced in the Python 3.11 branch with commit 
99fcf1505218464c489d419d4500f126b6d6dc28 on Dec 3, 2021.

--
components: Interpreter Core
messages: 410019
nosy: darktohka
priority: normal
severity: normal
status: open
title: Python interpreter crashes on bootup with multiple PythonPaths set in 
registry
type: crash
versions: Python 3.11

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com