[IronPython] why?

Bob Ippolito bob at redivi.com
Wed Sep 15 21:48:20 CEST 2004

On Sep 15, 2004, at 11:44 AM, Curt Hagenlocher wrote:

> "J. Merrill" <jvm_cop at spamcop.net> writes:
>> Perhaps ReflectedMethodBase.Call needs a new, optional, boolean
>> parameter (default false) indicating whether an automatic cast to
>> boolean should happen.
> What about code like
>      ClrObject.Enabled = 1
> Shouldn't there be a translation of int <=> boolean there?  As far
> as I can tell, the Python boolean type wasn't added until 2.3, and
> there are probably still a lot of people (like me) that would write
> the code that way.

2.2.1 added True and False to __builtin__, 2.3 added an actual bool 


More information about the Ironpython-users mailing list