Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #2942

Re: Argument of the bool function

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
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; 'arguments': 0.05; 'django,': 0.07; 'python': 0.07; 'bool': 0.09; 'sun,': 0.09; 'pm,': 0.11; 'wrote:': 0.14; '(among': 0.16; 'arg': 0.16; 'regexp': 0.16; 'sphinx,': 0.16; 'subject:function': 0.16; 'argument': 0.16; 'keyword': 0.19; 'header:In-Reply-To:1': 0.22; 'received:209.85.214.174': 0.23; 'received:mail- iw0-f174.google.com': 0.23; 'appears': 0.24; "didn't": 0.25; 'function': 0.27; 'message-id:@mail.gmail.com': 0.28; 'to:addr :python-list': 0.32; 'received:209.85': 0.37; 'apr': 0.38; 'eric': 0.38; 'received:google.com': 0.38; 'files': 0.38; 'received:209.85.214': 0.39; 'sources': 0.39; 'to:addr:python.org': 0.39; 'received:209': 0.39; 'takes': 0.40; 'would': 0.40; 'header:Received:5': 0.40; '2011': 0.62; 'valuable': 0.63; 'candide': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=VJQi1SrUfOeyjigIK4kg01DeSVklrz2GVwvmmwvygCw=; b=wwGBxd706mMu25SOnzd5l45XCCXuE87WBFrnREixuU+CZrbE1uwnw7SE/aUqL8ttwW hZPZXfFTUkAUE312wxeXyJU1IdngxquVsbhw6p+w19rpnQT75bhWuNUwBCR8DMWUrAdg ajosX2fTakN0UR9qwKLHmzByMQt6icrCt1Cgs=
DomainKey-Signature a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=JkOwFCeeJV7390GawiDUqDFH8Z6AfeurbS1a/z8vTDoICz2WMODZIIuHXiQzXl9Pv2 /gZ5CqjubJxT2cOkUOVESg4sA73j6Jm3WIgBBDIyKV4UE8MKNtEfypwQxPU5FPIZ968L edAtsi7TU4+vi5Uv9doQMsyFVn0liOSx0I1Mc=
MIME-Version 1.0
In-Reply-To <4da1a8b5$0$23679$426a74cc@news.free.fr>
References <4d9f374b$0$12803$426a34cc@news.free.fr> <mailman.154.1302280920.9059.python-list@python.org> <4da1a8b5$0$23679$426a74cc@news.free.fr>
Date Sun, 10 Apr 2011 23:02:43 +1000
Subject Re: Argument of the bool function
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.190.1302440567.9059.python-list@python.org> (permalink)
Lines 9
NNTP-Posting-Host 82.94.164.166
X-Trace 1302440567 news.xs4all.nl 32470 [::ffff:82.94.164.166]:39887
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:2942

Show key headers only | View raw


On Sun, Apr 10, 2011 at 10:54 PM, candide <candide@free.invalid> wrote:
> Anyway, passing x as a keyword argument to the bool function appears to be
> very rare : i did a regexp search for about 30000 source-code Python files
> (among them official Python source-code, Django, Sphinx, Eric source-code
> and many more sources of valuable Python code) and I didn't find even one.

Who would use keyword arguments with a function that takes only one arg anyway?

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Argument of the bool function candide <candide@free.invalid> - 2011-04-08 18:26 +0200
  Re: Argument of the bool function Benjamin Kaplan <benjamin.kaplan@case.edu> - 2011-04-08 12:41 -0400
    Re: Argument of the bool function candide <candide@free.invalid> - 2011-04-10 14:54 +0200
      Re: Argument of the bool function Chris Angelico <rosuav@gmail.com> - 2011-04-10 23:02 +1000
        Re: Argument of the bool function Mel <mwilson@the-wire.com> - 2011-04-10 12:21 -0400
          Re: Argument of the bool function "Colin J. Williams" <cjw@ncf.ca> - 2011-04-10 13:51 -0400
          Re: Argument of the bool function Ben Finney <ben+python@benfinney.id.au> - 2011-04-11 09:46 +1000
          Re: Argument of the bool function Ethan Furman <ethan@stoneleaf.us> - 2011-04-11 16:00 -0700
  Re: Argument of the bool function Mel <mwilson@the-wire.com> - 2011-04-08 16:42 +0000
  Re: Argument of the bool function Ian Kelly <ian.g.kelly@gmail.com> - 2011-04-08 10:43 -0600
    Re: Argument of the bool function candide <candide@free.invalid> - 2011-04-08 23:32 +0200
      Re: Argument of the bool function Ethan Furman <ethan@stoneleaf.us> - 2011-04-08 15:03 -0700
        Re: Argument of the bool function candide <candide@free.invalid> - 2011-04-09 00:59 +0200
          Re: Argument of the bool function Lie Ryan <lie.1296@gmail.com> - 2011-04-09 15:45 +1000
            Re: Argument of the bool function Grant Edwards <invalid@invalid.invalid> - 2011-04-10 03:35 +0000
              Re: Argument of the bool function rusi <rustompmody@gmail.com> - 2011-04-09 21:15 -0700
                Re: Argument of the bool function Robert Kern <robert.kern@gmail.com> - 2011-04-10 01:22 -0500
          Re: Argument of the bool function Robert Kern <robert.kern@gmail.com> - 2011-04-09 18:22 -0500
            Re: Argument of the bool function candide <candide@free.invalid> - 2011-04-10 02:33 +0200
      Re: Argument of the bool function Ben Finney <ben+python@benfinney.id.au> - 2011-04-09 07:57 +1000

csiph-web