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


Groups > comp.lang.python > #73412

can I get 0./0. to return nan instead of exception?

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.032
X-Spam-Evidence '*H*': 0.94; '*S*': 0.00; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'exception?': 0.16; 'nan': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:exception': 0.16; 'header:User-Agent:1': 0.23; 'header:X -Complaints-To:1': 0.27; 'raising': 0.36; 'subject:?': 0.36; 'to:addr:python-list': 0.38; 'subject:can': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'subject:. ': 0.67; 'behavior': 0.77; 'subject:get': 0.81; 'received:139': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Neal Becker <ndbecker2@gmail.com>
Subject can I get 0./0. to return nan instead of exception?
Date Thu, 19 Jun 2014 07:04:11 -0400
Mime-Version 1.0
Content-Type text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding 7Bit
X-Gmane-NNTP-Posting-Host exa2-in-fw-01-epn.hns.com
User-Agent KNode/4.12.5
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.11140.1403175869.18130.python-list@python.org> (permalink)
Lines 3
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1403175869 news.xs4all.nl 2870 [2001:888:2000:d::a6]:44266
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:73412

Show key headers only | View raw


Can I change behavior of py3 to return nan for 0./0. instead of raising an
exception?

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


Thread

can I get 0./0. to return nan instead of exception? Neal Becker <ndbecker2@gmail.com> - 2014-06-19 07:04 -0400

csiph-web