For the first time, I think, current Mono release can run this new
IronPython release. Nice! I am using Mono 1.1.13.1 from Debian
unstable.
However, some modules that worked on Beta 1 won't work with this
IronPython/Mono combination. This is not IronPython's fault. I
discovered this while trying t
Which is why I suggested an overload. Enums protect against spelling mistakes
that strings, while flexible, promote. With an overload you can use either,
preferring the enum for the compile-time assist (and as an indication that
perhaps the user wants to use the framework implementation of SHA
We have made some changes in this space
but I just haven’t found the change that would have affected this yet…
One thing I’m curious about – is
getMaxSpliiterDistance C# code or Python code? The reason I ask if I’m
wondering if it’s returning a float or a double (we represent Python
fl
The reason we use a string is that it's actually a fully pluggable framework.
For instance, someone in the NSA could have a top-secret hash algorithm that we
didn't put into the framework. They could implement it themselves, register it
in machine.config, and then do HashAlgorithm.Create("Supe
Unless I'm lacking sleep and miss something (likely), you could make an
overload that took an enum, such as the pre-existing ones in the
framework.
-
Keith J. Farmer // [EMAIL PROTECTED]
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Shawn Farkas
Se
If you wanted to easily extend it to other algorithms, then instead of using
MD5.Create() in your __init__, you could instead do HashAlgorithm.Create("MD5").
That allows you to swap in any hash algorithm you'd like (and that the
framework supports) just by swapping the string.
-Shawn
-Orig
Hi,
Thanks for the new release and all the work invested!
I’ve just stepped up from IP 0.9.5 to IP 1.0 Beta 2,
and I noticed the following:
In 0.9.5 the following runs fine, where self.widget is a
Forms.SplitContainer (type: Int32 property) and the r.h.s. is a float, e.g.
md5 module is implemented as a C extension module in CPython. As this
is currently not included in IronPython, I wrote a tiny wrapper around
System.Security.Cryptography. Here it is in case you want it too.
http://sparcs.kaist.ac.kr/~tinuviel/devel/fepy/md5.py
It's under 30 lines!
It should be t