A RetroSearch Logo

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

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2009-October/093105.html below:

[Python-Dev] SIGCHECK() in longobject.c

[Python-Dev] SIGCHECK() in longobject.cMark Dickinson dickinsm at gmail.com
Tue Oct 20 16:57:13 CEST 2009
On Tue, Oct 20, 2009 at 3:50 PM, Eric Smith <eric at trueblade.com> wrote:
>> The code was working a few months ago (with all Decimal tests
>> passing), but there have been some changes and bugfixes since
>> then.  I might try to resurrect that code, dropping the _Decimal type and
>> just concentrating on Deccoeff.
>
> My only concern about this is the effect it would have on IronPython,
> Jython, PyPy, and other alternate implementations that use the stdlib.

Yes, that worries me a bit, too.  I have the same worry with the idea
of rewriting the entire decimal module in C.

The Deccoeff type is very simple, though.  It would be easy to create
a pure Python version of it, and then do something like:

try:
    from _decimal import Deccoeff  # try to get C version
except ImportError:
    from deccoeff import Deccoeff  # else use Python fallback code.

Mark
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