Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.045 X-Spam-Evidence: '*H*': 0.91; '*S*': 0.00; 'subject:Python': 0.06; 'implements': 0.09; 'logic': 0.09; 'subject:language': 0.09; 'cc:addr:python-list': 0.11; 'boolean': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'reedy': 0.16; 'subject: \n ': 0.16; 'subject:?)': 0.16; 'subject:unicode': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'sets.': 0.31; 'there,': 0.34; 'common': 0.35; 'possible.': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'are,': 0.36; 'easily': 0.37; 'implement': 0.38; 'pm,': 0.38; 'rather': 0.38; 'guy': 0.60; 'hardware': 0.61; 'numbers': 0.61; 'making': 0.63; 'more': 0.64; 'details': 0.65; 'mar': 0.68; '26,': 0.68; 'subject:this': 0.83; 'everything.': 0.84; 'proves': 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=z4Dsk1gCTNxqMqGRw32XPRN7hUwuuJt3fj7yhEYogxM=; b=wth1BaqohdwNlPCGo//H36lCZeRYtCWfDXK0XRKscComK2WqfjX5xKRmv3cE3AOPhk tq5n5t++Qb/V+aSmP5inMX8wAW8lxTKoYG3Yqv8wSbDvvVlI+m6G1UbDjQERbrNaoOfy JUZZap3tTmtkcNO0CEnoFgoy0as0opeY85A1Wm7uj4tXBbitpT4f/gdA9VQ+DyyrAKar Y2YLsrDuATnXYJWDqkSEA+Ij1Cnu0SQBqfAYUzGbDbn8lPdxmKbZuGYl8UMzvytnz49J yEaZ8pLsV00i/NfqwnHtuUZ/SWWyB1XILgOMquL6FmHejqWp4IYvh2tAA2PRk+gCDUsw kkDg== MIME-Version: 1.0 X-Received: by 10.66.164.229 with SMTP id yt5mr1436299pab.67.1395801542077; Tue, 25 Mar 2014 19:39:02 -0700 (PDT) In-Reply-To: References: <9daf0806-02de-4447-964c-c8f8953c23e5@googlegroups.com> <532d5bd9$0$29994$c3e8da3$5496439d@news.astraweb.com> <0b78649a-16b3-4410-8258-e859578d62be@googlegroups.com> <53060a97-44fb-4e53-a7a7-d5eeed416f62@googlegroups.com> <53318664$0$29994$c3e8da3$5496439d@news.astraweb.com> Date: Wed, 26 Mar 2014 13:39:01 +1100 Subject: Re: Time we switched to unicode? (was Explanation of this Python language feature?) 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.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: 16 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1395801551 news.xs4all.nl 2906 [2001:888:2000:d::a6]:35011 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:69096 On Wed, Mar 26, 2014 at 1:10 PM, Terry Reedy wrote: >> dicts are more fundamental than sets. > > One can easily implement floats from complex numbers by making the .imag > part always 0. It would be much harder to implement complex numbers from > floats, for the same reasons that it would be hard to implements dicts from > sets. But it must be possible. Would you say that complex numbers are, > because of this implementation quirk, more fundamental than floats? I would say that this proves that dicts and complexes are more general, rather than more fundamental. The fundamentals of boolean logic are AND/OR/NOT, but it's common to build everything out of the more general NAND gates because they can do everything. (I may be sketchy on details there, I'm a software guy not a hardware designer.) ChrisA