Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #9397
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!feeder.news-service.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.003 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'python.': 0.04; 'value,': 0.04; 'subject:Python': 0.06; 'pypy': 0.07; 'python': 0.08; 'object.': 0.09; 'referenced': 0.09; 'am,': 0.13; 'float': 0.13; 'wrote:': 0.15; '"classic"': 0.16; 'cpython,': 0.16; 'debugging,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'instance:': 0.16; 'names;': 0.16; 'opposite': 0.16; 'subject:PyPy': 0.16; 'subject:between': 0.16; 'received:209.85.210.174': 0.19; 'received:mail- iy0-f174.google.com': 0.19; 'header:In-Reply-To:1': 0.22; 'talked': 0.23; "python's": 0.25; 'string': 0.26; 'sort': 0.28; 'guess': 0.28; 'language.': 0.28; 'objects': 0.28; 'bugs': 0.28; 'depends': 0.28; 'thu,': 0.28; 'message-id:@mail.gmail.com': 0.28; 'variables': 0.29; 'object': 0.30; 'confused': 0.30; 'subject:?': 0.31; 'chris': 0.32; 'pointing': 0.32; 'list': 0.32; 'does': 0.32; 'generally': 0.33; 'it.': 0.33; 'to:addr:python-list': 0.34; 'there': 0.34; 'points': 0.34; 'things': 0.34; 'integer': 0.35; 'languages.': 0.35; 'subject:What': 0.35; 'probably': 0.35; 'skip:" 10': 0.36; 'core': 0.36; 'brief': 0.37; 'but': 0.37; 'received:google.com': 0.38; 'received:209.85': 0.38; 'subject:: ': 0.38; 'somewhat': 0.38; 'easier': 0.39; 'talk': 0.39; 'data': 0.39; 'help': 0.39; 'to:addr:python.org': 0.39; 'received:209': 0.40; 'hope': 0.60; 'piece': 0.62; 'harder': 0.64; 'tracking': 0.65; '"what': 0.67; 'subject:are': 0.70; 'care': 0.73; '12:06': 0.84; 'explanation:': 0.84; 'subject:there': 0.91 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=xBc4/ZkAYRS2wV81pVvt4cmubRPUecaVT15Ak/i9/V0=; b=VRi2QIoKL4/fYihOJpRapZ408N7oh8x9kuSwSsJkiXs+fuMmwUZKwFFoZwpoHrsOqi WvHjt2kGRxyOzKvA0eT2IHn0ZH/XBjdar+AxK4bMI3cBpwnslTmjS/POtdsv7TKHXMfl /SuMykt+DUgdh+80MRpKtSthqrsrz1at+LXVw= |
| MIME-Version | 1.0 |
| In-Reply-To | <bf9cd288-c187-402f-b444-b605a2a91572@glegroupsg2000goo.googlegroups.com> |
| References | <bf9cd288-c187-402f-b444-b605a2a91572@glegroupsg2000goo.googlegroups.com> |
| Date | Thu, 14 Jul 2011 00:21:14 +1000 |
| Subject | Re: What is the difference between PyPy and Python? are there lot of differences? |
| From | Chris Angelico <rosuav@gmail.com> |
| To | python-list@python.org |
| Content-Type | text/plain; charset=ISO-8859-1 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.981.1310566877.1164.python-list@python.org> (permalink) |
| Lines | 33 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1310566877 news.xs4all.nl 23884 [2001:888:2000:d::a6]:43332 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:9397 |
Show key headers only | View raw
On Thu, Jul 14, 2011 at 12:06 AM, ArrC <justmailnaveen@gmail.com> wrote: > So, i want to know what are the core diff btw PyPy and Python ? Python is a language; PyPy is one implementation of that language. The "classic" implementation of Python is CPython, not to be confused with Cython; there are a few others as well. If you talk of "installing Python", it probably means CPython. > And they also talked about the lack of type check in python. > > So, how does it help (strongly typed) in debugging? Sloppy but brief explanation: Python's variables are typeless; its objects are strongly typed. Longer explanation: Every piece of data in Python is an object. Objects can be referenced by names; one object can have more than one name pointing to it. Any name can point to any value, which is somewhat the opposite of "strongly-typed variables" in other languages. For instance: a = "Hello" # a points to or "holds" a string a = 234 # a now points to an integer a = 1.0 # a now points to a float a = [1,2,3] # a now has a list (array) In debugging, all you generally care about is "what does this object point to". I guess whether or not this makes things easier or harder depends a lot on what sort of bugs you're tracking down. Hope that helps! Chris Angelico
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
What is the difference between PyPy and Python? are there lot of differences? ArrC <justmailnaveen@gmail.com> - 2011-07-13 07:06 -0700 Re: What is the difference between PyPy and Python? are there lot of differences? Chris Angelico <rosuav@gmail.com> - 2011-07-14 00:21 +1000 Re: What is the difference between PyPy and Python? are there lot of differences? sturlamolden <sturlamolden@yahoo.no> - 2011-07-13 08:03 -0700 Re: What is the difference between PyPy and Python? are there lot of differences? Ian Kelly <ian.g.kelly@gmail.com> - 2011-07-13 09:18 -0600 Re: What is the difference between PyPy and Python? are there lot of differences? Terry Reedy <tjreedy@udel.edu> - 2011-07-13 12:31 -0400
csiph-web