From: Brian Curtin Date: Fri, 11 Nov 2011 15:37:25 +0000 (-0600) Subject: Fix #13384. Remove __future__ import in 3.x code. X-Git-Tag: v3.2.3rc1~400 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=675f6b87cdfa0ceb15573c5110a26c09a07c1a2c;p=thirdparty%2FPython%2Fcpython.git Fix #13384. Remove __future__ import in 3.x code. --- diff --git a/Lib/random.py b/Lib/random.py index ccc304dd66d7..d4006e5727ec 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 24840b172e10..b1710d88bf7d 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.