Skip to content

Allow dynamic PyObject conversion to IEnumerable #1697

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
Feb 17, 2022

Conversation

lostmsu
Copy link
Member

@lostmsu lostmsu commented Feb 17, 2022

When the object is a Python iterable

What does this implement/fix? Explain your changes.

Enables foreach loops over dynamic PyObject instances

Does this close any currently open issues?

#1680

Checklist

Check all those that are applicable and complete.

  • Make sure to include one or more tests for your change
  • If an enhancement PR, please create docs and at best an example
  • Ensure you have signed the .NET Foundation CLA
  • Add yourself to AUTHORS
  • Updated the CHANGELOG

… Python iterable

this enables foreach loops over dynamic PyObject instances

closes pythonnet#1680
@lostmsu lostmsu merged commit ad0d4e7 into pythonnet:master Feb 17, 2022
@lostmsu lostmsu deleted the features/DynamicForEach branch February 17, 2022 19:29
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.

2 participants