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.51k stars 290 forks source link

.NET 8.0 #1791

Closed slozier closed 4 months ago

slozier commented 7 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.