This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Rational Reference Implementation
Type: Stage:
Components: Interpreter Core Versions: Python 2.3
process
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: Nosy List: ccraig, loewis
Priority: normal Keywords: patch

Created on 2002-10-02 21:46 by ccraig, last changed 2022-04-10 16:05 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
changes.crat.3 ccraig, 2002-10-02 21:46 Patch to python cvs tree
rational-Nr ccraig, 2002-10-16 01:55 rationals of form 3r or 3R
Messages (3)
msg41306 - (view) Author: Christopher A. Craig (ccraig) Date: 2002-10-02 21:46
This is a reference implementation of rational numbers
(PEP239).
It includes regression tests for rationals and changes
to cPickle/pickle
to support them.  It has been tested on Solaris and
Linux, but notably not Windows.

This implementation does change the behaviour of future
division to return a rational rather than a float.
msg41307 - (view) Author: Christopher A. Craig (ccraig) Date: 2002-10-16 01:55
Logged In: YES 
user_id=135050

Attached rational-Nr
uses rational literals in the form 3r or 3R
msg41308 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2006-11-05 03:23
Logged In: YES 
user_id=21627

Since the PEP was rejected, so is this patch.
History
Date User Action Args
2022-04-10 16:05:43adminsetgithub: 37248
2002-10-02 21:46:33ccraigcreate