PEP0238 lament

Stephen Horne steve at lurking.demon.co.uk
Mon Jul 23 02:39:14 EDT 2001


On Mon, 23 Jul 2001 00:00:53 +0300, Moshe Zadka
<moshez at zadka.site.co.il> wrote:

>On Sun, 22 Jul 2001 13:24:22 -0700, Erik Max Francis <max at alcyone.com> wrote:
> 
>> I agree.  It's turning an otherwise fairly strongly (but dynamically)
>> typed language on its head.  If I want type-changing operations, I'll do
>> them explicitly.
>
>Be sure to tell math.cos that...it has been "silently" turning integers
>into floats for years.

Implicit typecasting is not the issue. Even C and C++ support implicit
typecasting - that does not mean the integer operations give float
results, which is a completely separate issue.




More information about the Python-list mailing list