summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Curtin <brian@python.org>2011-11-11 15:37:25 (GMT)
committerBrian Curtin <brian@python.org>2011-11-11 15:37:25 (GMT)
commit675f6b87cdfa0ceb15573c5110a26c09a07c1a2c (patch)
treebbbd02fde18a1926a7d428b37cb5fd0fc63b6ed1
parentd3baae73be733287504b800de22db173017c95f7 (diff)
downloadcpython-675f6b87cdfa0ceb15573c5110a26c09a07c1a2c.zip
cpython-675f6b87cdfa0ceb15573c5110a26c09a07c1a2c.tar.gz
cpython-675f6b87cdfa0ceb15573c5110a26c09a07c1a2c.tar.bz2
Fix #13384. Remove __future__ import in 3.x code.
-rw-r--r--Lib/random.py1
-rw-r--r--Misc/NEWS2
2 files changed, 2 insertions, 1 deletions
diff --git a/Lib/random.py b/Lib/random.py
index ccc304d..d4006e5 100644
--- a/Lib/random.py
+++ b/Lib/random.py
@@ -36,7 +36,6 @@ General notes on the underlying Mersenne Twister core generator:
"""
-from __future__ import division
from warnings import warn as _warn
from types import MethodType as _MethodType, BuiltinMethodType as _BuiltinMethodType
from math import log as _log, exp as _exp, pi as _pi, e as _e, ceil as _ceil
diff --git a/Misc/NEWS b/Misc/NEWS
index 24840b1..b1710d8 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -73,6 +73,8 @@ Core and Builtins
Library
-------
+- Issue #13384: Remove unnecessary __future__ import in Lib/random.py
+
- Issue #13373: multiprocessing.Queue.get() could sometimes block indefinitely
when called with a timeout. Patch by Arnaud Ysmal.