Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!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.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'broken': 0.04; 'languages.': 0.04; 'subject:Python': 0.06; 'deemed': 0.09; 'literal': 0.09; "people's": 0.09; 'subject:language': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; '"to': 0.16; 'argument.': 0.16; 'backward': 0.16; 'braces': 0.16; 'devs': 0.16; 'dictionary,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject: \n ': 0.16; 'subject:?)': 0.16; 'subject:unicode': 0.16; 'wrote:': 0.18; '3.0': 0.19; 'not,': 0.20; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'developers': 0.25; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; '25,': 0.31; 'could': 0.34; 'received:google.com': 0.35; 'set.': 0.36; 'transition': 0.36; "didn't": 0.36; 'changing': 0.37; 'pm,': 0.38; 'break': 0.61; 'places': 0.64; 'different': 0.65; 'benefit': 0.68; 'mar': 0.68; 'programs,': 0.74; 'potentially': 0.81; 'subject:this': 0.83; 'pardon': 0.84; 'worthwhile.': 0.84; 'to:none': 0.92; 'contrary': 0.95 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=BCTF27BVXZO6UWF2nt90P6l56kpEb0cHPcp7/x6rxlw=; b=TQeTkEWTF4JewsQDCyS3PtNNSA1ooGUH3QGqSmV+Q7VMQF44eJOJ8EpEBXYpGNXmEf 0VbyD7du2B2tRJiJOhhY2YITlS/cIAavxReWIuGLtFte4R+r6yNJVNr6/5e19kTDu6bn y0Tw0SvWE8fsnsl+ofkISQS+bEf7jZQ+KdOmlHTKK/JXKxciY9no60n2Dam2nFjvhz7b EHlxxkFBy/xrFn7hz0eaFzveiCi5w+4in56IVcVYFKIcjE9X4d4ANfyWoCymObVfbFRH /+Gj2NYNiLyiQ/qqhpnVoOYIC4miVSyu9o2jl6TA4AFdRsJ+7C0ZMfNqX3icryru3eaH 3ybA== MIME-Version: 1.0 X-Received: by 10.68.248.7 with SMTP id yi7mr78941094pbc.31.1395745960776; Tue, 25 Mar 2014 04:12:40 -0700 (PDT) In-Reply-To: <5331595D.5020008@rece.vub.ac.be> References: <9daf0806-02de-4447-964c-c8f8953c23e5@googlegroups.com> <10101874-2995-4acd-9851-989603f052e3@googlegroups.com> <532d5bd9$0$29994$c3e8da3$5496439d@news.astraweb.com> <0b78649a-16b3-4410-8258-e859578d62be@googlegroups.com> <53060a97-44fb-4e53-a7a7-d5eeed416f62@googlegroups.com> <5331595D.5020008@rece.vub.ac.be> Date: Tue, 25 Mar 2014 22:12:40 +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: 1395745969 news.xs4all.nl 2936 [2001:888:2000:d::a6]:60930 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:69009 On Tue, Mar 25, 2014 at 9:24 PM, Antoon Pardon wrote: > No they didn't have to. With the transition to python3, the developers > could have opted for empty braces to mean an empty set. And if they > wanted a literal for an empty dictionary, they might have chosen {:}. > Backward-compatibility was already broken so that wasn't an argument. Python 3.0 didn't just say "to Hades with backward compatibility". The breakage was only in places where it was deemed worthwhile. Changing the meaning of {} would have only small benefit and would potentially break a LOT of programs, so the devs were right to not do it. Python 3 and Python 2 are not, contrary to some people's opinions, completely different languages. ChrisA