Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed1.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.022 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'python,': 0.02; '"as': 0.07; 'imply': 0.09; 'lawrence': 0.09; 'received:internal': 0.09; 'expects': 0.16; 'message-id:@webmail.messagingengine.com': 0.16; 'received:10.202': 0.16; 'received:10.202.2': 0.16; 'received:66.111': 0.16; 'received:66.111.4': 0.16; 'received:messagingengine.com': 0.16; 'subject:parameters': 0.16; 'language': 0.16; 'wrote:': 0.18; 'passing': 0.19; 'thu,': 0.19; 'least': 0.26; 'header:In-Reply-To:1': 0.27; 'to:2**1': 0.27; 'types.': 0.31; "i'd": 0.34; 'received:66': 0.35; "can't": 0.35; 'something': 0.35; 'one,': 0.35; 'received:10': 0.37; 'somebody': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'how': 0.40; 'even': 0.60; 'future': 0.60; 'from:no real name:2**0': 0.61; 'ago.': 0.61; 'header:Message-Id:1': 0.63; 'here': 0.66; 'default': 0.69; 'wish': 0.70; '2014,': 0.84; 'to:addr:yahoo.co.uk': 0.84; 'imagine': 0.93; 'retired': 0.93 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.us; h= message-id:from:to:mime-version:content-transfer-encoding :content-type:in-reply-to:references:subject:date; s=mesmtp; bh= TTlvCiNOwz+RBluqdGxIqKLlIdw=; b=pcut2bqBbMTzOzK4zB8MrJN7wpjMHyGn rt3YnYbRzWL786AN0sKek65viVXWoeu1UxKnHu60F3TyST2MdMvz/mpJHtujXuc0 +SlhsfTxKfCom0bjDo+ryyScnWI2c1PS0UGnKhyTlJy0KdJhPKV+gEOuDETgcnNf tjYfeHLxAJA= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:from:to:mime-version :content-transfer-encoding:content-type:in-reply-to:references :subject:date; s=smtpout; bh=TTlvCiNOwz+RBluqdGxIqKLlIdw=; b=fJo 3IasTjtH5XA1YlAPQpVciZ0MErEzRY6H2M3Wcax/sUorCAaLNIAshPr07n0LlkQA +TFo0fP5MM5QwbJIXaoSAr2ZtGdhkPzcEcw9ugxYQTVAwuJ0av+y8yJlfiBqZ9nT BBpp8nNVIQgSZlCVWqOwPvBNVJpCA+ign9qVxEwM= X-Sasl-Enc: BJOSXahJ/gkBQQN8PXlBGPiE24WrTy0GsTXfORRww6kk 1396620025 From: random832@fastmail.us To: Mark Lawrence , python-list@python.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-3bcd941f In-Reply-To: References: Subject: Re: Default mutable parameters in functions Date: Fri, 04 Apr 2014 10:00:25 -0400 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: 8 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1396620027 news.xs4all.nl 2847 [2001:888:2000:d::a6]:38953 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:69668 On Thu, Apr 3, 2014, at 20:38, Mark Lawrence wrote: > I just wish I had a quid for every time somebody expects something out > of Python, that way I'd have retired years ago. At least here it's not > accompanied by "as that's how it works in ". I can't imagine a language that would work that way. For one, it would also imply that passing a value would change the default for future calls even for non-mutable types.