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

__name__ and __signature__ for .NET methods#1133

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
lostmsu merged 1 commit intopythonnet:masterfromlosttech:PR/Inspect
Oct 1, 2021

Conversation

lostmsu
Copy link
Member

What does this implement/fix? Explain your changes.

This implements__name__ and__signature__ Python members for reflected .NET methods, that enables them to be analyzed withinspect module.

Does this close any currently open issues?

N/A

Any other comments?

Some Python libraries validate passed callables by usinginspect module. This makes it possible for .NET methods to pass this kind of validation.

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
  • Add yourself toAUTHORS
  • Updated theCHANGELOG

@codecov-io
Copy link

codecov-io commentedMay 14, 2020
edited
Loading

Codecov Report

Merging#1133 intomaster willnot change coverage.
The diff coverage isn/a.

Impacted file tree graph

@@           Coverage Diff           @@##           master    #1133   +/-   ##=======================================  Coverage   86.66%   86.66%           =======================================  Files           1        1             Lines         300      300           =======================================  Hits          260      260             Misses         40       40
FlagCoverage Δ
#setup_linux65.33% <ø> (ø)
#setup_windows72.00% <ø> (ø)

Continue to review full report at Codecov.

Legend -Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing data
Powered byCodecov. Last updated8f5ab0...da968d0. Read thecomment docs.

@filmor
Copy link
Member

@lostmsu Can you update this with the latestmaster? Should this go into 2.5?

@lostmsu
Copy link
MemberAuthor

@filmor this is not a breaking change, so as you wish.

@filmorfilmor added this to the3.0.0 milestoneMay 17, 2020
@filmor
Copy link
Member

After looking at it a bit, I'd rather merge this later (maybe backporting to 2.5) because relying on standard library modules is always a bit tricky (cf. theplatform fiasco... ;)).

@codecov-commenter
Copy link

codecov-commenter commentedMay 29, 2020
edited
Loading

Codecov Report

Merging#1133 intomaster willdecrease coverage by0.27%.
The diff coverage isn/a.

Impacted file tree graph

@@            Coverage Diff             @@##           master    #1133      +/-   ##==========================================- Coverage   86.53%   86.25%   -0.28%==========================================  Files           1        1                Lines         297      291       -6     ==========================================- Hits          257      251       -6  Misses         40       40
FlagCoverage Δ
#setup_linux64.94% <ø> (-0.04%)⬇️
#setup_windows72.50% <ø> (+0.45%)⬆️
Impacted FilesCoverage Δ
setup.py86.25% <0.00%> (-0.28%)⬇️

Continue to review full report at Codecov.

Legend -Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing data
Powered byCodecov. Last update742463e...e104143. Read thecomment docs.

@lostmsulostmsu merged commit748d3d7 intopythonnet:masterOct 1, 2021
@lostmsulostmsu deleted the PR/Inspect branchOctober 1, 2021 02:34
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@filmorfilmorfilmor left review comments

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

Successfully merging this pull request may close these issues.

4 participants
@lostmsu@codecov-io@filmor@codecov-commenter

[8]ページ先頭

©2009-2025 Movatter.jp