Skip to content

foreach over dynamic PyObject #1680

@CodingMadness

Description

@CodingMadness

Environment

  • Pythonnet version: 3.0.0
  • Python version: 3.9.5
  • Operating System: windows 10
  • .NET Runtime: .NET 6

Details

Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: "Cannot implicitly convert type 'Python.Runtime.PyObject' to 'System.Collections.IEnumerable'. An explicit conversion exists (are you missing a cast?)"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions