Path: csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed2a.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.016 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'subject:IDLE': 0.04; 'interpreter': 0.05; 'imported': 0.09; 'latter': 0.09; 'cc:addr :python-list': 0.11; 'python': 0.11; 'random': 0.14; "wouldn't": 0.14; 'etc?': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'objects.': 0.16; 'reasonably': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'shell': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; "skip:' 10": 0.31; 'quite': 0.32; 'could': 0.34; 'editor': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'idle': 0.36; 'possible': 0.36; 'too': 0.37; 'files': 0.38; 'fact': 0.38; 'changed': 0.39; 'commands': 0.60; 'entire': 0.61; 'more': 0.64; 'thomas': 0.65; 'hoping': 0.75; 'restore': 0.78; '2015': 0.84; 'etc,': 0.84; 'hard.': 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=5u1FQGA+7Qi8eZ1QaCz+lvvbGY8BsVQfITbNvRurhQc=; b=LLQ4hj+AVTSgqsSyfHwu4mvVhwMbONF+E2H7V6o6PtFxbuTQJ7plVPxCDozc2AHy6h AfbN75Yq0y4dKuyFcqktBSIdnukXRTOdr5l6kt9BjrVPv8TBckK1fMDcuEYPdqADLpV5 gdRd5ziJPGvY5oJhhsMoA68FOwIZloP0hW5PsPeP/g3cjpQVv0rA8yDvzchmPJ4PP0DZ /2oWZNQU67IN0irk5x+ZWG66fpQaOrp3CP2mi7rukVfpOtTS8tQrlmUuCBY8cyQ0QgiR uzwrPlqAvqg7KI7c+pzFN4T1DOEXI1StL6BRT/XgMcVGXSlmMNMkTW8vDqR1Qol06Oel 9CVQ== MIME-Version: 1.0 X-Received: by 10.50.66.172 with SMTP id g12mr5482552igt.34.1431101803225; Fri, 08 May 2015 09:16:43 -0700 (PDT) In-Reply-To: <4709717.b925lGYb8P@PointedEars.de> References: <08bb6733-1bc3-4f21-bba1-b97d3f73e010@googlegroups.com> <4709717.b925lGYb8P@PointedEars.de> Date: Sat, 9 May 2015 02:16:43 +1000 Subject: Re: IDLE Restoration 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.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: 21 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1431101805 news.xs4all.nl 2950 [2001:888:2000:d::a6]:55507 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:90182 On Sat, May 9, 2015 at 2:06 AM, Thomas 'PointedEars' Lahn wrote: > Chris Angelico wrote: > >> Are you hoping to have the IDLE editor restore the fact that you had >> files X, Y, and Z open, or are you hoping to have the interactive >> interpreter retain your entire history of commands and their results? >> The former is reasonably plausible (and may well be possible already - >> Terry?), but the latter is quite impractical. > > Various shells do the latter. I do not see why that would be impractical, > on the contrary. Exactly what do they recall? A textual form of the scrollback? That wouldn't be too hard. But what about all your working state - assigned globals, changed state of imported modules (eg random number seed), etc, etc, etc? An active Python session is a *lot* more than a shell session scrollback, because "their results" could literally be any Python objects. ChrisA