Return interface objects when iterating over interface collections by danabr · Pull Request #1257 · pythonnet/pythonnet

What does this implement/fix? Explain your changes.

Ensures that objects returned from an iterator are wrapped in an interface object if the iterator is for an interface type.

Does this close any currently open issues?

No

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
  • Add yourself to AUTHORS
  • Updated the CHANGELOG