| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Codecov Report
@@ Coverage Diff @@
## master #1076 +/- ##
=======================================
Coverage 86.66% 86.66%
=======================================
Files 1 1
Lines 300 300
=======================================
Hits 260 260
Misses 40 40
Continue to review full report at Codecov.
|
Sorry, something went wrong.
| if (Path.IsPathRooted(name)) | ||
| { | ||
| if (!Path.HasExtension(name)) | ||
| if (!Path.HasExtension(name) && Runtime.InteropVersion < new Version(3, 0)) |
There was a problem hiding this comment.
If this was for compatibility, you can probably remove it.
Sorry, something went wrong.
|
Fine by me, but please add a changelog entry for the breaking change. |
Sorry, something went wrong.
…ore info when CLR assemblies are failed to be loaded 1. When trying to implicitly load assemblies, and that fails NOT because an assembly is missing, but because loading failed for some reason, emit Python warning. 2. When trying to import a module in our import hook, if the module name is an assembly name, and we fail to load it, and Python also fails to find a module with the same name, add the exceptions we got during the attempt to load it into __cause__ of the final ImportError BREAKING: clr.AddReference will now throw exceptions besides FileNotFoundException. Additional: a few uses of BorrowedReference This addresses pythonnet#261 It is an alternative to pythonnet#298
|
I dropped the update, that tried to remove legacy "CLR." module from this change, as it started growing in scope, and is not directly related to this change. |
Sorry, something went wrong.
Codecov Report
@@ Coverage Diff @@
## master #1076 +/- ##
=======================================
Coverage 86.25% 86.25%
=======================================
Files 1 1
Lines 291 291
=======================================
Hits 251 251
Misses 40 40
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
What does this implement/fix? Explain your changes.
BREAKING: clr.AddReference will now throw exceptions besides FileNotFoundException.
Additional: a few uses of BorrowedReference
Does this close any currently open issues?
This addresses #261
It is an alternative to #298
Checklist
Check all those that are applicable and complete.