Ensure only implementers of IEnumerable or IEnumerator are considered Iterable by danabr · Pull Request #1241 · pythonnet/pythonnet · GitHub
Skip to content

Ensure only implementers of IEnumerable or IEnumerator are considered Iterable#1241

Merged
lostmsu merged 2 commits intopythonnet:masterfrom
danabr:iterable
Sep 29, 2020
Merged

Ensure only implementers of IEnumerable or IEnumerator are considered Iterable#1241
lostmsu merged 2 commits intopythonnet:masterfrom
danabr:iterable

Conversation

@danabr
Copy link
Copy Markdown
Contributor

@danabr danabr commented Sep 26, 2020

Does this close any currently open issues?

Fixes #1234.

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

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Sep 27, 2020

Copy link
Copy Markdown
Member

@filmor filmor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much, looks good to me.

@lostmsu Can you have a look as well?

Mid-term we should probably just fill the slots explicitly instead of picking up methods by name.

Comment thread src/runtime/typemanager.cs Outdated
@lostmsu lostmsu merged commit b5ba815 into pythonnet:master Sep 29, 2020
@lostmsu
Copy link
Copy Markdown
Member

lostmsu commented Sep 29, 2020

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.

.NET class instances considered Iterable

4 participants