Python CPU

geremy condra debatem1 at
Fri Apr 1 13:12:24 EDT 2011

On Fri, Apr 1, 2011 at 10:00 AM, Stefan Behnel <stefan_ml at> wrote:
> Nobody, 01.04.2011 18:52:
>> Java is a statically-typed language which makes a distinction between
>> primitive types (bool, int, double, etc) and objects. Python is a
>> dynamically-typed language which makes no such distinction. Even something
>> as simple as "a + b" can be a primitive addition, a bigint addition, a
>> call to a.__add__(b) or a call to b.__radd__(a), depending upon the values
>> of a and b (which can differ for different invocations of the same code).
>> This is one of the main reasons that statically-typed languages exist, and
>> are used for most production software.
> I doubt that the reason they are "used for most production software" is a
> technical one.

I also suspect that there's some confusion between duck typing and
typelessness going on here.

Geremy Condra

More information about the Python-list mailing list