Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
675f6b87
Commit
675f6b87
authored
Nov 11, 2011
by
Brian Curtin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix #13384. Remove __future__ import in 3.x code.
parent
d3baae73
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
Lib/random.py
Lib/random.py
+0
-1
Misc/NEWS
Misc/NEWS
+2
-0
No files found.
Lib/random.py
View file @
675f6b87
...
@@ -36,7 +36,6 @@ General notes on the underlying Mersenne Twister core generator:
...
@@ -36,7 +36,6 @@ General notes on the underlying Mersenne Twister core generator:
"""
"""
from
__future__
import
division
from
warnings
import
warn
as
_warn
from
warnings
import
warn
as
_warn
from
types
import
MethodType
as
_MethodType
,
BuiltinMethodType
as
_BuiltinMethodType
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
from
math
import
log
as
_log
,
exp
as
_exp
,
pi
as
_pi
,
e
as
_e
,
ceil
as
_ceil
...
...
Misc/NEWS
View file @
675f6b87
...
@@ -73,6 +73,8 @@ Core and Builtins
...
@@ -73,6 +73,8 @@ Core and Builtins
Library
Library
-------
-------
- Issue #13384: Remove unnecessary __future__ import in Lib/random.py
- Issue #13373: multiprocessing.Queue.get() could sometimes block indefinitely
- Issue #13373: multiprocessing.Queue.get() could sometimes block indefinitely
when called with a timeout. Patch by Arnaud Ysmal.
when called with a timeout. Patch by Arnaud Ysmal.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment