ANN: mpmath 0.17 (Python 3 support and more)

3 views
Skip to first unread message

Fredrik Johansson

unread,
Feb 1, 2011, 5:11:44 PM2/1/11
to mpm...@googlegroups.com, sy...@googlegroups.com, sage-...@googlegroups.com, python-ann...@python.org
Hi all,

Version 0.17 of mpmath is now available on the project website:
http://code.google.com/p/mpmath/

It can also be downloaded from the Python Package Index:
http://pypi.python.org/pypi/mpmath/0.17

Mpmath is a pure-Python library for arbitrary-precision floating-point
arithmetic that implements an extensive set of mathematical functions. It
can be used as a standalone library or via SymPy
(http://code.google.com/p/sympy/), and is also available as a standard
component of Sage (http://sagemath.org/).

The major news in 0.17 is that mpmath now works with Python 3. To
support both Python 2.x and 3.x with the same codebase, compatibility with
Python 2.4 has been dropped (mpmath now requires 2.5 or higher). New
functionality in mpmath 0.17 includes an implementation of the Lerch
transcendent, Riemann zeta zero counting, and improved support for
evaluating derivatives of the Hurwitz zeta function and related functions.

Many thanks to Juan Arias de Reyna and Case Vanhorsen who contributed
to this version.

For more details, see the changelog:
http://mpmath.googlecode.com/svn/tags/0.17/CHANGES

Extensive documentation is available at:
http://mpmath.googlecode.com/svn/trunk/doc/build/index.html or
http://mpmath.googlecode.com/svn/tags/0.17/doc/build/index.html

Bug reports and other comments are welcome on the issue tracker at
http://code.google.com/p/mpmath/issues/list or the mpmath mailing list:
http://groups.google.com/group/mpmath

Enjoy,
Fredrik Johansson

Aaron S. Meurer

unread,
Feb 1, 2011, 8:17:42 PM2/1/11
to sy...@googlegroups.com
We need to update this after the 0.7.0 release because of the dropped Python 2.4 support. See http://code.google.com/p/sympy/issues/detail?id=2176.

Aaron Meurer

Chris Smith

unread,
Feb 2, 2011, 12:18:03 PM2/2/11
to sy...@googlegroups.com
Fredrik Johansson wrote:
>> Hi all,
>>
>> Version 0.17 of mpmath is now available on the project website:
>> http://code.google.com/p/mpmath/

Hi Fredrik,

Something I noticed in mpmath files (in sympy) was the use of _ in files. For some reason I recall that this should probably be removed with a "del _" command. This use was located in libmpf and libintmath.

Thanks,
/c

Fredrik Johansson

unread,
Feb 2, 2011, 4:56:59 PM2/2/11
to sy...@googlegroups.com
Hi Chris,

On Wed, Feb 2, 2011 at 6:18 PM, Chris Smith <smi...@gmail.com> wrote:
> Something I noticed in mpmath files (in sympy) was the use of _ in files. For some reason I recall that this should probably be removed with a "del _" command. This use was located in libmpf and libintmath.

Why is this a problem? Names starting with "_" don't get imported
through "import *" (and there aren't any "import *"'s left for those
modules anyway, I think).

Fredrik

Fredrik Johansson

unread,
Feb 2, 2011, 4:57:30 PM2/2/11
to sy...@googlegroups.com
On Wed, Feb 2, 2011 at 2:17 AM, Aaron S. Meurer <asme...@gmail.com> wrote:
> We need to update this after the 0.7.0 release because of the dropped Python 2.4 support.  See http://code.google.com/p/sympy/issues/detail?id=2176.

Thanks for creating the issue!

Fredrik

Chris Smith

unread,
Feb 2, 2011, 9:08:40 PM2/2/11
to sy...@googlegroups.com

Maybe what happens is that I occasional (while debugging) debug a module and when I run that file it then takes over my _ usage.

/c

Reply all
Reply to author
Forward
0 new messages