main
main copied to clipboard
negative scenario: bad error message: m() takes exactly 1 argument (2 given), actually 0 is given
namespace NS {
public interface I {
void m(out int arg);
}
}
import clr
clr.AddReference("c")
from NS import *
class D(I):
def m(self): pass
I.m(D())
TypeError: m() takes exactly 1 argument (2 given) # 0 given...
Work Item Details
Original CodePlex Issue: Issue 23931 Status: Active Reason Closed: Unassigned Assigned to: Unassigned Reported on: Jul 28, 2009 at 12:11 AM Reported by: dfugate Updated on: Feb 22, 2013 at 2:12 AM Updated by: jdhardy Custom value: Reported internally at Microsoft. CreatedDate: 1/22/2008 NewInternalID: 409753 OldInternalID: 370002 AreaPath: IronPython
Plaintext Attachments
On 2011-01-30 03:46:58 UTC, rjnienaber commented:
Still the same error on 2.6.2 and 2.7b1.