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


Groups > comp.lang.python > #78849

Re: operator module functions

X-FeedAbuse http://nntpfeed.proxad.net/abuse.pl feeded by 78.192.65.63
Path csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!news.muarf.org!news.ecp.fr!news.stack.nl!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <random832@fastmail.us>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.024
X-Spam-Evidence '*H*': 0.95; '*S*': 0.00; 'operator': 0.03; 'received:internal': 0.09; 'subject:module': 0.09; 'message- id:@webmail.messagingengine.com': 0.16; 'readability': 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:66.111.4.27': 0.16; 'received:messagingengine.com': 0.16; 'received:out3-smtp.messagingengine.com': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'module': 0.19; 'header:In-Reply-To:1': 0.27; "i'm": 0.30; 'received:66': 0.35; 'opposed': 0.36; 'received:10': 0.37; 'to:addr:python-list': 0.38; 'sure': 0.39; 'to:addr:python.org': 0.39; 'from:no real name:2**0': 0.61; 'simply': 0.61; 'header:Message-Id:1': 0.63; 'situation': 0.65; '2014,': 0.84; 'ethan': 0.84; 'furman': 0.84; 'lol,': 0.84
DKIM-Signature v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.us; h= message-id:x-sasl-enc:from:to:mime-version :content-transfer-encoding:content-type:in-reply-to:references :subject:date; s=mesmtp; bh=6KdFPtsZY6xVdSnZb3s25bb14zI=; b=K//L 6RLsI544MXnO2YeAvjDbjOELeQgzth6ndQehJHkx8azZklQZCHcYAOFiwJJ/W+2I gNaKq4mnOKkr0zonaWmHEf+i2iFbH9EuLEB2voA9OU60l342JqR1uoLMfQ01Sn9w 8cTpOyCvgDisHJq2w8g0MyHHySxzPltTCik7LlY=
DKIM-Signature v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:x-sasl-enc:from:to :mime-version:content-transfer-encoding:content-type:in-reply-to :references:subject:date; s=smtpout; bh=6KdFPtsZY6xVdSnZb3s25bb1 4zI=; b=S80MWxGAs3dWqDST+eqRq1akfFGNXytBivtFs113T7RMsEWolQnuBiIE Q7iGf93htuXYwjpL81BhtBuGr0xWpbDnB9KOHkopCQTl0A1cs6jMvxoSViUx/AWg YwTyXrU2K+kbQGZWfRdYHLxN0ycN+NpU7KFT8b/lQIAdL8Rcfww=
X-Sasl-Enc Mx8YoqOHQxIkTfUYDoKoDL2t5FJy66kgxQq+9/tCHQBH 1412797764
From random832@fastmail.us
To python-list@python.org
MIME-Version 1.0
Content-Transfer-Encoding 7bit
Content-Type text/plain
X-Mailer MessagingEngine.com Webmail Interface - ajax-1d265f39
In-Reply-To <543592AE.80807@stoneleaf.us>
References <54349662$0$12987$c3e8da3$5496439d@news.astraweb.com> <facda5ec-ecd9-43d0-99b3-b98f945a9a2d@googlegroups.com> <543518a5$0$12989$c3e8da3$5496439d@news.astraweb.com> <m1426b$kgq$1@ger.gmane.org> <543592AE.80807@stoneleaf.us>
Subject Re: operator module functions
Date Wed, 08 Oct 2014 15:49:24 -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 <python-list.python.org>
List-Unsubscribe <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.14688.1412797767.18130.python-list@python.org> (permalink)
Lines 9
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1412797767 news.xs4all.nl 2927 [2001:888:2000:d::a6]:46842
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:78849

Show key headers only | View raw



On Wed, Oct 8, 2014, at 15:38, Ethan Furman wrote:
> LOL, no kidding!  The main reason I bother using the operator module is
> for the readability of not seeing the dunders, 
> and the writability of not having to type them.

I'm not sure what situation you would have to type them (as opposed to
simply a + b) that the operator module would help with.

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


Thread

operator module functions Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-10-08 12:41 +1100
  Re: operator module functions Terry Reedy <tjreedy@udel.edu> - 2014-10-08 02:28 -0400
  Re: operator module functions marco.nawijn@colosso.nl - 2014-10-08 01:46 -0700
    Re: operator module functions Chris Angelico <rosuav@gmail.com> - 2014-10-08 20:32 +1100
      Re: operator module functions Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2014-10-09 10:37 +1300
        Re: operator module functions Chris Angelico <rosuav@gmail.com> - 2014-10-09 09:30 +1100
        Re: operator module functions Chris Kaynor <ckaynor@zindagigames.com> - 2014-10-08 15:40 -0700
    Re: operator module functions Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-10-08 21:57 +1100
      Re: operator module functions Terry Reedy <tjreedy@udel.edu> - 2014-10-08 15:09 -0400
      Re: operator module functions Ethan Furman <ethan@stoneleaf.us> - 2014-10-08 12:38 -0700
      Re: operator module functions random832@fastmail.us - 2014-10-08 15:49 -0400
      Re: operator module functions Gelonida N <gelonida@gmail.com> - 2014-10-08 23:05 +0200
      Re: operator module functions Ian Kelly <ian.g.kelly@gmail.com> - 2014-10-08 15:23 -0600
      Re: operator module functions Ethan Furman <ethan@stoneleaf.us> - 2014-10-08 14:49 -0700
      Re: operator module functions Chris Kaynor <ckaynor@zindagigames.com> - 2014-10-08 14:21 -0700
      Re: operator module functions Ben Finney <ben+python@benfinney.id.au> - 2014-10-09 08:57 +1100
      Re: operator module functions Terry Reedy <tjreedy@udel.edu> - 2014-10-08 18:46 -0400
      Re: operator module functions Ethan Furman <ethan@stoneleaf.us> - 2014-10-08 16:35 -0700
      Re: operator module functions Ned Batchelder <ned@nedbatchelder.com> - 2014-10-08 21:41 -0400

csiph-web