FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Improve "No method matches given arguments" message with more details by lostmsu · Pull Request #900 · pythonnet/pythonnet · GitHub

Repository navigation

Improve "No method matches given arguments" message with more details - #900

Merged
filmor merged 5 commits into
pythonnet:masterfrom
losttech:PR/OverloadNotFoundMessage
Jun 28, 2019
Merged

filmor merged 5 commits into
pythonnet:masterfrom
losttech:PR/OverloadNotFoundMessage

Conversation

lostmsu commented Jun 26, 2019

Copy link
Copy Markdown
Member

What does this implement/fix? Explain your changes.

This change adds more information to "No method matches given arguments" message. In particular, it collects types of arguments passed by Python. For example:

No method matches given arguments for Add: (<class 'list'>, <class 'tuple'>)

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

filmor merged commit df0574d into pythonnet:master Jun 28, 2019
lostmsu added a commit to losttech/pythonnet that referenced this pull request May 14, 2020
…tails

Similar to pythonnet#900, but for constructors (reuses the same code)

Related issues: pythonnet#811, pythonnet#265, pythonnet#1116
filmor pushed a commit that referenced this pull request May 14, 2020
…tails (#1143)

Similar to #900, but for constructors (reuses the same code)

Related issues: #811, #265, #1116
AlexCatarino pushed a commit to QuantConnect/pythonnet that referenced this pull request Jun 18, 2020
…pythonnet#900)

* generate more useful message, when a .NET overload can't be found, that matches Python parameter types
* provide detailed error message, when an overload can't be found when calling C# from Python

Related: pythonnet#811, pythonnet#265, pythonnet#782
AlexCatarino pushed a commit to QuantConnect/pythonnet that referenced this pull request Jun 29, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

2 participants


Back | FazBrowse Home | New Git URL