Martin Molinero
fa122fa809
Add missing PyObject.Dispose calls
...
- Adding _some_ of the missing PyObject.Dispose calls. In the cases
where C# is calling the Python side.
- Note that Python calls to C# code is correctly handling the
disposure of resources.
2019-04-10 15:03:10 -03:00
AlexCatarino
ef59fa7ba2
Updates pythonnet package.
...
In the new package:
- C# decimal conversion will use C# double and python float due to the big performance impact of converting C# decimal to python decimal;
2019-01-18 23:18:35 +00:00
Stefano Raggi
57d50c69c4
Fix XML documentation compiler warnings
...
- Fixed all warnings except for missing XML comments (CS1591)
2018-11-09 11:44:03 +01:00
AlexCatarino
bfe8a272ed
Fixes PythonExceptionStackParser
...
`PythonExceptionStackParser` was wrongly replacing all `in` string for `at` where it should only replace the first occurence.
2018-04-13 11:29:38 +01:00
AlexCatarino
7bab95fa0b
Adds methods to create universe selection Func from python methods
2018-04-06 19:41:34 +01:00
AlexCatarino
0bbb5def47
Fixes PythonUtil.PythonExceptionStackParser
2018-03-14 14:37:27 +00:00
AlexCatarino
682b312c0f
Moves GetStringBetweenChars to Extensions from PythonUtil
...
Since this method is not exclusive of python algorithms, it is being moved to Extension methods.
2018-03-07 23:24:35 +00:00
AlexCatarino
b672580693
Implements KeyErrorPythonExceptionInterpreter
2018-03-06 11:05:39 +00:00
AlexCatarino
718c1d61c8
Implements DllNotFoundPythonExceptionInterpreter
...
This exception interpreter interprets a DllNotFoundException that is thrown when pythonnet cannot fing the python dynamic-link library in the system.
2018-03-05 22:55:11 +00:00
AlexCatarino
6fc55de371
Extends SetBenchmark to accept functions as paramenters in Python
2017-10-12 23:57:20 +01:00
AlexCatarino
4119bbfe4b
Implements convertion to System.Action from PyObject
...
Implements ToAction methods that converts a PyObject that represents a method or function into a System.Action object.
2017-10-11 10:37:18 +01:00
AlexCatarino
58a7f0cf8a
Moves ToFunc method from QCAlgorithm to Util/PythonUtil
...
ToFunc method is used to convert a PyObject that represents a method into a System.Func. Since this method will be used across different classes, we are moving it to PythonUtil class.
2017-10-06 16:44:53 +01:00