[IronPython] Blatant bug

M. David Peterson xmlhacker at gmail.com
Sun Nov 26 12:29:05 CET 2006


Hey Seo,

>From an MS.NET console,

TypeError: Unable to cast object of type 'IronPython.Runtime.List' to type '
IronPython.Runtime.Tuple'.

On 11/26/06, Sanghyeon Seo <sanxiyn at gmail.com> wrote:
>
> def f(*a, **b): print a, b
> f(0, x=1, *[2])
>
> TypeError: Cannot cast from source type to destination type.
>
> Since this is part of Python standard library and not part of Python
> the language, I think it's very obvious that this bug is irrelevant
> for 1.0-matureness of IronPython. Bwahaha.
>
> Sorry.
>
> I haven't tested this on MS.NET. Safeguarding. Just in case.
>
> --
> Seo Sanghyeon
> _______________________________________________
> users mailing list
> users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>



-- 
/M:D

M. David Peterson
http://mdavid.name | http://www.oreillynet.com/pub/au/2354
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20061126/009047e8/attachment.html>


More information about the Ironpython-users mailing list