Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!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; 'int': 0.05; 'typing': 0.05; 'implicit': 0.07; 'numeric': 0.07; 'though.': 0.07; 'python': 0.07; '21,': 0.09; 'from:addr:python': 0.09; 'implicitly': 0.09; 'not?': 0.09; 'subject:tutorial': 0.09; 'weak': 0.09; 'pm,': 0.11; '>>>': 0.12; 'wrote:': 0.14; '"1"': 0.16; 'false:': 0.16; 'from:addr:mrabarnett.plus.com': 0.16; 'from:name:mrab': 0.16; 'iterable,': 0.16; 'mart\xednez': 0.16; 'message-id:@mrabarnett.plus.com': 0.16; 'received:84.92': 0.16; 'received:84.92.122': 0.16; 'received:84.92.122.60': 0.16; 'reply- to:addr:python-list': 0.16; 'float': 0.16; 'header:In-Reply-To:1': 0.22; 'convert': 0.22; 'file,': 0.22; 'thu,': 0.22; '(though': 0.23; 'received:84': 0.25; 'chris': 0.27; 'url:mailman': 0.27; 'class': 0.29; 'explicitly': 0.29; 'variables': 0.29; 'probably': 0.30; 'types.': 0.31; 'does': 0.31; 'it.': 0.31; 'to:addr:python- list': 0.32; 'url:listinfo': 0.33; 'header:User-Agent:1': 0.35; 'reply-to:addr:python.org': 0.35; 'some': 0.37; 'url:python': 0.37; 'apr': 0.38; 'feels': 0.38; 'url:org': 0.38; 'strong': 0.39; 'to:addr:python.org': 0.39; 'could': 0.39; "it's": 0.40; 'database,': 0.60; '2011': 0.62; 'browser': 0.64; 'reply-to:no real name:2**0': 0.72; 'header:Reply-To:1': 0.72; 'subject:online': 0.77 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AoIHAK9WsE3Unw4S/2dsb2JhbACXf41Id8Q5hXYEkjA Date: Thu, 21 Apr 2011 17:13:06 +0100 From: MRAB User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: python-list@python.org Subject: Re: learnpython.org - an online interactive Python tutorial References: <506eb5e4-4f29-473a-8d47-2082322e005e@glegroupsg2000goo.googlegroups.com> <201104211710.19587.akabaila@pcug.org.au> <20110421141448.GB9878@Smoke> In-Reply-To: <20110421141448.GB9878@Smoke> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: python-list@python.org 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: 20 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1303402390 news.xs4all.nl 81483 [::ffff:82.94.164.166]:43026 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:3807 On 21/04/2011 15:14, Westley Martínez wrote: > On Thu, Apr 21, 2011 at 05:19:29PM +1000, Chris Angelico wrote: >> On Thu, Apr 21, 2011 at 5:10 PM, Algis Kabaila wrote: >>> False: Python IS strongly typed, without doubt (though the >>> variables are not explicitly declared.) >> >> Strongly duck-typed though. If I create a class that has all the right >> members, it can simultaneously be a file, an iterable, a database, and >> probably even a web browser if it feels like it. Is that strong typing >> or not? >> >> Chris Angelico >> -- >> http://mail.python.org/mailman/listinfo/python-list > > It's strong typing. Python does not implicitly convert types. Weak typing is > when I can do 1 + "1" and get 2. It could be argued that it does implicit convert for some numeric types, eg int to float when needed.