Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!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.080 X-Spam-Evidence: '*H*': 0.84; '*S*': 0.00; '(good': 0.09; 'argument,': 0.09; 'reply-to:addr:comp.lang.python': 0.09; 'to:addr:comp.lang.python': 0.09; 'argument': 0.15; 'cc:addr :python-list': 0.15; 'subject:pass': 0.16; 'wrote:': 0.18; 'example.': 0.18; 'seems': 0.19; 'cc:no real name:2**0': 0.21; 'header:In-Reply-To:1': 0.23; 'variable': 0.24; 'cc:2**0': 0.25; 'fine': 0.26; 'cc:addr:python.org': 0.29; 'chris': 0.30; 'subject:?': 0.31; 'list': 0.32; 'instead': 0.33; 'header:User- Agent:1': 0.33; '17,': 0.34; 'function.': 0.34; 'null': 0.34; 'subject:What': 0.34; 'object': 0.35; 'thursday,': 0.36; 'received:google.com': 0.38; 'received:209.85': 0.38; 'define': 0.39; 'subject:: ': 0.39; 'might': 0.39; 'received:209': 0.40; 'your': 0.61; '2011': 0.62; 'ever': 0.65; 'truth': 0.68; 'header :Reply-To:1': 0.70; 'reply-to:no real name:2**0': 0.71; 'reply- to:addr:googlegroups.com': 0.73; 'subject:should': 0.84; 'received:209.85.210.56': 0.93; 'received:mail- pz0-f56.google.com': 0.93 Newsgroups: comp.lang.python Date: Thu, 17 Nov 2011 21:03:23 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=75.36.147.124; posting-account=aVGMWgkAAAB6mGKt34gyuFhFeGnfZNcf References: <27955957.352.1321582691251.JavaMail.geo-discussion-forums@prap37> User-Agent: G2/1.0 X-Google-Web-Client: true MIME-Version: 1.0 Subject: Re: What exactly is "pass"? What should it be? From: John Ladasky To: comp.lang.python@googlegroups.com 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 Reply-To: comp.lang.python@googlegroups.com List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Message-ID: Lines: 7 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1321592614 news.xs4all.nl 6842 [2001:888:2000:d::a6]:53561 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:15865 On Thursday, November 17, 2011 6:45:58 PM UTC-8, Chris Rebert wrote: > Seems fine to me (good use of the null object pattern), although I > might define _pass() to instead take exactly 1 argument, since that's > all you ever call report() with in your example. Oops, I over-simplified the calls to my report() function. The truth is that report() can accept a variable argument list too.