From 0ba616c69c23788784041f3eae12ba0b3d4d9654 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Sun, 29 Jul 2001 09:49:26 +0000 Subject: [PATCH] Add open issues. (Needs more work.) --- pep-0239.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/pep-0239.txt b/pep-0239.txt index 2562a5bc3..9ad0cdabd 100644 --- a/pep-0239.txt +++ b/pep-0239.txt @@ -57,6 +57,21 @@ The rational() Builtin rational(n, d) * d == n +Open Issues + + - Maybe the type should be called rat instead of rational. + Somebody proposed that we have "abstract" pure mathematical + types named complex, real, rational, integer, and "concrete" + representation types with names like float, rat, long, int. + + - Should a rational number with an integer value be allowed as a + sequence index? For example, should s[5/3 - 2/3] be equivalent + to s[1]? + + - Should shift and mask operators be allowed for rational numbers? + For rational numbers with integer values? + + References [1] PEP 240, Adding a Rational Literal to Python, Zadka,