Path: csiph.com!usenet.pasdenom.info!nntpfeed.proxad.net!proxad.net!feeder1-1.proxad.net!ecngs!feeder2.ecngs.de!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed4a.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; 'string.': 0.04; 'dynamically': 0.07; 'objects,': 0.07; 'objects.': 0.09; 'received:internal': 0.09; 'python': 0.11; 'subject:python': 0.14; 'interpreter': 0.15; 'capability.': 0.16; 'message- id:@webmail.messagingengine.com': 0.16; 'objects?': 0.16; 'received:10.202': 0.16; 'received:10.202.2': 0.16; 'received:66.111': 0.16; 'received:66.111.4': 0.16; 'received:messagingengine.com': 0.16; 'relevant.': 0.16; 'runtime.': 0.16; 'subject:class': 0.16; 'subject:object': 0.16; 'subject:type': 0.16; 'wrote:': 0.16; 'string': 0.17; 'machine': 0.21; 'header:In-Reply-To:1': 0.24; 'handled': 0.29; 'values': 0.30; "can't": 0.32; 'point': 0.33; "d'aprano": 0.33; 'steven': 0.33; 'to:addr:python-list': 0.35; 'done': 0.35; 'question,': 0.35; 'really': 0.35; 'but': 0.36; 'received:10': 0.37; 'subject:: ': 0.37; 'tue,': 0.38; 'received:66': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'some': 0.40; 'from:no real name:2**0': 0.61; 'header:Message-Id:1': 0.62; 'different': 0.64 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.us; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=VM3hRDJeWs5Ehj/03PPPV0rl+BQ=; b=pszZNB OR8boSnLNXv6UGQu8zElouHAN6TD0mLzD/zH4yLHVXdMmZteil2wFG9KeVXyzjVD qXlvz5GqV5GI44bXx15sRGFFS5Pa39Hb0O2wXfM82zl1ARq8BNx+v7VUsEgo1/HU YJ1qRHaZo1C8r67eAE6UYauzejbuNp2F08+XM= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=VM3hRDJeWs5Ehj/ 03PPPV0rl+BQ=; b=cZK+JN8kHyhy4FDmEbQlSByUqF0rq/+b2MPxpm/cVBduXr3 HbNmaR1G4x42PI1dByy1qJu3U+USsaLBzo/RTYAqoooKXmi65lWc5n57T+e6CdZ0 Q2YwTGqu0z4AVl3ejVBdt1o6jkFOo9Cl/aJaa+nY38kQRuJ8AP+yXBEC8qOo= X-Sasl-Enc: eCbZsHrfwy+U3q88MCAoagysKbFYse09vD3yjBzC+S13 1433268421 From: random832@fastmail.us To: python-list@python.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-073992ec In-Reply-To: <%9mbx.608935$JH2.445461@fx11.am4> References: <14976c1b-a620-426f-b529-41a3c04e9c1a@googlegroups.com> <48fc36e9-fa67-45d5-9864-0921b7e819ce@googlegroups.com> <556d931a$0$12991$c3e8da3$5496439d@news.astraweb.com> <556de143$0$13009$c3e8da3$5496439d@news.astraweb.com> <%9mbx.608935$JH2.445461@fx11.am4> Subject: Re: Everything is an object in python - object class and type class Date: Tue, 02 Jun 2015 14:07:01 -0400 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ 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: 18 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1433268425 news.xs4all.nl 2864 [2001:888:2000:d::a6]:48459 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:91873 On Tue, Jun 2, 2015, at 13:59, BartC wrote: > On 02/06/2015 18:00, Steven D'Aprano wrote: > > Again, this is not relevant. Javascript is dynamically typed, but some > > values are machine primitives and other values are objects. The interpreter > > keeps track of this at runtime. > > Javascript primitives include Number and String. > > What does Python allow to be done with its Number (int, etc) and String > types that can't be done with their Javascript counterparts, that makes > /them/ objects? That's not really a fair question, because the Javascript object model is so different from the Python one. The point is that they are handled _the same_ as all other objects, not that they have some specific capability.