Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #3783
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <modelnine@modelnine.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.064 |
| X-Spam-Evidence | '*H*': 0.87; '*S*': 0.00; 'python': 0.07; 'etc...': 0.09; 'received:10.2': 0.16; 'semantically': 0.16; 'stands.': 0.16; 'subject:between': 0.16; 'subject:lines': 0.16; 'two.': 0.16; 'header:In-Reply-To:1': 0.22; 'memory': 0.24; 'chris': 0.27; 'sorry,': 0.29; '---': 0.31; 'does': 0.31; 'to:addr:python-list': 0.32; 'asking': 0.32; '...': 0.32; 'lines': 0.34; 'decide': 0.34; 'difference': 0.35; 'there': 0.35; 'header:User-Agent:1': 0.35; 'running': 0.36; 'two': 0.37; 'depend': 0.38; 'locate': 0.38; 'happens': 0.38; 'received:org': 0.38; 'to:addr:python.org': 0.39; 'subject:line': 0.73; 'subject:one': 0.73; 'schrieb': 0.84; 'so:': 0.84; 'subject:there': 0.91 |
| DKIM-Signature | v=1; a=rsa-sha256; c=simple/simple; d=modelnine.org; s=modelnine1012; t=1303381162; bh=eRjmADBrKWEGGFjU90wuwSBY6/O7r+Whq25o3JWiHOs=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=Pdyu2IThczg5W0PRrUgRscOPSHBfT1VxS7sG7FRwzRsxt2pveybkL0DghaOAxPRYT pVpQkjzbjLG9ugfaezsFtPdjswnO3FuuLpEjlUPy8+6u+foTX/n47Rtc8bMbL2a3aV LGXgSEJxAn7bqReCUif91QbGwk1TrGmgGbPlFbuE= |
| Date | Thu, 21 Apr 2011 12:19:18 +0200 |
| From | Heiko Wundram <modelnine@modelnine.org> |
| User-Agent | Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 |
| MIME-Version | 1.0 |
| To | python-list@python.org |
| Subject | Re: is there a difference between one line and many lines |
| References | <23a890a7-aef1-4d5b-8dab-6e09c2792d4a@glegroupsg2000goo.googlegroups.com> <4DB00008.5060103@modelnine.org> |
| In-Reply-To | <4DB00008.5060103@modelnine.org> |
| X-Enigmail-Version | 1.1.1 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | 7bit |
| 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.694.1303381164.9059.python-list@python.org> (permalink) |
| Lines | 13 |
| NNTP-Posting-Host | 82.94.164.166 |
| X-Trace | 1303381164 news.xs4all.nl 81482 [::ffff:82.94.164.166]:41482 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:3783 |
Show key headers only | View raw
Am 21.04.2011 11:59, schrieb Heiko Wundram: > Am 21.04.2011 11:55, schrieb vino19: >> I am asking about what happens in Python interpreter? Why is there a difference between running one line like "a=1;b=1" and two lines like "a=1 \n b=1"? Does it decide to locate memory in different types depend on a code? > > There is no difference between the two. > ... Erm, sorry, forget my post. I misread a=-6 as a-=6, etc... So: what Chris said. Anyway, there is semantically no difference between the two, and that stands. -- --- Heiko.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar
Re: is there a difference between one line and many lines vino19 <vinograd19@gmail.com> - 2011-04-21 02:55 -0700 Re: is there a difference between one line and many lines Heiko Wundram <modelnine@modelnine.org> - 2011-04-21 11:59 +0200 Re: is there a difference between one line and many lines Chris Angelico <rosuav@gmail.com> - 2011-04-21 20:02 +1000 Re: is there a difference between one line and many lines Heiko Wundram <modelnine@modelnine.org> - 2011-04-21 12:19 +0200 Re: is there a difference between one line and many lines Jean-Michel Pichavant <jeanmichel@sequans.com> - 2011-04-21 12:39 +0200
csiph-web