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.

Author nneonneo
Recipients nneonneo
Date 2011-11-11.15:19:44
SpamBayes Score 1.696292e-05
Marked as misclassified No
Message-id <1321024786.01.0.759110473236.issue13384@psf.upfronthosting.co.za>
In-reply-to
Content
Lib/random.py in Python 3.2 contains the line

from __future__ import division

even though it is no longer necessary, as true float division is the default in Python 3.

Trivial patch:

--- lib/python3.2/random.py	2011-09-03 20:32:05.000000000 -0400
+++ lib/python3.2/random.py	2011-11-11 11:11:11.000000000 -0400
@@ -36,7 +36,6 @@
 
 """
 
-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
History
Date User Action Args
2011-11-11 15:19:46nneonneosetrecipients: + nneonneo
2011-11-11 15:19:46nneonneosetmessageid: <1321024786.01.0.759110473236.issue13384@psf.upfronthosting.co.za>
2011-11-11 15:19:45nneonneolinkissue13384 messages
2011-11-11 15:19:44nneonneocreate