[Python-Dev] Google Summer of Code proposal: improvement of long int and adding new types/modules. (original) (raw)

Guido van Rossum guido at python.org
Fri Apr 21 20:07:17 CEST 2006


On 4/21/06, Tim Peters <tim.peters at gmail.com> wrote:

OTOH, the decimal type has potentially unbounded precision already, and the math-module functions have no idea what to do about that. Perhaps some non-gonzo (straightforward even if far from optimal, and coded in Python) arbitrary-precision algorithms would make a decent addition. For example, the Emacs calc package uses non-heroic algorithms that are fine for casual use.

(Slightly off-topic.) I wonder if the math module would actually be a good proving ground for generic/overloaded functions. It seems a clean fit (and even has a few applications for multiple dispatch, probably).

-- --Guido van Rossum (home page: http://www.python.org/~guido/)



More information about the Python-Dev mailing list