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

Make .NET objects that have__call__ method callable from Python#1589

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
filmor merged 1 commit intopythonnet:masterfromlosttech:callable
Oct 14, 2021

Conversation

lostmsu
Copy link
Member

What does this implement/fix? Explain your changes.

Implemented by addingtp_call toClassBase, that uses reflection to find__call__ methods in .NET, and falls back to invoking__call__ method from Python base classes.

Does this close any currently open issues?

Implements#890

Any other comments?

This is an amalgamation ofd46878c,5bb1007, and960457f fromhttps://github.com/losttech/pythonnet

Checklist

Check all those that are applicable and complete.

  • Make sure to include one or more tests for your change
  • If an enhancement PR, please create docs and at best an example
  • Updated theCHANGELOG

@lostmsulostmsu added this to the3.0.0 milestoneOct 6, 2021
@lostmsulostmsuforce-pushed thecallable branch 4 times, most recently fromd0f8cdc to00cca0fCompareOctober 7, 2021 00:04
@lostmsulostmsu requested a review fromfilmorOctober 7, 2021 00:09
Implemented by adding tp_call to ClassBase, that uses reflection to find __call__ methods in .NETfixespythonnet#890this is an amalgamation ofd46878c,5bb1007, and960457f fromhttps://github.com/losttech/pythonnet
@filmorfilmor merged commitbc3265d intopythonnet:masterOct 14, 2021
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@filmorfilmorfilmor approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
3.0.0
Development

Successfully merging this pull request may close these issues.

2 participants
@lostmsu@filmor

[8]ページ先頭

©2009-2025 Movatter.jp