Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #73305
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!border3.nntp.dca.giganews.com!backlog3.nntp.dca3.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!ottix-news.ottix.net!newsswitch.lcs.mit.edu!bloom-beacon.mit.edu!bloom-beacon.mit.edu!panix!roy |
|---|---|
| From | Roy Smith <roy@panix.com> |
| Newsgroups | comp.lang.python |
| Subject | Re: Python's numeric tower |
| Date | Sun, 15 Jun 2014 23:48:19 -0400 |
| Organization | PANIX Public Access Internet and UNIX, NYC |
| Lines | 29 |
| Message-ID | <roy-E99CF6.23481915062014@news.panix.com> (permalink) |
| References | <539d0a40$0$29988$c3e8da3$5496439d@news.astraweb.com> <mailman.11068.1402818363.18130.python-list@python.org> <539dbcbe$0$29988$c3e8da3$5496439d@news.astraweb.com> <roy-671447.13284415062014@news.panix.com> <539e3c95$0$29988$c3e8da3$5496439d@news.astraweb.com> <mailman.11074.1402880950.18130.python-list@python.org> <roy-019E1B.21575015062014@news.panix.com> <mailman.11075.1402884256.18130.python-list@python.org> <roy-ED231F.22175715062014@news.panix.com> |
| NNTP-Posting-Host | localhost |
| X-Trace | reader1.panix.com 1402890499 5891 127.0.0.1 (16 Jun 2014 03:48:19 GMT) |
| X-Complaints-To | abuse@panix.com |
| NNTP-Posting-Date | Mon, 16 Jun 2014 03:48:19 +0000 (UTC) |
| User-Agent | MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) |
| Xref | csiph.com comp.lang.python:73305 |
| X-Original-Bytes | 2497 |
Show key headers only | View raw
In article <roy-ED231F.22175715062014@news.panix.com>,
Roy Smith <roy@panix.com> wrote:
> In article <mailman.11075.1402884256.18130.python-list@python.org>,
> Chris Angelico <rosuav@gmail.com> wrote:
>
> > On Mon, Jun 16, 2014 at 11:57 AM, Roy Smith <roy@panix.com> wrote:
> > > In article <mailman.11074.1402880950.18130.python-list@python.org>,
> > > Chris Angelico <rosuav@gmail.com> wrote:
> > >
> > >> I guess if you have a list of Numbers that are all the same type, you
> > >> can probably sum them, but you can sum non-Numbers too. The docstring
> > >> is a bit vague - sure, it's a number, but what can you do with it?
> > >
> > > You can use it to count to three!
> >
> > Since "increment" is not a provided method, and the + and += operators
> > are not guaranteed to be defined for any definition of 1 on the other
> > side, I'm not sure that's actually true... but if you hold a hand
> > grenade and want to know whether to count to Decimal('3') or 3+0j or
> > Fraction(3, 1), I'm just going to tell you to throw the thing already!
> >
> > ChrisA
>
> I don't believe HandGrenade implements throw(). It does, however,
> implement lobbeth().
On second thought, it probably implements lob(). You can, however
derive lobbeth() by calling conjugate().
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Python's numeric tower Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-06-15 02:51 +0000
Re: Python's numeric tower Ian Kelly <ian.g.kelly@gmail.com> - 2014-06-15 01:22 -0600
Re: Python's numeric tower Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-06-15 15:33 +0000
Re: Python's numeric tower Roy Smith <roy@panix.com> - 2014-06-15 13:28 -0400
Re: Python's numeric tower Ian Kelly <ian.g.kelly@gmail.com> - 2014-06-15 11:45 -0600
Re: Python's numeric tower Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-06-16 00:38 +0000
Re: Python's numeric tower Chris Angelico <rosuav@gmail.com> - 2014-06-16 11:02 +1000
Re: Python's numeric tower Roy Smith <roy@panix.com> - 2014-06-15 21:57 -0400
Re: Python's numeric tower Chris Angelico <rosuav@gmail.com> - 2014-06-16 12:04 +1000
Re: Python's numeric tower Roy Smith <roy@panix.com> - 2014-06-15 22:17 -0400
Re: Python's numeric tower Dan Sommers <dan@tombstonezero.net> - 2014-06-16 03:38 +0000
Re: Python's numeric tower Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-06-16 09:29 +0100
Re: Python's numeric tower Roy Smith <roy@panix.com> - 2014-06-15 23:48 -0400
csiph-web