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/2001-March/013471.html below:

[Python-Dev] Adding a Rational Type to Python

[Python-Dev] Adding a Rational Type to Python [Python-Dev] Adding a Rational Type to PythonPaul Prescod paulp@ActiveState.com
Mon, 12 Mar 2001 07:09:37 -0800
Moshe Zadka wrote:
> 
> On Mon, 12 Mar 2001, Paul Prescod <paulp@ActiveState.com> wrote:
> 
> > Whether or not Python adopts rationals as the default number type, a
> > rational() built-in would be a Good Thing. I'd like to see it in 2.1 or
> > 2.2.
> 
> OK, how about this:
> 
> 1. I remove the "literals" part from my PEP to another PEP
> 2. I add to rational() an ability to take strings, such as "1.3" and
>    make rationals out of them

+1

-- 
Python:
    Programming the way
    Guido
    indented it.
       - (originated with Skip Montanaro?)



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