Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!81.171.88.16.MISMATCH!hq-usenetpeers!hq-usenetpeers.eweka.nl!xlned.com!feeder5.xlned.com!newsfeed.xs4all.nl!newsfeed3a.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.034 X-Spam-Evidence: '*H*': 0.93; '*S*': 0.00; 'interpreter': 0.05; '21,': 0.07; 'cc:addr:python-list': 0.11; "wouldn't": 0.14; 'agreed,': 0.16; 'does,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'interactive,': 0.16; 'reedy': 0.16; 'wrote:': 0.18; 'possible,': 0.19; '>>>': 0.22; 'cc:addr:python.org': 0.22; 'case.': 0.24; 'mon,': 0.24; 'cc:2**0': 0.24; 'options': 0.25; 'header:In-Reply-To:1': 0.27; 'mode': 0.30; 'subject:please': 0.30; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; 'subject:users': 0.31; 'actual': 0.34; 'subject: (': 0.35; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'idle': 0.36; 'limitations': 0.36; 'should': 0.36; 'implement': 0.38; 'pm,': 0.38; 'environment.': 0.39; 'break': 0.61; 'different': 0.65; 'between': 0.67; 'subject': 0.69; 'jul': 0.74; '7:00': 0.84; 'subject:read': 0.84; 'viable': 0.84; '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=N7M8YKoyunnOOZEt4yJDhI7kxclIW7m4qR1NOKquRxg=; b=CjZqPb42Im8BHX5UqPtKsnCJ+0QrYNPt2DKI50JVLNbfkJRUddpCSKDyeAg1EwwZzL tjpKzk6c/aubO0BFGVFJWYRtsZeygk2hKbx+U9joeSJcEBdMo7DUseKq45OFcB/04cN1 ei/8W0Tjs5P8QjMeuaYTXKn99wn64Oz6rzMLeMKHXGUEBikGf+VPCNIr21u/vglW3Ukk S4d5diZ2yanxJOdXsNJ0qVOTdgXP4ewEWHzsepygcem39ZSICc6q4nwKAx6BMh64VW8m xgkyAnhEni5BBApWmA3Pfx/pyVfM5xpPKNwy6REVp10gnlz3jMAIycSwPZ1H81pmA9Pp sIdg== MIME-Version: 1.0 X-Received: by 10.52.248.232 with SMTP id yp8mr665405vdc.83.1405940171984; Mon, 21 Jul 2014 03:56:11 -0700 (PDT) In-Reply-To: References: <53c73ff0$0$29897$c3e8da3$5496439d@news.astraweb.com> <9ef930a0-5a41-4a20-a13a-003c9e8246fe@googlegroups.com> <9b5557e3-45ea-4d3b-81cd-90d69322c556@googlegroups.com> <64e2ac85-5c95-4834-b140-2189b884fb02@googlegroups.com> Date: Mon, 21 Jul 2014 20:56:11 +1000 Subject: Re: Idle's Shell: prompts and indents (was ...) Idle users please read 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: 17 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1405940180 news.xs4all.nl 2881 [2001:888:2000:d::a6]:46454 X-Complaints-To: abuse@xs4all.nl X-Received-Bytes: 4805 X-Received-Body-CRC: 384039018 Xref: csiph.com comp.lang.python:74915 On Mon, Jul 21, 2014 at 7:00 PM, Terry Reedy wrote: > In general, Idle should execute user code the same way that the interpreter > does, subject to the limitations of the different execution environment. Agreed, but I think the setting of prompts is a "different execution environment" case. It's a fundamental difference between batch mode and interactive, and Idle uses batch mode to implement interactive mode. So something like: >>> sys.ps1="Python> " "Setting sys.ps1 has no effect in Idle; see the Options menu." >>> It might not be possible, but if it is, it wouldn't break any actual viable use-cases. ChrisA