ironpython2 icon indicating copy to clipboard operation
ironpython2 copied to clipboard

IronPython incompatible with .NET 5

Open JohnTenney opened this issue 6 years ago • 2 comments

Prerequisites

Install .NET 5 RC 2

Description

Simple import commands fail with .NET 5

Steps to Reproduce

issue the command "import collections" to the interpeter

Expected behavior: Should return without error

Actual behavior:

import collections Traceback (most recent call last): File "c:\xxxi\bin\Debug\net5.0-windows\win10-x64\Lib\collections.py", line 24, in SystemError: The type initializer for 'CodecsInfo' threw an exception.

Versions

IronPython 2.7.10

JohnTenney avatar Oct 21 '20 20:10 JohnTenney

I think this is the same as https://github.com/IronLanguages/ironpython2/issues/731? Did you try with 2.7.11-candidate1?

slozier avatar Oct 21 '20 20:10 slozier

Yes, this is resolved with 2.7.11. Thanks!

JohnTenney avatar Oct 21 '20 21:10 JohnTenney