Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed6.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.008 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'function,': 0.07; 'override': 0.07; 'cc:addr:python-list': 0.10; 'def': 0.10; 'eckhardt': 0.16; 'subject:import': 0.16; 'think?': 0.16; 'wed,': 0.16; 'wrote:': 0.17; 'define': 0.20; 'received:209.85.214.174': 0.21; 'cc:2**0': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'am,': 0.27; 'message-id:@mail.gmail.com': 0.27; 'could': 0.32; 'received:google.com': 0.34; 'needed': 0.35; 'built-in': 0.35; 'received:209.85': 0.35; 'something': 0.35; 'there': 0.35; 'really': 0.36; 'but': 0.36; 'best,': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'received:209.85.214': 0.39; 'header:Received:5': 0.40; 'think': 0.40; 'jul': 0.65 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:to :cc:content-type; bh=gaU8Xku8D++n+ev0dZokDuefQu7GSolRzphrlqWu140=; b=FAuN7ZEcJiejRZlIcAKvZ93Xgy3YSzeJ9UgmqxTqmXBsOuwguHt97LSavp7sSx//cd Aj7TiSeEly/v1rAAXKY7JyT99GA3fSNMEl9AICcP+8l5fUGQOW1o7fhtxNGcuxmaf9x5 xvSNgYEH39+AQwMCk+R3qiRWyb4B9dQk1sP8VQLqjkwvYcc+R62s1XDG1XW0saC2/baO vR0N7F0DDUbgZfYqXTAmNSsWDOfITyNnsoDJJCOLEo0HGY8krUl5TH+RPknl0ynf/wNg SiAdlkQCnLI8EYMleqkCZOwZ8W/YCa9ml8jN8kRVpWkcBnYbRLcf6T0qnDUAglQ4Cg/8 zh9g== MIME-Version: 1.0 In-Reply-To: References: Date: Wed, 25 Jul 2012 11:33:24 +0100 Subject: Re: from future import pass_function From: Nicholas Cole To: Ulrich Eckhardt Content-Type: text/plain; charset=ISO-8859-1 Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 18 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1343212407 news.xs4all.nl 6844 [2001:888:2000:d::a6]:45234 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:26032 On Wed, Jul 25, 2012 at 9:40 AM, Ulrich Eckhardt wrote: > What do you think? > I enjoyed the question, but actually I don't think this is a good idea. 1. If you really needed something like this, you could define it easily. def do_nothing(*args, **keywords): return None 2. If it were a built-in function, you would be able to override it, and then there would be chaos. Best, Nicholas