Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Antoon Pardon Newsgroups: comp.lang.python Subject: Re: Suggestion: make sequence and map interfaces more similar Date: Wed, 30 Mar 2016 12:34:24 +0200 Lines: 17 Message-ID: References: <56f8836b$0$1602$c3e8da3$5496439d@news.astraweb.com> <56FA8C71.4050306@rece.vub.ac.be> <56fb677f$0$11121$c3e8da3@news.astraweb.com> <56fba7d3$0$1616$c3e8da3$5496439d@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de MYbvrBxLUccddaS8cscPVgDWsWFoYU9iTHyKssX6e5Kg== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.027 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'received:134': 0.05; 'wed,': 0.15; '2016': 0.16; 'function"': 0.16; 'received:ac.be': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:interfaces': 0.16; 'subject:make': 0.16; 'with?': 0.16; 'wrongly': 0.16; 'wrote:': 0.16; '>>>': 0.20; 'header:In-Reply- To:1': 0.24; 'header:User-Agent:1': 0.26; 'that.': 0.30; 'received:be': 0.30; 'says': 0.32; "d'aprano": 0.33; 'doubt': 0.33; 'steven': 0.33; 'something': 0.35; 'to:addr:python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'mean': 0.38; 'means': 0.39; 'does': 0.39; 'to:addr:python.org': 0.40; 'subject:more': 0.61; 'no.': 0.62; 'mar': 0.65; 'response.': 0.66; 'else.': 0.66; 'schreef': 0.84 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.6.0 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:106046 Op 30-03-16 om 12:28 schreef Jussi Piitulainen: > Steven D'Aprano writes: > >> On Wed, 30 Mar 2016 06:12 pm, Jussi Piitulainen wrote: >> >>> Steven D'Aprano writes: >>> >>>> Given a surjection (many-to-one mapping) >>> No. And I doubt that Wikipedia says that. >> No to what? What are you disagreeing with? > Surjection does not mean many-to-one mapping. It means something else. I think this is my fault. I used "surjective function" wrongly in my first response. -- Antoon.