Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder7.xlned.com!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.06; 'subject:file': 0.07; 'string': 0.09; 'interpreted': 0.09; 'oh,': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; "'to": 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'reedy': 0.16; 'special.': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'feb': 0.22; 'code,': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'right.': 0.26; 'gets': 0.27; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'consequence': 0.31; 'probably': 0.32; 'text': 0.33; 'sense': 0.34; 'but': 0.35; 'received:google.com': 0.35; 'should': 0.36; 'wrong': 0.37; 'pm,': 0.38; 'incoming': 0.72; 'to:none': 0.92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=2TrRnhIp07sOJkpI+1iN5MW6QQ/1/IWVkWrFfQriLLo=; b=pQxDVw8Vn8qoZTLP3i5t5tg7SjSGuHuq/7/WsRlpAivEp2uuLQCAcVdZvdttS+qZWU IVEeDLvLnvOudPiEW6B7e+LlQQdJK1hKN3+hmokbQzoOXYvaTv9sImolc8I0CR4pNdOY NeAazfPKeDdV5e2vzHDBSi88ZWBQQO74u6TMvABcZYe00xZLEuYlxVSxkHHi5uYcG9nQ KCGNxSkv85nvWPs+sVWbOrdiLvEBMBF3YGmoGy1ENpuiNfBxTsX7Dq7V3VSd+I/cLPlZ m4dCbKeIQhfWk3bmUN7/NGY/O3/KP8RnNqsm+yMUCRpEuibpEF+qszugjUBUrkBFF7As BkgA== MIME-Version: 1.0 X-Received: by 10.68.93.132 with SMTP id cu4mr25495864pbb.129.1391245617319; Sat, 01 Feb 2014 01:06:57 -0800 (PST) In-Reply-To: References: <24EAA33389A147D8BC08B029E2209E16@UserPC> <52EC61FF.4060204@mrabarnett.plus.com> Date: Sat, 1 Feb 2014 20:06:57 +1100 Subject: Re: Python shell wont open idle or an exisiting py file From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 8 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1391245626 news.xs4all.nl 2841 [2001:888:2000:d::a6]:55801 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:65207 On Sat, Feb 1, 2014 at 7:51 PM, Terry Reedy wrote: > I should have added 'to C itself', as the string terminator. Oh, right. Yes, in that sense \0 is special. It's still wrong that an incoming text string gets interpreted as code, but that's probably just a consequence of the jump from Python to Tcl. ChrisA