Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #2932
| X-FeedAbuse | http://nntpfeed.proxad.net/abuse.pl feeded by 88.191.16.109 |
|---|---|
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.dougwise.org!nntpfeed.proxad.net!nospam.fr.eu.org!usenet-fr.net!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!newsfeed.eweka.nl!eweka.nl!feeder3.eweka.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.001 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'ryan': 0.05; '>>>>': 0.09; 'argument:': 0.09; 'bool': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'underlying': 0.09; '>>>': 0.12; 'am,': 0.14; 'wrote:': 0.14; 'already.': 0.16; 'arg': 0.16; 'arguments;': 0.16; 'enigma': 0.16; 'furman': 0.16; 'kern': 0.16; 'meaningful,': 0.16; 'received:austin.res.rr.com': 0.16; 'subject:function': 0.16; 'interpret': 0.19; 'keyword': 0.19; 'header:In-Reply-To:1': 0.22; 'documented': 0.23; 'cases': 0.25; 'says': 0.25; 'instead': 0.26; 'error': 0.29; 'detail.': 0.31; 'received:res.rr.com': 0.31; 'does': 0.31; 'to:addr:python-list': 0.32; "isn't": 0.34; 'header:X-Complaints-To:1': 0.34; 'received:70': 0.34; 'received:rr.com': 0.35; 'header:User- Agent:1': 0.35; 'point': 0.35; 'lie': 0.35; 'think': 0.36; 'exactly': 0.37; 'apr': 0.38; 'thread': 0.38; 'received:org': 0.38; 'though': 0.38; 'to:addr:python.org': 0.39; 'header:Mime- Version:1': 0.39; 'takes': 0.40; 'attempt': 0.40; 'would': 0.40; "it's": 0.40; 'header:Received:5': 0.40; 'our': 0.63; 'worth': 0.64; 'world': 0.65; 'believe': 0.66; 'candide': 0.84; 'eco': 0.84; 'edwards': 0.91 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Robert Kern <robert.kern@gmail.com> |
| Subject | Re: Argument of the bool function |
| Date | Sun, 10 Apr 2011 01:22:00 -0500 |
| Organization | The Church of Last Thursday |
| References | <4d9f374b$0$12803$426a34cc@news.free.fr> <mailman.155.1302281042.9059.python-list@python.org> <4d9f7efc$0$1065$426a74cc@news.free.fr> <mailman.164.1302299590.9059.python-list@python.org> <4d9f9383$0$21107$426a74cc@news.free.fr> <4d9ff118$1@dnews.tpgi.com.au> <inr8hg$brg$1@reader1.panix.com> <15933c45-806d-4e39-a971-64330881de71@l18g2000yqm.googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Gmane-NNTP-Posting-Host | cpe-70-113-41-15.austin.res.rr.com |
| User-Agent | Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 |
| In-Reply-To | <15933c45-806d-4e39-a971-64330881de71@l18g2000yqm.googlegroups.com> |
| 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.185.1302416709.9059.python-list@python.org> (permalink) |
| Lines | 31 |
| NNTP-Posting-Host | 82.94.164.166 |
| X-Trace | 1302416709 news.xs4all.nl 41103 [::ffff:82.94.164.166]:49614 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:2932 |
Show key headers only | View raw
On 2011-04-09 23:15 , rusi wrote:
> On Apr 10, 8:35 am, Grant Edwards<inva...@invalid.invalid> wrote:
>> On 2011-04-09, Lie Ryan<lie.1...@gmail.com> wrote:
>>
>>> On 04/09/11 08:59, candide wrote:
>>>> Le 09/04/2011 00:03, Ethan Furman a ?crit :
>>
>>>>> > bool([x])
>>>> dir([object])
>>>> Not very meaningful, isn't it ?
>>
>>> The error says it unambiguously, dir() does not take *keyword*
>>> arguments; instead dir() takes *positional* argument:
>>
>>> dir("Explicit is better than implicit")
>>
>> I think the point is that both cases are documented exactly the same.
>
> In what case(s) would a keyword arg to bool be reasonable?
It's just an implementation detail. It's not worth the electrons wasted in this
thread already.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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 Thomas Rachel <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@spamschutz.glglgl.de> - 2011-04-25 16:29 +0200
Re: Argument of the bool function Chris Angelico <rosuav@gmail.com> - 2011-04-26 05:33 +1000
Re: Argument of the bool function Paul Rubin <no.email@nospam.invalid> - 2011-04-25 16:26 -0700
Re: Argument of the bool function Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-04-26 02:38 +0000
Re: Argument of the bool function Thomas Rachel <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@spamschutz.glglgl.de> - 2011-04-25 23:28 +0200
Re: Argument of the bool function Ian Kelly <ian.g.kelly@gmail.com> - 2011-04-25 17:44 -0600
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