🌐 AI搜索 & 代理 主页
Skip to content

Conversation

@lostmsu
Copy link
Member

@lostmsu lostmsu commented Mar 3, 2022

What does this implement/fix? Explain your changes.

passing Python objects to unsuspecting .NET methods, that accept object would lead to crash if those methods try to use standard .NET System.Object members without acquiring the Python GIL first.

Does this close any currently open issues?

fixes #1642

Checklist

Check all those that are applicable and complete.

@lostmsu lostmsu merged commit eec30c0 into pythonnet:master Mar 4, 2022
@lostmsu lostmsu deleted the PyObjectGil branch March 4, 2022 05:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Using String.Format crashes inside pythonnet

2 participants