{"action":"opened","issue":{"url":"https://api.github.com/repos/pythonnet/pythonnet/issues/226","repository_url":"https://api.github.com/repos/pythonnet/pythonnet","labels_url":"https://api.github.com/repos/pythonnet/pythonnet/issues/226/labels{/name}","comments_url":"https://api.github.com/repos/pythonnet/pythonnet/issues/226/comments","events_url":"https://api.github.com/repos/pythonnet/pythonnet/issues/226/events","html_url":"https://github.com/pythonnet/pythonnet/issues/226","id":159137241,"number":226,"title":"Failure in function selection according to parameters","user":{"login":"uenz","id":3243271,"avatar_url":"https://avatars.githubusercontent.com/u/3243271?v=3","gravatar_id":"","url":"https://api.github.com/users/uenz","html_url":"https://github.com/uenz","followers_url":"https://api.github.com/users/uenz/followers","following_url":"https://api.github.com/users/uenz/following{/other_user}","gists_url":"https://api.github.com/users/uenz/gists{/gist_id}","starred_url":"https://api.github.com/users/uenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uenz/subscriptions","organizations_url":"https://api.github.com/users/uenz/orgs","repos_url":"https://api.github.com/users/uenz/repos","events_url":"https://api.github.com/users/uenz/events{/privacy}","received_events_url":"https://api.github.com/users/uenz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-08T11:05:07Z","updated_at":"2016-06-08T11:05:07Z","closed_at":null,"body":"Hi,\r\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\r\nI have prepared minimal test functions like this, which return the input para string as string, int or float:\r\n`public String Function(String para, ref String myout)`\r\n`public String Function(String para,ref int myout)`\r\n`public String Function(String para,ref float myout)`\r\n\r\nand call them like this\r\n`from Test import TestClass`\r\n`dummy=TestClass()`\r\n\r\n`print dummy.Function('Echo',str())`\r\n`print dummy.Function('42',int())`\r\n`print dummy.Function('3.144',float())`\r\n\r\nWith pythonnet==2.0.0 the result is as expected\r\n`(u'Echo', u'Echo')`\r\n`(u'42', 42.0)`\r\n`(u'3.144', 3.144)`\r\n\r\npythonnet==2.1.0 returns a TypeError: No method matches given arguments\r\n\r\nI have a sample dll and py as a zip, but unfortunately the upload fails.\r\n(Unfortunately, we don’t support that file type. )\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"uenz"}}