Visitar URL original
Fix shutdown regression with BinaryFormatter by filmor · Pull Request #2750 · pythonnet/pythonnet · GitHub
Skip to content

Fix shutdown regression with BinaryFormatter - #2750

Merged
filmor merged 1 commit into
masterfrom
fix/shutdown-regression
Oct 6, 2026
Merged

filmor merged 1 commit into
masterfrom
fix/shutdown-regression

Conversation

@filmor

@filmor filmor commented Oct 6, 2026 •

Copy link
Copy Markdown
Member

What does this implement/fix? Explain your changes.

The ConcurrentDictionary fields that were introduced to support
free-threaded Python builds are not serializable and thus need to be
rebuilt when the runtime data is unstashed.

Does this close any currently open issues?

#2748

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

The `ConcurrentDictionary` fields that were introduced to support
free-threaded Python builds are not serializable and thus need to be
rebuilt when the runtime data is unstashed.
@filmor
filmor merged commit 5aa8111 into master Oct 6, 2026
39 checks passed
@filmor
filmor deleted the fix/shutdown-regression branch October 6, 2026 11:56
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.

1 participant