Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder1.news.weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!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.067 X-Spam-Evidence: '*H*': 0.87; '*S*': 0.01; 'argument': 0.05; 'subject:Python': 0.06; 'parameter': 0.09; 'subject:How': 0.10; '("",': 0.16; 'argument.': 0.16; 'wrote:': 0.18; '31,': 0.24; 'versions': 0.24; 'question': 0.24; 'subject:/': 0.26; 'header:In- Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'fri,': 0.33; 'could': 0.34; 'received:209.85': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'next': 0.36; 'subject:?': 0.36; 'should': 0.36; 'received:209': 0.37; 'winning': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'even': 0.60; 'more': 0.64; 'different': 0.65; 'default': 0.69; 'join,': 0.84; 'do:': 0.91; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=Vzaf9Uu9nHmgw1FYc1+K6SW1qv2hUkLcSeDitVV+1tM=; b=M3hxKX7PCNEEcNZi7vwSiegjlmHhdLsxzw8tyA6wNsYTNFcMggaQYS4/aoFXYkLD1k 5N4iDJOIuZkvA0/diZYJPwVx0Cd4EZy3UGvT/ANvmXzA/igeXqYiDDepT/igEOuYBzPh JGllmjhFxsvmkwMfsyL239jSXlyYmV813JtGka2ZoiF5aIBeYfl6SYXI+Qz5zqdjyxpm EZwpiD+7TTdiGaC/AG65xVh3+erQTF45g1OgcVvp5SD57Lt+coISrSuSWxHaTBZ7YwTy XaMlcfyxzSdnZfxstSf4/dFVsYaGxhE17++a0PI12T2k4O5oHsvfm7xlNBNvC+yIqsB/ nv+Q== X-Received: by 10.68.42.134 with SMTP id o6mr13604077pbl.149.1370014839163; Fri, 31 May 2013 08:40:39 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: Ian Kelly Date: Fri, 31 May 2013 09:39:58 -0600 Subject: Re: How clean/elegant is Python's syntax? To: Python Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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: 15 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1370015234 news.xs4all.nl 15997 [2001:888:2000:d::a6]:32778 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:46610 On Fri, May 31, 2013 at 4:16 AM, F=E1bio Santos = wrote: > On Fri, May 31, 2013 at 10:08 AM, Alister wro= te: >> I think that is the winning argument. >> Next question is what should be the default ("", " " or',')? > > join, comma_join, whitejoin, linejoin variants, with different defaults? The more specific versions should not even have the parameter as an argument that can be supplied. Otherwise you could do: comma_join(words, sep=3D';') which is just unclear, and there is no reason to allow it.