From 675f6b87cdfa0ceb15573c5110a26c09a07c1a2c Mon Sep 17 00:00:00 2001 From: Brian Curtin Date: Fri, 11 Nov 2011 09:37:25 -0600 Subject: Fix #13384. Remove __future__ import in 3.x code. --- Lib/random.py | 1 - Misc/NEWS | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) 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. -- cgit v0.12