ironpython2
ironpython2 copied to clipboard
Implementation of the Python programming language for .NET Framework; built on top of the Dynamic Language Runtime (DLR).
In opencvsharp: ```csharp public ref T At(params int[] idx) where T : unmanaged; ``` In my program: ```python confidence = detectionMat.At[float]((i, 2)) ``` Got an error: System.ArgumentException: The type 'System.Double&'...
Python 2.7.11 on .NET Core 3.1 hosted in Azure on service fabric. Initially everything works, after a while a certain library fails, namely json ``` { "ClassName": "System.MissingMemberException", "Message": "'module'...
### Description Compiling an erroneous list comprehension that has a misplaced literal where the receiving variable should be results in an InvalidOperationException instead of a syntax error. Example reproducing code:...
### Description `sys._getframe(0).f_lineno` always returns `1`, even with `-X:FullFrames`. Also reported at IronLanguages/main#847 ### Steps to Reproduce Run the code with or without `-X:FullFrames`: ``` import sys print('Line: {}'.format(sys._getframe(0).f_lineno)) ```...
Here is an example: ```Python class newint(long): def __int__(self): return self chr(newint(0)) ``` fails with > TypeError: Specified cast is not valid. Another example: ```Python class test(object): def __int__(self): return...
### Prerequisites The issue tracker is used to report bugs and request new features, NOT to ask questions. Questions should be posted to the users mailing list which can be...
### Prerequisites The issue tracker is used to report bugs and request new features, NOT to ask questions. Questions should be posted to the users mailing list which can be...
Hello, I am working on a small application, hybrid of C# and IP. IP is embedded as engine in C# which uses Ironpython.DLL and other assemblies to create Python.engine and...
The problem is demonstrated by the examples below. This is bad from compatibility point of view. Code expecting `IOError` in this kind of error situation is likely to fail if...
I am experiencing memory leaks when repeatidly calling InvokeMember() of Microsoft.Scripting.Hosting.ObjectOperations. It seems that the method CleanupNoLock() of Microsoft.Scripting.Runtime.DynamicOperations class doesn't properly clean up the _sites cash. To demonstrate the...