Allow dynamic `PyObject` conversion to `IEnumerable` by lostmsu · Pull Request #1697 · pythonnet/pythonnet
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?
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