summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2008-02-10 21:29:51 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2008-02-10 21:29:51 (GMT)
commitd058cd2cc8e2a3f61609b92a8fc821ea8ec524ca (patch)
tree07e5d6aa70f60c886ca138de24fdca84686a0b54 /Misc
parentda614dcc4f56bfb136c53b04d60889870d969926 (diff)
downloadcpython-d058cd2cc8e2a3f61609b92a8fc821ea8ec524ca.zip
cpython-d058cd2cc8e2a3f61609b92a8fc821ea8ec524ca.tar.gz
cpython-d058cd2cc8e2a3f61609b92a8fc821ea8ec524ca.tar.bz2
Rename rational.Rational to fractions.Fraction, to avoid name clash
with numbers.Rational. See issue #1682 for related discussion.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index c519ba6..81eef0e 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -400,6 +400,10 @@ Core and builtins
Library
-------
+- Rename rational.py to fractions.py and the rational.Rational class
+ to fractions.Fraction, to avoid the name clash with the abstract
+ base class numbers.Rational. See discussion in issue #1682.
+
- The pickletools module now provides an optimize() function
that eliminates unused PUT opcodes from a pickle string.