Add context manager protocol for .NET IDisposable types by den-run-ai · Pull Request #2568 · pythonnet/pythonnet · GitHub
Skip to content

Add context manager protocol for .NET IDisposable types#2568

Open
den-run-ai wants to merge 5 commits intopythonnet:masterfrom
den-run-ai:feature/context-manager-disposable
Open

Add context manager protocol for .NET IDisposable types#2568
den-run-ai wants to merge 5 commits intopythonnet:masterfrom
den-run-ai:feature/context-manager-disposable

Conversation

@den-run-ai
Copy link
Copy Markdown
Contributor

What does this implement/fix? Explain your changes.

Implemented IDisposable based on this discussion:
#79

@microsoft-github-policy-service agree

Checklist

Check all those that are applicable and complete.

  • Make sure to include one or more tests for your change
  • If an enhancement PR, please create docs and at best an example
  • Ensure you have signed the .NET Foundation CLA
  • Add yourself to AUTHORS
  • Updated the CHANGELOG

@lostmsu
Copy link
Copy Markdown
Member

lostmsu commented Mar 24, 2025

@den-run-ai
Copy link
Copy Markdown
Contributor Author

This seems not related to this PR @lostmsu

i tested on mac with .net 8

@lostmsu
Copy link
Copy Markdown
Member

lostmsu commented Apr 11, 2025

@den-run-ai This is definitely related to PR, master does not seem to be failing these tests.

@michaelblyons
Copy link
Copy Markdown

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.

4 participants