Path: csiph.com!feeder.erje.net!2.eu.feeder.erje.net!newsfeed.kamp.net!newsfeed.kamp.net!fu-berlin.de!uni-berlin.de!not-for-mail From: Mark Lawrence Newsgroups: comp.lang.python Subject: Re: Suggestion: make sequence and map interfaces more similar Date: Thu, 31 Mar 2016 14:14:24 +0100 Lines: 30 Message-ID: References: <56f8836b$0$1602$c3e8da3$5496439d@news.astraweb.com> <56FA8C71.4050306@rece.vub.ac.be> <56fb677f$0$11121$c3e8da3@news.astraweb.com> <56fbf879$0$1591$c3e8da3$5496439d@news.astraweb.com> <56fc8f20$0$1600$c3e8da3$5496439d@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de 7d8qAdqSTnmgla2ewIE38wQ5i7yBYnO2ZmbcVExHsEgQ== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.009 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.05; 'happen,': 0.07; 'dict': 0.09; 'immutable': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.10; 'missed': 0.15; '2016': 0.16; 'integers.': 0.16; 'lookups': 0.16; 'losing': 0.16; 'received:80.91.229.3': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'subject:interfaces': 0.16; 'subject:make': 0.16; 'suggestion.': 0.16; 'useless': 0.16; 'wrote:': 0.16; 'language': 0.19; 'friend.': 0.22; 'keys': 0.22; 'lawrence': 0.22; 'suppose': 0.22; 'bit': 0.23; 'wrote': 0.23; 'patch': 0.24; 'header:In-Reply-To:1': 0.24; 'discussion': 0.24; 'header:User-Agent:1': 0.26; 'header:X -Complaints-To:1': 0.26; 'sequence': 0.27; 'fighting': 0.29; "i'm": 0.30; 'waste': 0.30; 'skip:_ 10': 0.32; 'language.': 0.32; 'previous': 0.34; 'could': 0.35; 'mapping': 0.35; "isn't": 0.35; 'supports': 0.35; 'but': 0.36; 'there': 0.36; 'to:addr:python- list': 0.36; 'subject:: ': 0.37; 'thanks': 0.37; 'received:org': 0.37; 'list.': 0.37; 'drop': 0.38; 'thank': 0.38; 'sure': 0.39; 'rather': 0.39; 'to:addr:python.org': 0.40; 'mark': 0.40; 'some': 0.40; 'your': 0.60; 'subject:more': 0.61; 'charset:windows-1252': 0.62; 'course': 0.62; 'kindly': 0.64; 'our': 0.64; 'march': 0.64; 'python-list': 0.66; 'realise': 0.66; 'dear': 0.67; '2.8': 0.84; 'battle,': 0.84; 'confirming': 0.84; 'pythonistas,': 0.84; "they'd": 0.84; 'absolutely': 0.88; 'offline.': 0.91; 'sulla': 0.91 X-Injected-Via-Gmane: http://gmane.org/ X-Gmane-NNTP-Posting-Host: 80.234.189.93 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:106155 On 31/03/2016 13:49, Marco Sulla via Python-list wrote: > > On 31 March 2016 at 14:30, Mark Lawrence via Python-list > wrote: >> Note that dict also supports >> __getitem__() and __len__(), but is considered a mapping rather than a >> sequence because the lookups use arbitrary immutable keys rather than >> integers. > > Thank you for confirming for what I already wrote and quoted, but I suppose you > missed some of my previous messages, my dear friend. > Thanks for misquoting me by deliberately snipping the bit about taking this completely useless discussion offline. Please do not "dear friend" me as I don't take kindly to people who go out of their way to waste time and effort on this list. This just isn't going to happen, so please drop it, or do you not realise when you're fighting a losing battle, and it's time to retreat? There are of course other options, you could join in the effort to produce Python 2.8 or RickedPython. I'm sure that they'd welcome some additional help and your patch for your absolutely awesome suggestion. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence