Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Seeking Feedback for Potential PR: Method Binder IsAssignable From #529

Open
@jaredbroad

Description

@jaredbroad

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 usingType.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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp