A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2006-July/067543.html below:

[Python-Dev] Strategy for converting the decimal module to C

[Python-Dev] Strategy for converting the decimal module to CLisandro Dalcin dalcinl at gmail.com
Wed Jul 19 01:15:18 CEST 2006
On 7/18/06, Tim Peters <tim.peters at gmail.com> wrote:
> [Raymond Hettinger]
> > ...
> > If the current approach gets in their way, the C implementers should feel free to
> > make an alternate design choice.
>
> I expect they will, eventually.  Converting this to C is a big job,
> and at the NFS sprint we settled on an "incremental" strategy allowing
> most of the module to remain written in Python, converting methods to
> C one at a time.  Changing the user-visible API is a hard egg to
> swallow, and it's unfortunate that the Python code used a dict to hold
> "flags" to begin with.  The dict doesn't just record whether an
> exception has occurred, it also counts how many times the exception
> occurred.  It's possible that someone, somewhere, has latched on to
> that as "a feature".

Why not a 'cDecimal' module instead?


-- 
Lisandro Dalcín
---------------
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
PTLC - Güemes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4