IronLanguages / ironpython3

Implementation of Python 3.x for .NET Framework that is built on top of the Dynamic Language Runtime.
Apache License 2.0
2.48k stars 287 forks source link

.NET 8.0 #1791

Closed slozier closed 3 months ago

slozier commented 6 months ago

Adds .NET 8.0 target.

Since BinaryFormatter now throws an exception (see https://learn.microsoft.com/en-us/dotnet/core/compatibility/serialization/8.0/binaryformatter-disabled) this removes FEATURE_SERIALIZATION feature symbol from the target. Added __getnewargs__ extensions to primitive types to allow some serialization via pickle.