public inbox for gentoo-science@lists.gentoo.org
 help / color / mirror / Atom feed
From: Steven Trogdon <strogdon@d.umn.edu>
To: gentoo-science@lists.gentoo.org
Subject: Re: [gentoo-science] [sage-on-gentoo]mpmath testing
Date: Mon, 18 Oct 2010 10:16:59 -0500	[thread overview]
Message-ID: <1287415024.10843.0@ledaig> (raw)
In-Reply-To: <201010190047.25820.f.r.bissey@massey.ac.nz> (from f.r.bissey@massey.ac.nz on Mon Oct 18 06:47:25 2010)

[-- Attachment #1: Type: text/plain, Size: 1160 bytes --]

On   10/18/10 - 06:47:25, François Bissey wrote:
> After sympy I would like testing report on mpmath.
> 
> mpmath has an interesting relationship with sage.
> sage includes mpmath and if mpmath finds sage it uses bits of it.
> 
> So I'd like to know what sage-on-gentoo users get when
> they do "import mpmath" from a python2.6 shell.
> I'd like reports of success as well as error along with
> the version of sage installed (4.5.3, 4.6alpha3 or other).
> 
> Thanks,
> Francois
> 
Here with Sage 4.5.3 from a python shell; import sage.all, import sympy  
or import mpmath all produce the expected result - one is returned to  
the python prompt after the import. With Sage 4.6alpha3 if each import  
is performed from a separate python shell then each import returns

Traceback (most recent call last):
   File "/usr/bin/sage-cleaner", line 25, in <module>
     DOT_SAGE = os.environ['DOT_SAGE']
   File "/usr/lib/python2.6/UserDict.py", line 22, in __getitem__
     raise KeyError(key)
KeyError: 'DOT_SAGE'

If from the same python shell the three imports are performed then only  
the first import returns the Traceback.

Steve

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2010-10-18 15:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-18 11:47 [gentoo-science] [sage-on-gentoo]mpmath testing François Bissey
2010-10-18 15:16 ` Steven Trogdon [this message]
2010-10-19  9:45   ` François Bissey
2010-10-19 20:25     ` Steven Trogdon
2010-10-19 20:41       ` François Bissey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1287415024.10843.0@ledaig \
    --to=strogdon@d.umn.edu \
    --cc=gentoo-science@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox