[IronPython] TypeError: multiple overloads of Create could match()

Mark Rees mark.john.rees at gmail.com
Wed Jul 26 05:57:16 CEST 2006

On 7/26/06 in another thread, Kevin Chu <redmoon17 at gmail.com> wrote:
> I try this md5.py,but throw an exception!
> >>> import md5
> >>> m=md5.new()
> Traceback (most recent call last):
>   File , line 0, in <stdin>##12
>   File D:\TECH\IronPython\Lib\md5.py, line 31, in new
>   File D:\TECH\IronPython\Lib\md5.py, line 15, in __init__
> TypeError: multiple overloads of Create could match ()
>   Create()
>   Create()

The MD5 class has 2 overloads for the Create method


In Beta 9:

m = MD5.Create() worked

but in RC1 it gives the error Kevin reported.

I get a similar error if I do:

m = MD5.Create("MD5")

Is this a bug?



More information about the Ironpython-users mailing list