Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=82270 --- shadow/82270 2007-08-01 04:22:57.000000000 -0400 +++ shadow/82270.tmp.22441 2007-08-01 04:22:57.000000000 -0400 @@ -0,0 +1,68 @@ +Bug#: 82270 +Product: Mono: Runtime +Version: 1.2 +OS: +OS Details: Ubuntu 7.04, Mono 1.2.4 +Status: NEW +Resolution: +Severity: +Priority: Normal +Component: misc +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: Possible bug in Mono's generics support + +Hello! + +I'm a - new - developer of PythonNet http://pythonnet.sf.net/. I was able +to get PythonNet running with Mono and I was even able to fix some problems +related to UCS-4 unicode with help from the mailing list. + +I've an outstanding issue with generics under Mono. Three unit tests +related to generics are failing but the same tests pass under Windows with +.Net 2.0. I'm unable to debug the cause. It might be a bug in Mono's +generics support. Even Miguel said so on the mailing list. + +Install python2.5 python2.5-dev libmono-dev +$ svn co +https://pythonnet.svn.sourceforge.net/svnroot/pythonnet/trunk/pythonnet/ +$ make PYTHON=python2.5 +$ make PYTHON=python2.5 test + +====================================================================== +ERROR: testGenericMethodOverloadSelection (test_generic.GenericTests) +---------------------------------------------------------------------- +Traceback (most recent call last): + File "/home/heimes/dev/python/pythonnet/src/tests/test_generic.py", line +356, in testGener +icMethodOverloadSelection + value = type.Overloaded[str]("test") +TypeError: No match found for given type params + +====================================================================== +ERROR: testGenericMethodTypeHandling (test_generic.GenericTests) +---------------------------------------------------------------------- +Traceback (most recent call last): + File "/home/heimes/dev/python/pythonnet/src/tests/test_generic.py", line +303, in testGener +icMethodTypeHandling + self._testGenericMethodByType(System.Boolean, True) + File "/home/heimes/dev/python/pythonnet/src/tests/test_generic.py", line +202, in _testGene +ricMethodByType + result = stype.Overloaded[ptype](value) +TypeError: No match found for given type params + +====================================================================== +FAIL: Test usage of generic value type definitions. +---------------------------------------------------------------------- +Traceback (most recent call last): + File "/home/heimes/dev/python/pythonnet/src/tests/test_generic.py", line +81, in testGeneri +cValueType + self.failUnless(inst.HasValue) +AssertionError _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
