| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Codecov Report
@@ Coverage Diff @@
## master #1078 +/- ##
=======================================
Coverage 86.75% 86.75%
=======================================
Files 1 1
Lines 302 302
=======================================
Hits 262 262
Misses 40 40
Continue to review full report at Codecov.
|
Sorry, something went wrong.
GetRawPythonProxy creates a PyObject pointing to the specified object without performing any coversions, which lets .NET code to pass CLR objects as-is, if it needs Python to have direct access to them. This enables codecs to create arbitrary proxy objects, bypassing default conversions or other registered codecs.
…sting PyObject.FromManagedObject Reverts most of pythonnet#1078
GetRawPythonProxy creates a PyObject pointing to the specified object without performing any coversions, which lets .NET code to pass CLR objects as-is, if it needs Python to have direct access to them. This enables codecs to create arbitrary proxy objects, bypassing default conversions or other registered codecs.
…sting PyObject.FromManagedObject (pythonnet#1132) Reverts most of pythonnet#1078
| Back | FazBrowse Home | New Git URL |
What does this implement/fix? Explain your changes.
GetRawPythonProxy creates a PyObject pointing to the specified CLR object without performing any conversions, which lets .NET code to pass CLR objects as-is, if it needs Python to have direct access to them.
This is necessary to allow codecs to create arbitrary proxy objects for .NET objects, bypassing default conversions or other registered codecs.
Does this close any currently open issues?
This is related to #514
Any other comments?
Without GetRawPythonProxy it is impossible for a user to define custom codec for List<T>, that returns raw proxy to List<T>, as they have no other means to obtain one.
Checklist
Check all those that are applicable and complete.