[IronPython] PyYAML on IronPython

2008-02-02 Thread Sanghyeon Seo
Hello the IronPython list and yaml-core list,

Some of you may want to investigate PyYAML on IronPython test
failures, performance, etc.

$ svn co http://svn.pyyaml.org/pyyaml/trunk pyyaml
$ cd pyyaml

$ PYTHONPATH=lib python tests/test_yaml.py # Python 2.4
Ran 1210 tests in 4.638s
OK
$ IRONPYTHONPATH=lib ipy tests/test_yaml.py # IronPython 1
Ran 1210 tests in 36.698s
FAILED (failures=8, errors=57)
$ IRONPYTHONPATH=lib ipy2 tests/test_yaml.py # IronPython 2
Ran 1210 tests in 61.871s
FAILED (failures=7, errors=57)

-- 
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


[IronPython] Template argument type inference

2008-02-02 Thread Curt Hagenlocher
Is it expected that the DLR and/or IronPython will eventually try to infer
template arguments when calling a generically-defined functions?

PS F:\IPCE-r7\ipy2> *.\ipy.exe*
IronPython 2.0 Alpha (2.0.0.800) on .NET 2.0.50727.1433
Copyright (c) Microsoft Corporation. All rights reserved.
>>> *import clr*
>>> *clr.AddReferenceByPartialName('xunit')
*>>> *from Xunit import Assert
*>>> *Assert.Equal(1, 1)
*Traceback (most recent call last):
  File , line unknown, in ##137
TypeError: Equal() takes at least 2147483647 arguments (2 given)
>>> *Assert.Equal[type(1)](1, 1)
*>>>

Should I file a CodePlex issue for that rather unintuitive error message?

--
Curt Hagenlocher
[EMAIL PROTECTED]
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com