Path: csiph.com!feeder.erje.net!2.eu.feeder.erje.net!newsfeed0.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 15:12:46 +0100 Lines: 36 Message-ID: References: <56fb677f$0$11121$c3e8da3@news.astraweb.com> <56fba7d3$0$1616$c3e8da3$5496439d@news.astraweb.com> <56fbc518$0$1593$c3e8da3$5496439d@news.astraweb.com> <56fbf73d$0$1591$c3e8da3$5496439d@news.astraweb.com> <56fc8e09$0$1600$c3e8da3$5496439d@news.astraweb.com> <56fcfdc6$0$1612$c3e8da3$5496439d@news.astraweb.com> <56FD086F.2090301@rece.vub.ac.be> <56FD2158.2050406@rece.vub.ac.be> <1459430873.2282305.564680498.6FEA3042@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de KRFh8rkQX7BqDMlNaOyHEAjlK0nGdoneHHGwfSzNRM3Q== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.056 X-Spam-Evidence: '*H*': 0.89; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.05; 'mess': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'thread': 0.10; 'python': 0.10; 'accordingly.': 0.13; 'argument': 0.15; 'thu,': 0.15; 'agree.': 0.16; 'discuss.': 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; 'wrote:': 0.16; 'language': 0.19; '>>>': 0.20; 'suggested': 0.20; '31,': 0.22; 'lawrence': 0.22; 'position:': 0.22; 'seems': 0.23; 'slightly': 0.23; 'examples': 0.24; 'header:In-Reply-To:1': 0.24; 'header :User-Agent:1': 0.26; 'example': 0.26; 'header:X-Complaints-To:1': 0.26; 'chris': 0.26; 'far,': 0.29; "people's": 0.29; 'unified': 0.29; 'waste': 0.30; 'knows': 0.32; 'language.': 0.32; 'getting': 0.33; 'useful': 0.33; "i'll": 0.33; 'mapping': 0.35; 'something': 0.35; 'but': 0.36; 'instead': 0.36; 'there': 0.36; '(and': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'two': 0.37; 'method': 0.37; 'received:org': 0.37; 'beyond': 0.37; 'anything': 0.38; 'to:addr:python.org': 0.40; 'where': 0.40; 'mark': 0.40; 'some': 0.40; 'your': 0.60; 'subject:more': 0.61; 'discuss': 0.61; 'real': 0.62; 'back': 0.62; 'charset:windows-1252': 0.62; 'strange': 0.63; 'personal': 0.63; 'different': 0.63; 'complete': 0.63; 'our': 0.64; 'mar': 0.65; 'request.': 0.66; 'judge': 0.66; 'python-list': 0.66; 'here': 0.66; 'worth': 0.67; 'act': 0.67; 'day': 0.67; 'theoretical': 0.72; 'yourself': 0.73; 'angelico:': 0.84; 'beats': 0.84; 'pardon': 0.84; 'python-dev': 0.84; 'pythonistas,': 0.84; 'schreef': 0.84; 'subscripts': 0.84; 'toy': 0.84 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: <1459430873.2282305.564680498.6FEA3042@webmail.messagingengine.com> 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:106162 On 31/03/2016 14:27, Random832 wrote: > On Thu, Mar 31, 2016, at 09:17, Mark Lawrence via Python-list wrote: >> On 31/03/2016 14:08, Antoon Pardon wrote: >>> Op 31-03-16 om 13:57 schreef Chris Angelico: >>>> Okay. I'll put a slightly different position: Prove that your proposal >>>> is worth discussing by actually giving us an example that we can >>>> discuss. So far, this thread has had nothing but toy examples (and >>>> bogoexamples that prove nothing beyond that the author knows how to >>>> mess with Python - fun, but not a strong argument on either side). >>>> Give us some real meat to work with, instead of these drips of >>>> tantalizing blood. >>> >>> What a strange request. Whether or not something is worth discussing >>> is a personal judgement. So there can be no proof of such a thing. >>> I would say: judge for yourself and act accordingly. >> >> Drivel. This is comp.lang.python, where "Practicality beats purity" >> every time, not comp.theoretical.claptrap. > > So can we discuss how a unified method to get a set of all valid > subscripts (and/or subscript-value pairs) on an object would be a useful > thing to have without getting bogged down in theoretical claptrap about > the meaning of the mapping contract? > We can discuss anything here until the cows come home, but it's a complete waste of time if the powers that be over on python-ideas and/or python-dev don't agree. This was suggested a day or two back but seems to have gone completely over people's heads. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence