New submission from Derzsi Dániel <dan...@tohka.us>:

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 "<frozen getpath>", line 652, in <module>
TypeError: QueryValue expected 2 arguments, got 1
Fatal Python error: error evaluating path
Python runtime state: core initialized

Current thread 0x00002bd0 (most recent call first):
  <no Python frame>```

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 <rep...@bugs.python.org>
<https://bugs.python.org/issue46297>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to