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

Allow decoders affect `PyObject.As<object>()` by lostmsu · Pull Request #1546 · pythonnet/pythonnet · GitHub

Allow decoders affect PyObject.As<object>() - #1546

Merged
lostmsu merged 1 commit into
pythonnet:masterfrom
losttech:bugs/As-object-ignores-decoders
Sep 14, 2021
Merged

Allow decoders affect PyObject.As<object>()#1546
lostmsu merged 1 commit into
pythonnet:masterfrom
losttech:bugs/As-object-ignores-decoders

Conversation

lostmsu commented Sep 5, 2021

Copy link
Copy Markdown
Member

What does this implement/fix? Explain your changes.

Prior to this change there was a discrepancy between .As<object>() and .AsManagedObject(typeof(object)): the former would bypass all registered custom decoders.

Checklist

Check all those that are applicable and complete.

  • Make sure to include one or more tests for your change

lostmsu merged commit 93e0bdb into pythonnet:master Sep 14, 2021
lostmsu deleted the bugs/As-object-ignores-decoders branch September 14, 2021 19:28
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.

1 participant


Back | FazBrowse Home | New Git URL