Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2.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.018 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'check,': 0.09; 'imported': 0.09; 'way:': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; '24,': 0.16; 'namespace,': 0.16; 'sender:addr:gmail.com': 0.17; 'wrote:': 0.18; 'aug': 0.22; 'cc:addr:python.org': 0.22; 'math': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'thus': 0.29; '(like': 0.30; 'message-id:@mail.gmail.com': 0.30; 'subject:with': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'pm,': 0.38; 'skip:p 20': 0.39; 'easy': 0.60; 'ian': 0.60; 'august': 0.61; 'making': 0.63; 'to:addr:gmail.com': 0.65 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=p0K72NDPFJkMns7XZZEbIRs4QlAD+jdoGjyeIcMo940=; b=IUu011KXOa1xmPmFaxKgd4mfPenOZOnXxUOExnC+T/XG6gEgw2dn3wg5T2VcdCUou+ pokBCk0K/WSZC7IblyPEp/Gpn82KJ0RLsOOECE/e/VfIBWyKk6EJVVZBBUMedThV4wwm dfZ4h9oNJIG3apSEV1AkP58qwaKJRAGA0OukhOgNJ6quPlsST27B83C8KVHkmcvwttyi rGgL9WEoFJd+yWu7JptYHn/PrUOf1us4GKCTFFCrCxuoacDDe59eM/lDr3B4sExQNGub Pm90lZD8NNcqiTLw4KDINeaEZtqpObFsEZEtPGdhJcXdPCBxlC/CPSu8F3xaRu35UG2X tAtg== X-Received: by 10.112.255.36 with SMTP id an4mr16199567lbd.31.1408908376030; Sun, 24 Aug 2014 12:26:16 -0700 (PDT) MIME-Version: 1.0 Sender: joshua.landau.ws@gmail.com In-Reply-To: References: From: Joshua Landau Date: Sun, 24 Aug 2014 20:25:34 +0100 X-Google-Sender-Auth: 6I1ChCLfBzA91d8SkhK9RIEqAQ0 Subject: Re: Working with decimals To: Ian Kelly Content-Type: text/plain; charset=UTF-8 Cc: Python 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: 14 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1408908384 news.xs4all.nl 2871 [2001:888:2000:d::a6]:54830 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:76939 On 24 August 2014 20:19, Ian Kelly wrote: > 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'])" I don't mean into the global namespace, but imported by other modules (like the builtins) and thus cached, making instantiation trivial.