Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 14, 2021

Conversation

lostmsu
Copy link
Member

@lostmsu lostmsu commented Sep 5, 2021

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