Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!goblin1!goblin2!goblin.stu.neva.ru!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.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:IDLE': 0.04; 'granted,': 0.07; 'bash': 0.09; 'function,': 0.09; 'received:151': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'url:github': 0.09; 'python': 0.11; 'emanuele': 0.16; 'library...': 0.16; 'module?': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'url:ftp': 0.16; 'url:issues': 0.16; ':-)': 0.16; 'library': 0.18; 'memory': 0.22; 'header:User- Agent:1': 0.23; "i've": 0.25; 'skip:" 20': 0.27; 'header:X -Complaints-To:1': 0.27; 'tried': 0.27; 'appreciated.': 0.29; '[1]': 0.29; 'subject:) ': 0.29; "i'm": 0.30; 'work.': 0.31; "d'aprano": 0.31; 'steven': 0.31; 'writes:': 0.31; 'says': 0.33; 'worked': 0.33; 'url:python': 0.33; 'guess': 0.33; 'something': 0.35; 'but': 0.35; 'url:org': 0.36; 'should': 0.36; 'implement': 0.38; 'to:addr:python-list': 0.38; 'sure': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'easy': 0.60; 'che': 0.60; 'ago,': 0.61; 'subject:more': 0.64; 'effectively': 0.66; 'hints': 0.68; 'default': 0.69; 'quando': 0.84; 'url:41': 0.84; 'url:system': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Lele Gaifax Subject: Re: PyWart(2.7.8) IDLE is more buggy than "Joe's apartment"! Date: Mon, 21 Jul 2014 19:40:21 +0200 Organization: Nautilus Entertainments References: <232acf45-096d-466a-aa75-06d8c378b128@googlegroups.com> <53cc376e$0$2898$e4fe514c@news.xs4all.nl> <53926733-5e65-482f-96bc-0171c6a93d59@googlegroups.com> <4882fd4d-b772-4ebb-8aaa-0c20be6051b6@googlegroups.com> <53cd47fc$0$6574$c3e8da3$5496439d@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: 151.62.51.3 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.92 (gnu/linux) Cancel-Lock: sha1:tpAN+O5UjKEn9GpCnlTXNfPfPqY= 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: 31 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1405964439 news.xs4all.nl 2918 [2001:888:2000:d::a6]:49257 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:74936 Steven D'Aprano writes: >> Granted, the readline library exposes a "operate-and-get-next" function, >> by default bound to \C-o, with the same behaviour as the cmd.exe one. I >> find it very handy in the scenario you picted. So again, "feature" and >> "bug" may be effectively subjective :-) > > Have you actually got that working in Python with the readline module? > I've tried and tried and cannot get it to work. Any hints gratefully > appreciated. I was pretty sure it worked when I revamped the readline support[1], many years ago, but effectively I'm not able to do it now, and I find this https://github.com/ipython/ipython/issues/41 where Chet Ramey says it's something that bash injects into the library... and that it should be easy to implement by the calling application. So I guess my memory is faulty. ciao, lele. [1] http://ftp.vim.org/languages/python/python/contrib-09-Dec-1999/System/Pyrl.README -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia. lele@metapensiero.it | -- Fortunato Depero, 1929.