Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.027 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'check,': 0.09; 'imported': 0.09; 'way:': 0.09; 'python': 0.11; '24,': 0.16; 'wrote:': 0.18; 'aug': 0.22; 'email addr:gmail.com>': 0.22; 'math': 0.24; '>': 0.26; 'header:In-Reply-To:1': 0.27; 'skip:p 30': 0.29; 'message-id:@mail.gmail.com': 0.30; '"",': 0.31; 'keyerror:': 0.31; 'file': 0.32; '(most': 0.33; 'subject:with': 0.35; 'received:google.com': 0.35; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'recent': 0.39; 'skip:& 20': 0.39; 'to:addr:python.org': 0.39; 'skip:p 20': 0.39; 'easy': 0.60; 'ian': 0.60 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 :content-type; bh=RuLew/nxBfSfrsxom1845tylKW9/CgOeUy85A/9SUhE=; b=xO1Fw7dgo2KewOQBklet7qU0rCSJ4AdK+rB5+Oc0xyMSeFgceXwlxG9WyOAB+mKuWl Y1h1t/ghJqvdgMrLuWoaeUFy86NxTdeuVtqRSP/1Ghhhbhv+qtNxNZqbL4OEWPlQgQol 6rVwNDi1kxD4v0hrhlf/1hMYfw6RGsbG93EUcmMRThtLnFeMHO9TAmb/CYpwuipdebPT 58frw99jaZNv7fxn35vGO1+3UnRJgnIdsunjK6lnYXdCoMjGbFGnT058nL49+gjskaPr LFyptTG98csnt8htHrIM8MIczTZiL6B0vSQt07mdM6vnh0wJsNQWgR0YZtzR/KaspJ/I K5Fw== X-Received: by 10.68.68.131 with SMTP id w3mr22739929pbt.90.1408908004126; Sun, 24 Aug 2014 12:20:04 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: Ian Kelly Date: Sun, 24 Aug 2014 13:19:24 -0600 Subject: Re: Working with decimals To: Python Content-Type: multipart/alternative; boundary=001a1138150e1b78df050164f515 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 36 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1408908013 news.xs4all.nl 2865 [2001:888:2000:d::a6]:49747 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:76937 --001a1138150e1b78df050164f515 Content-Type: text/plain; charset=UTF-8 On Sun, Aug 24, 2014 at 1:17 PM, Ian Kelly wrote: > > On Sun, Aug 24, 2014 at 1:12 PM, Joshua Landau wrote: > > Is math not already imported by start-up? > > Why would it be? It's easy to check, by the way: $ python -c "import sys; print(sys.modules['math'])" Traceback (most recent call last): File "", line 1, in KeyError: 'math' --001a1138150e1b78df050164f515 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Sun, Aug 24, 2014 at 1:17 PM, Ian Kelly <ian.g.kelly@gmail.com> wrote:
><= br>> On Sun, Aug 24, 2014 at 1:12 PM, Joshua Landau <joshua@landau.ws> wrote:
> > Is math not already imported by start-up?
>
> Why wou= ld it be?

It's easy to check, by the way:
=
$ python -c "import sys; print(sys.modules['ma= th'])"
Traceback (most recent call last):
=C2=A0 File "<str= ing>", line 1, in <module>
KeyError: 'math'=
--001a1138150e1b78df050164f515--