- Notifications
You must be signed in to change notification settings - Fork749
Description
Environment
- Pythonnet version: 3.x
- Python version: 3.8.10
- Operating System: Windows 11 64bit
- .NET Runtime: net6.0
Details
How to reproduce(with project Console.vsproj):@filmor
PythonEngine.Initialize();PythonEngine.Exec("from System import String\nString.Format('{0},{1}', 1, 2)"); // crashes hereint i = Runtime.Py_Main(cmd.Length, cmd);PythonEngine.Shutdown();