On Mon, Feb 27, 2012 at 9:20 AM, Jeff Hardy wrote:
> ...
> I added conversions from System.Decimal to decimal.Decimal in
> 2.7.2, but I didn't think about implicit conversions of other types.
> I'm thinking now that anything that's either a System.Decimal or
> implicitly convertible to System.D
On behalf of the IronPython team, I'm happy to announce the first (and
probably only) beta release of IronPython 2.7.2.
Like all IronPython 2.7-series releases, *.NET 4 is required* to
install it. Installing this release will replace any existing
IronPython 2.7-series installation.
Unlike previou
> On Fri, Feb 24, 2012 at 7:50 PM, Cesar Mello wrote:
> I agree it may be error-prone. But there are valid scenarios where it is not.
> Although implementing the arithmetic overloads allow me to mix DataValues and
> floats in the same expressions, I am not able to initialize a Python's
> Decima
> Hi,
>
> I answer my own question to get the solution into the archives:
>
>> I have a .NET object which exposes a method "import(some, parameters)"
>> method. However, I cannot call this method as "import" is a reserved
>> keyword in IronPython. How to call this method?
>
> The "__getattribute__"
Hi ironpython,
Here's your Daily Digest of new issues for project "IronPython".
In today's digest:ISSUES
1. [New issue] IronPython.Wpf.dll is not loaded as intended
--
ISSUES
1. [New issue] IronPython.Wpf.dll is not loaded as intended
http://ironpyt
Hi,
I answer my own question to get the solution into the archives:
> I have a .NET object which exposes a method "import(some, parameters)"
> method. However, I cannot call this method as "import" is a reserved keyword
> in IronPython. How to call this method?
The "__getattribute__" method se
Hi,
I have a .NET object which exposes a method "import(some, parameters)" method.
However, I cannot call this method as "import" is a reserved keyword in
IronPython. How to call this method?
Best regards
Markus Schaber
--
___
We software Automation.
3S-Smart Software
Hi, Cesar,
In C#, there's one difference in the following line:
double sum = val1 + val2;
Here, the compiler knows that the result of the expression should be double,
and so it can search for implicit cast operators to double.
In python, you just write
sum = val1 + val2
So the co
Hi,
One other thing I forgot:
If you want to create a Decimal out of your DataValue, you could add an
implicit operator Decimal to your DataValue as a workaround instead.
Best regards
Markus Schaber
--
___
We software Automation.
3S-Smart Software Solutions GmbH
Marku