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/2002-December/031174.html below:

[Python-Dev] Adding decimal (aka FixedPoint) numbers to Python

[Python-Dev] Adding decimal (aka FixedPoint) numbers to PythonBrett Cannon brett@python.org
Sun, 15 Dec 2002 01:00:33 -0800 (PST)
[Michael McLay]

> sf/653938I is a patch to integrate the fixedpoint module, that was created by
> Tim Peters, into Python as a first class object. That is, the patch adds this
> new number type so that it has direct syntax support like float, int, long,
> str., etc. within the interpreter.
>

Someone will correct me if I am wrong, but making a new decimal type that
includes a new suffix for numbers is  going to require a PEP.  Your
email, though, already seems like a rather good start for one and should
not require much more work.

It would be easier to get the module itself sans any Python core changes
accepted initially to gauge usage and interest by the Python community
before pushing for syntax integration.  This is what is be done with the
current rational implementation.

I personally would like to see the module included but currently say no to
any integration into the core syntax.

-Brett



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