Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.dougwise.org!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.04; 'distinction': 0.07; 'int,': 0.07; 'python': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'code).': 0.16; 'double,': 0.16; 'from:addr:behnel.de': 0.16; 'from:addr:stefan_ml': 0.16; 'from:name:stefan behnel': 0.16; 'invocations': 0.16; 'received:84.153': 0.16; 'received:dip.t-dialin.net': 0.16; 'received:t-dialin.net': 0.16; 'software"': 0.16; 'language': 0.20; '(which': 0.21; 'software.': 0.21; 'header:In-Reply-To:1': 0.22; 'values': 0.23; 'differ': 0.23; 'exist,': 0.23; 'java': 0.24; 'received:84': 0.25; 'technical': 0.29; 'stefan': 0.29; 'objects.': 0.31; 'to:addr :python-list': 0.32; 'etc)': 0.33; 'header:X-Complaints-To:1': 0.34; 'header:User-Agent:1': 0.35; 'addition,': 0.37; 'languages': 0.38; 'reasons': 0.38; 'used': 0.38; 'received:org': 0.38; 'to:addr:python.org': 0.39; 'header:Mime-Version:1': 0.39; 'header:Received:5': 0.40; 'simple': 0.60; 'upon': 0.63; 'production': 0.65 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Stefan Behnel Subject: Re: Python CPU Date: Fri, 01 Apr 2011 19:00:53 +0200 References: <01bd055b-631d-45f0-90a7-229da4a9a362@t19g2000prd.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: p5499ad2f.dip.t-dialin.net User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Lightning/1.0b2 Thunderbird/3.1.8 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 16 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1301677267 news.xs4all.nl 81478 [::ffff:82.94.164.166]:32770 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:2373 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. Stefan