Title: Failure in function selection according to parameters · Issue #226 · pythonnet/pythonnet · GitHub
Open Graph Title: Failure in function selection according to parameters · Issue #226 · pythonnet/pythonnet
X Title: Failure in function selection according to parameters · Issue #226 · pythonnet/pythonnet
Description: Hi, until pythonnet 2.1.0 it was possible to call functions with the same name and different parameters. This fails with pythonnet 2.1.0 I have prepared minimal test functions like this, which return the input para string as string, int ...
Open Graph Description: Hi, until pythonnet 2.1.0 it was possible to call functions with the same name and different parameters. This fails with pythonnet 2.1.0 I have prepared minimal test functions like this, which retu...
X Description: Hi, until pythonnet 2.1.0 it was possible to call functions with the same name and different parameters. This fails with pythonnet 2.1.0 I have prepared minimal test functions like this, which retu...
Opengraph URL: https://github.com/pythonnet/pythonnet/issues/226
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Failure in function selection according to parameters","articleBody":"Hi,\nuntil pythonnet 2.1.0 it was possible to call functions with the same name and different parameters. This fails with pythonnet 2.1.0\nI have prepared minimal test functions like this, which return the input para string as string, int or float:\n`public String Function(String para, ref String myout)`\n`public String Function(String para,ref int myout)`\n`public String Function(String para,ref float myout)`\n\nand call them like this\n`from Test import TestClass`\n`dummy=TestClass()`\n\n`print dummy.Function('Echo',str())`\n`print dummy.Function('42',int())`\n`print dummy.Function('3.144',float())`\n\nWith pythonnet==2.0.0 the result is as expected\n`(u'Echo', u'Echo')`\n`(u'42', 42.0)`\n`(u'3.144', 3.144)`\n\npythonnet==2.1.0 returns a TypeError: No method matches given arguments\n\nI have a sample dll and py as a zip, but unfortunately the upload fails.\n(Unfortunately, we don’t support that file type. )\n","author":{"url":"https://github.com/uenz","@type":"Person","name":"uenz"},"datePublished":"2016-06-08T11:05:07.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/226/pythonnet/issues/226"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f09d73ee-5f31-0e2b-151c-ec987e5fbd2a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EDF2:10DEB3:9896DC:D53788:6970B660 |
| html-safe-nonce | 3d732fb444a4bcea8ddfa1a08df139df926479dc38f7271cac904ab7c1c6f291 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFREYyOjEwREVCMzo5ODk2REM6RDUzNzg4OjY5NzBCNjYwIiwidmlzaXRvcl9pZCI6IjMwNTgxMzkzOTM2NzE4NzAwNDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d6bd134deabb9f217f1994cebf64917b2f366b2cecfc00a12449c71eb98f9a7f |
| hovercard-subject-tag | issue:159137241 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/pythonnet/pythonnet/226/issue_layout |
| twitter:image | https://opengraph.githubassets.com/504005aea309e1db9bab76ade6dc7638c92890a39042b8eb4f898e7263c583aa/pythonnet/pythonnet/issues/226 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/504005aea309e1db9bab76ade6dc7638c92890a39042b8eb4f898e7263c583aa/pythonnet/pythonnet/issues/226 |
| og:image:alt | Hi, until pythonnet 2.1.0 it was possible to call functions with the same name and different parameters. This fails with pythonnet 2.1.0 I have prepared minimal test functions like this, which retu... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | uenz |
| hostname | github.com |
| expected-hostname | github.com |
| None | 8e0be80373b724b033cdf8a7b1f78bf5fb6a5d7a2182a9a403aa30894606e390 |
| turbo-cache-control | no-preview |
| go-import | github.com/pythonnet/pythonnet git https://github.com/pythonnet/pythonnet.git |
| octolytics-dimension-user_id | 6050430 |
| octolytics-dimension-user_login | pythonnet |
| octolytics-dimension-repository_id | 14748123 |
| octolytics-dimension-repository_nwo | pythonnet/pythonnet |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 14748123 |
| octolytics-dimension-repository_network_root_nwo | pythonnet/pythonnet |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 84d9d5bf3b01412ea10f7c2429cbfc735ccce9ce |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width