FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

#1047 ModuleObject __getattribute__ doesn't treat exceptions ocurred during internal GetAttribute by andreydani · Pull Request #1048 · pythonnet/pythonnet · GitHub

Repository navigation

#1047 ModuleObject __getattribute__ doesn't treat exceptions ocurred during internal GetAttribute - #1048

Merged
lostmsu merged 3 commits into
pythonnet:masterfrom
andreydani:master
Feb 22, 2020
Merged

lostmsu merged 3 commits into
pythonnet:masterfrom
andreydani:master

Conversation

Copy link
Copy Markdown

…during internal GetAttribute

What does this implement/fix? Explain your changes.

It converts any exception retured from GetAttribute into a Python exception

Does this close any currently open issues?

Yes, Issue #1047

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 to AUTHORS
  • Updated the CHANGELOG

Andrey Santanna added 2 commits February 20, 2020 12:03
}

ManagedType attr = self.GetAttribute(name, true);
ManagedType attr = null;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

NIT: = null is not needed AFAIK

codecov-io commented Feb 21, 2020 •
edited
Loading

Copy link
Copy Markdown

Codecov Report

Merging #1048 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1048   +/-   ##
=======================================
  Coverage   86.75%   86.75%           
=======================================
  Files           1        1           
  Lines         302      302           
=======================================
  Hits          262      262           
  Misses         40       40
Flag Coverage Δ
#setup_linux 65.56% <ø> (ø) ⬆️
#setup_windows 65.89% <ø> (-5.63%) ⬇️
Impacted Files Coverage Δ
setup.py 86.75% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f25694e...1aabd61. Read the comment docs.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL