Skip to content

Special Parameter not Converting Correctly #916

@sekkit

Description

@sekkit

Environment

  • Pythonnet version: latest
  • Python version: 3.7.4
  • Operating System: Win10 1903

Details

  • Describe what you were trying to get done.
    class logger
    {
    public static void error(params object[] msgs)
    {
    //
    }
    }

    In Pyscript:
    logger.error("helloworld")

    the parameter msgs in C# stack, will become ['h', 'e', 'l', ..., 'd']

    Conclusion: parameter is not converted correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions