Skip to content

Use Delegates to access Py_NoSiteFlag #1659

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 6, 2022

Conversation

lostmsu
Copy link
Member

@lostmsu lostmsu commented Jan 5, 2022

What does this implement/fix? Explain your changes.

This prevents the Python DLL from being unloaded after Py_NoSiteFlag is set.

Does this close any currently open issues?

fixes #1517

@filmor filmor merged commit 7e5cc29 into pythonnet:master Jan 6, 2022
@lostmsu lostmsu deleted the bugs/SetNoSiteFlag-Ignored branch January 7, 2022 18:23
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.

SetNoSiteFlag is ignored on Windows unless another PythonEngine call precedes it
2 participants