You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support for Python 3.6 will be removed, I would just like to keep it for 3.0. If this issue is not reproducible on the latest 3.6 patch release, it was likely a Python bug (when using the embedding of .NET into Python, we don't even touch the thread state). Thank you for the report, though :)
Can you confirm if Python 3.6 support is still being removed. Ref: #1640 "Drop Python 3.6 support"
The following code works with Python 3.6.14 but fails with Python 3.6.1 with message:
Fatal Python error: take_gil: NULL tstate
Pythonnet version: 3.0.0a2
Python version: 3.6.1=Fail. 3.6.14=Pass
Operating System: Windows 10
.NET Runtime: .NET 6.0.3
The problems happens when .NET tries to callback to Python on line
callback.DynamicInvoke(paramToPass);
Console output:
Python
.NET
Full solution attached: Pythonnet issue with Python 3.6.1.zip
The text was updated successfully, but these errors were encountered: