Gentoo Archives: gentoo-science

From: Steven Trogdon <strogdon@×××××.edu>
To: gentoo-science@l.g.o
Subject: Re: [gentoo-science] [sage-on-gentoo]mpmath testing
Date: Mon, 18 Oct 2010 15:18:25
Message-Id: 1287415024.10843.0@ledaig
In Reply to: [gentoo-science] [sage-on-gentoo]mpmath testing by "François Bissey"
1 On 10/18/10 - 06:47:25, François Bissey wrote:
2 > After sympy I would like testing report on mpmath.
3 >
4 > mpmath has an interesting relationship with sage.
5 > sage includes mpmath and if mpmath finds sage it uses bits of it.
6 >
7 > So I'd like to know what sage-on-gentoo users get when
8 > they do "import mpmath" from a python2.6 shell.
9 > I'd like reports of success as well as error along with
10 > the version of sage installed (4.5.3, 4.6alpha3 or other).
11 >
12 > Thanks,
13 > Francois
14 >
15 Here with Sage 4.5.3 from a python shell; import sage.all, import sympy
16 or import mpmath all produce the expected result - one is returned to
17 the python prompt after the import. With Sage 4.6alpha3 if each import
18 is performed from a separate python shell then each import returns
19
20 Traceback (most recent call last):
21 File "/usr/bin/sage-cleaner", line 25, in <module>
22 DOT_SAGE = os.environ['DOT_SAGE']
23 File "/usr/lib/python2.6/UserDict.py", line 22, in __getitem__
24 raise KeyError(key)
25 KeyError: 'DOT_SAGE'
26
27 If from the same python shell the three imports are performed then only
28 the first import returns the Traceback.
29
30 Steve

Replies

Subject Author
Re: [gentoo-science] [sage-on-gentoo]mpmath testing "François Bissey" <f.r.bissey@×××××××××.nz>