You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The plan would be to make the generic-locator code more effective.
mhandschuh [4:11 PM]
I would recommend looking at the MethodBinder -- it appears to be matching directly on type and not using Type.IsAssignableFrom which should properly handle super types (going from SimpleMovingAverage to IndicatorBase)
We're not really sure the flow on impacts for the whole library -- is this feasible; or are other parts of the code dependent on this = statement?
The text was updated successfully, but these errors were encountered:
jaredbroad
changed the title
Suggestion / Seeking Feedback for Potential PR:
Seeking Feedback for Potential PR: Method Binder IsAssignable From
Aug 25, 2017
One of our team (@mchandschuh) suggested this line could be substituted for a "IsAssignableFrom" check. https://github.com/pythonnet/pythonnet/blob/master/src/runtime/methodbinder.cs#L60
The plan would be to make the generic-locator code more effective.
mhandschuh [4:11 PM]
I would recommend looking at the MethodBinder -- it appears to be matching directly on type and not using
Type.IsAssignableFrom
which should properly handle super types (going from SimpleMovingAverage to IndicatorBase)We're not really sure the flow on impacts for the whole library -- is this feasible; or are other parts of the code dependent on this = statement?
The text was updated successfully, but these errors were encountered: