| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
PyInt -> int32 .NET arrays and collections -> Python list (due to mutability)
There was a problem hiding this comment.
A few minor isssues
Sorry, something went wrong.
| { | ||
| if (setError) | ||
| { | ||
| Exceptions.SetError(ex.InnerException); |
There was a problem hiding this comment.
Should be just SetError(ex)
Sorry, something went wrong.
| return true; | ||
| } | ||
| // shouldn't happen | ||
| return false; | ||
| } |
There was a problem hiding this comment.
Fallback branch should be added.
Sorry, something went wrong.
… point types arbitrary Python objects are no longer implicitly converted to .NET bool type this is a continuation of pythonnet#1568
… point types arbitrary Python objects are no longer implicitly converted to .NET bool type this is a continuation of pythonnet#1568
… point types arbitrary Python objects are no longer implicitly converted to .NET bool type this is a continuation of pythonnet#1568
… point types arbitrary Python objects are no longer implicitly converted to .NET bool type this is a continuation of pythonnet#1568
… point types arbitrary Python objects are no longer implicitly converted to .NET bool type this is a continuation of pythonnet#1568
… point types arbitrary Python objects are no longer implicitly converted to .NET bool type this is a continuation of #1568
| Back | FazBrowse Home | New Git URL |
What does this implement/fix? Explain your changes.
This removes the following conversions:
PyInt -> int32 (when trying to convert to object only)
.NET arrays and collections -> Python list (due to mutability)
Additionally, PyObject no longer implements IEnumerable<PyObject>, as not all python objects are iterable. Instead, a new class PyIterable is added.
Checklist