Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #83400
| Path | csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <jeanpierreda@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.005 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'python,': 0.02; 'incompatible': 0.07; 'consistency': 0.09; 'expected.': 0.09; 'undefined': 0.09; 'cc:addr:python-list': 0.11; 'bug': 0.12; 'jan': 0.12; 'ben,': 0.16; 'buggy': 0.16; 'finney': 0.16; 'imo.': 0.16; 'nan': 0.16; 'rationale': 0.16; 'types,': 0.16; 'exception': 0.16; 'wrote:': 0.18; 'result.': 0.19; 'thu,': 0.19; 'cc:addr:python.org': 0.22; 'question': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'url:bugs': 0.29; 'message- id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'filed': 0.31; 'subject:numbers': 0.31; 'subject:other': 0.31; 'writes:': 0.31; 'agreed': 0.32; 'url:python': 0.33; 'standards': 0.33; "i'd": 0.34; 'case,': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'crazy': 0.36; 'url:listinfo': 0.36; 'thanks': 0.36; 'url:org': 0.36; 'should': 0.36; 'being': 0.38; 'ben': 0.38; 'pm,': 0.38; 'expect': 0.39; 'enough': 0.39; 'either': 0.39; 'url:mail': 0.40; 'skip:u 10': 0.60; 'dave': 0.60; 'chance': 0.65; 'here': 0.66; 'behavior': 0.77; '2015': 0.84; '\xe2\x80\x9cwe': 0.84; 'angel': 0.91 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=7lieQLH01ia8lZ1WUI38OCiiNt/WmEKvVVbcJIWQw/M=; b=aCShEcpXnOXMovDGlqBi8Iw5PQZBnr9kKPC+jTAxwB5DWxp88gcSkX9ZjlOHjhMFe8 u57wzS0aItx1ga6desnjediFDskCTDWLRJT2Jf+KtX62GmHO4nkFQpF8d2ghiJyoLGxX SBXgPR7hcyizgG/vXZjbIGe4/D5dKEUd+gEZILg9XvTjVL0I4rimFewJoIYVS9HFZNDi NJnbr7tvCucLXOEVFYJmt1gFt96PM5RoYN26GBonidz4B2EV1QmPAOOZaK2Ocfl21y61 4o8JZtynf4DiOo8kbmYVpx4ZDAVMxwg7qWjeqy9/soHEMczO/+JMORM0WZHsn8JwCkIr ZnrA== |
| X-Received | by 10.140.32.166 with SMTP id h35mr21091597qgh.22.1420773252386; Thu, 08 Jan 2015 19:14:12 -0800 (PST) |
| MIME-Version | 1.0 |
| In-Reply-To | <85tx00vend.fsf@benfinney.id.au> |
| References | <CABicbJK-5izGtet8BsS1Yqx+6AHMX7gLU4zYjjt5jULJXNVipA@mail.gmail.com> <54AF405C.6020609@davea.name> <85tx00vend.fsf@benfinney.id.au> |
| From | Devin Jeanpierre <jeanpierreda@gmail.com> |
| Date | Thu, 8 Jan 2015 19:13:32 -0800 |
| Subject | Re: Decimals and other numbers |
| To | Ben Finney <ben+python@benfinney.id.au> |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | quoted-printable |
| Cc | "comp.lang.python" <python-list@python.org> |
| 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.17503.1420773255.18130.python-list@python.org> (permalink) |
| Lines | 33 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1420773255 news.xs4all.nl 2898 [2001:888:2000:d::a6]:33954 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:83400 |
Show key headers only | View raw
Thanks Ben, with your encouragement I have filed http://bugs.python.org/issue23201 -- Devin On Thu, Jan 8, 2015 at 7:03 PM, Ben Finney <ben+python@benfinney.id.au> wrote: > Dave Angel <davea@davea.name> writes: > >> What you don't say is which behavior you actually expected. Since >> 0**0 is undefined mathematically, I'd expect either an exception or a >> NAN result. > > Do you think that the ‘int’ and ‘float’ types, which do produce a number > result for ‘0 ** 0’, are buggy and should be fixed? > > I think the inconsistency is unnecessarily confusing. Perhaps the > consistency is in standards outside Python, but I think there is cause > here either for a change of behaviour or, if ther eis a good rationale > for the incompatible behaviours, to document the rationale. In either > case, a bug report is warranted IMO. > > -- > \ “We are all agreed that your theory is crazy. The question that | > `\ divides us is whether it is crazy enough to have a chance of | > _o__) being correct.” —Niels Bohr (to Wolfgang Pauli), 1958 | > Ben Finney > > -- > https://mail.python.org/mailman/listinfo/python-list
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Decimals and other numbers Devin Jeanpierre <jeanpierreda@gmail.com> - 2015-01-08 19:13 -0800
csiph-web