Working with decimals

Joshua Landau joshua at landau.ws
Sun Aug 24 15:25:34 EDT 2014


On 24 August 2014 20:19, Ian Kelly <ian.g.kelly at gmail.com> wrote:
> On Sun, Aug 24, 2014 at 1:17 PM, Ian Kelly <ian.g.kelly at gmail.com> wrote:
>>
>> On Sun, Aug 24, 2014 at 1:12 PM, Joshua Landau <joshua at landau.ws> 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.



More information about the Python-list mailing list