Skip to content

Commit

Permalink
remove "from __future__ import ..." imports
Browse files Browse the repository at this point in the history
  • Loading branch information
vstinner committed Mar 19, 2020
1 parent f1006e6 commit 4484ee2
Show file tree
Hide file tree
Showing 16 changed files with 0 additions and 30 deletions.
2 changes: 0 additions & 2 deletions pyperformance/benchmarks/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import division, with_statement, print_function, absolute_import

import logging

from pyperformance.run import run_perf_script
Expand Down
2 changes: 0 additions & 2 deletions pyperformance/benchmarks/bm_chaos.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
Copyright (C) 2005 Carl Friedrich Bolz
"""

from __future__ import division, print_function

import math
import random

Expand Down
2 changes: 0 additions & 2 deletions pyperformance/benchmarks/bm_deltablue.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
.. _`V8's source code`: (https://github.com/v8/v8/blob/master/benchmarks/deltablue.js)
"""

from __future__ import print_function

import pyperf


Expand Down
1 change: 0 additions & 1 deletion pyperformance/benchmarks/bm_hexiom.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
(Main function tweaked by Armin Rigo.)
"""

from __future__ import division, print_function
import io

import pyperf
Expand Down
2 changes: 0 additions & 2 deletions pyperformance/benchmarks/bm_html5lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
The input data is the spec document for HTML 5, written in HTML 5.
The spec was pulled from http://svn.whatwg.org/webapps/index.
"""
from __future__ import with_statement

import io
import os.path

Expand Down
2 changes: 0 additions & 2 deletions pyperformance/benchmarks/bm_json_loads.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
to real-world scenarios which operate on single objects at a time.
"""

from __future__ import division

# Python imports
import json
import random
Expand Down
2 changes: 0 additions & 2 deletions pyperformance/benchmarks/bm_meteor_contest.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
contributed by Daniel Nanz, 2008-08-21
"""

from __future__ import division, print_function, absolute_import

from bisect import bisect

import pyperf
Expand Down
2 changes: 0 additions & 2 deletions pyperformance/benchmarks/bm_pickle.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
highly-efficient encoding for the n-1 following copies.
"""

from __future__ import division

import datetime
import random
import sys
Expand Down
2 changes: 0 additions & 2 deletions pyperformance/benchmarks/bm_richards.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
Outer loop added by Alex Jacoby
"""

from __future__ import print_function

import pyperf


Expand Down
1 change: 0 additions & 1 deletion pyperformance/benchmarks/bm_telco.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"""

from __future__ import print_function
from decimal import ROUND_HALF_EVEN, ROUND_DOWN, Decimal, getcontext, Context
import io
import os
Expand Down
2 changes: 0 additions & 2 deletions pyperformance/cli.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import division, with_statement, print_function, absolute_import

import argparse
import os.path
import sys
Expand Down
2 changes: 0 additions & 2 deletions pyperformance/cli_run.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import division, with_statement, print_function, absolute_import

import logging
import os.path
import sys
Expand Down
2 changes: 0 additions & 2 deletions pyperformance/compare.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import division, with_statement, print_function, absolute_import

import csv
import os.path
import math
Expand Down
2 changes: 0 additions & 2 deletions pyperformance/run.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import division, with_statement, print_function, absolute_import

import logging
import os.path
import subprocess
Expand Down
2 changes: 0 additions & 2 deletions pyperformance/venv.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import division, with_statement, print_function, absolute_import

import errno
import os
import platform
Expand Down
2 changes: 0 additions & 2 deletions runtests.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/env python3
from __future__ import division, with_statement, print_function, absolute_import

import os.path
import shutil
import subprocess
Expand Down

0 comments on commit 4484ee2

Please sign in to comment.