Skip to content

Commit 4484ee2

Browse files
committed
remove "from __future__ import ..." imports
1 parent f1006e6 commit 4484ee2

16 files changed

+0
-30
lines changed

pyperformance/benchmarks/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import division, with_statement, print_function, absolute_import
2-
31
import logging
42

53
from pyperformance.run import run_perf_script

pyperformance/benchmarks/bm_chaos.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
Copyright (C) 2005 Carl Friedrich Bolz
44
"""
55

6-
from __future__ import division, print_function
7-
86
import math
97
import random
108

pyperformance/benchmarks/bm_deltablue.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
.. _`V8's source code`: (https://github.com/v8/v8/blob/master/benchmarks/deltablue.js)
1919
"""
2020

21-
from __future__ import print_function
22-
2321
import pyperf
2422

2523

pyperformance/benchmarks/bm_hexiom.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
(Main function tweaked by Armin Rigo.)
99
"""
1010

11-
from __future__ import division, print_function
1211
import io
1312

1413
import pyperf

pyperformance/benchmarks/bm_html5lib.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
The input data is the spec document for HTML 5, written in HTML 5.
44
The spec was pulled from http://svn.whatwg.org/webapps/index.
55
"""
6-
from __future__ import with_statement
7-
86
import io
97
import os.path
108

pyperformance/benchmarks/bm_json_loads.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
to real-world scenarios which operate on single objects at a time.
77
"""
88

9-
from __future__ import division
10-
119
# Python imports
1210
import json
1311
import random

pyperformance/benchmarks/bm_meteor_contest.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
contributed by Daniel Nanz, 2008-08-21
99
"""
1010

11-
from __future__ import division, print_function, absolute_import
12-
1311
from bisect import bisect
1412

1513
import pyperf

pyperformance/benchmarks/bm_pickle.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
highly-efficient encoding for the n-1 following copies.
1313
"""
1414

15-
from __future__ import division
16-
1715
import datetime
1816
import random
1917
import sys

pyperformance/benchmarks/bm_richards.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
Outer loop added by Alex Jacoby
1010
"""
1111

12-
from __future__ import print_function
13-
1412
import pyperf
1513

1614

pyperformance/benchmarks/bm_telco.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
1616
"""
1717

18-
from __future__ import print_function
1918
from decimal import ROUND_HALF_EVEN, ROUND_DOWN, Decimal, getcontext, Context
2019
import io
2120
import os

0 commit comments

Comments
 (0)