[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 20/20: python3: futurize misplaced __future
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 20/20: python3: futurize misplaced __future__ import |
Date: |
Sun, 25 Dec 2016 04:00:00 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
jcorgan pushed a commit to branch python3
in repository gnuradio.
commit 23af6b87ad049ad516ce213ad40b93042e89df02
Author: Douglas Anderson <address@hidden>
Date: Fri Dec 23 15:32:32 2016 -0700
python3: futurize misplaced __future__ import
---
gr-digital/python/digital/generic_mod_demod.py | 3 +--
gr-fec/python/fec/polar/channel_construction.py | 5 ++---
gr-fec/python/fec/polar/channel_construction_awgn.py | 3 +--
3 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/gr-digital/python/digital/generic_mod_demod.py
b/gr-digital/python/digital/generic_mod_demod.py
index 402a1f0..bf88abc 100644
--- a/gr-digital/python/digital/generic_mod_demod.py
+++ b/gr-digital/python/digital/generic_mod_demod.py
@@ -20,14 +20,13 @@
#
from __future__ import print_function
+from __future__ import absolute_import
# See gnuradio-examples/python/digital for examples
"""
Generic modulation and demodulation.
"""
-from __future__ import absolute_import
-
from gnuradio import gr
from .modulation_utils import extract_kwargs_from_options_for_class
from .utils import mod_codes
diff --git a/gr-fec/python/fec/polar/channel_construction.py
b/gr-fec/python/fec/polar/channel_construction.py
index b60a92a..a22c643 100644
--- a/gr-fec/python/fec/polar/channel_construction.py
+++ b/gr-fec/python/fec/polar/channel_construction.py
@@ -18,14 +18,13 @@
# Boston, MA 02110-1301, USA.
#
-from __future__ import print_function
-
'''
[0] Erdal Arikan: 'Channel Polarization: A Method for Constructing
Capacity-Achieving Codes for Symmetric Binary-Input Memoryless Channels', 2009
foundational paper for polar codes.
'''
-from __future__ import absolute_import
+from __future__ import print_function
+from __future__ import absolute_import
from .channel_construction_bec import calculate_bec_channel_capacities
from .channel_construction_bec import design_snr_to_bec_eta
diff --git a/gr-fec/python/fec/polar/channel_construction_awgn.py
b/gr-fec/python/fec/polar/channel_construction_awgn.py
index c39adc6..3ea851c 100755
--- a/gr-fec/python/fec/polar/channel_construction_awgn.py
+++ b/gr-fec/python/fec/polar/channel_construction_awgn.py
@@ -19,6 +19,7 @@
#
from __future__ import print_function
+from __future__ import absolute_import
'''
Based on 2 papers:
@@ -28,8 +29,6 @@ for an in-depth description of a widely used algorithm for
channel construction.
[2] Harish Vangala, Emanuele Viterbo, Yi Hong: 'A Comparative Study of Polar
Code Constructions for the AWGN Channel', 2015
for an overview of different approaches
'''
-from __future__ import absolute_import
-
from scipy.optimize import fsolve
from scipy.special import erfc
- [Commit-gnuradio] [gnuradio] branch python3 created (now 23af6b8), git, 2016/12/24
- [Commit-gnuradio] [gnuradio] 12/20: python3: update gr-trellis for python3 support, git, 2016/12/24
- [Commit-gnuradio] [gnuradio] 01/20: volk: update submodule to latest master, git, 2016/12/24
- [Commit-gnuradio] [gnuradio] 15/20: python3: update gr-vocoder for python support, git, 2016/12/24
- [Commit-gnuradio] [gnuradio] 19/20: python3: use site instead of distutils, git, 2016/12/24
- [Commit-gnuradio] [gnuradio] 20/20: python3: futurize misplaced __future__ import,
git <=
- [Commit-gnuradio] [gnuradio] 05/20: python3: update gr-analog for python3 support, git, 2016/12/24
- [Commit-gnuradio] [gnuradio] 06/20: python3: update gr-blocks python files for python3 support, git, 2016/12/24
- [Commit-gnuradio] [gnuradio] 08/20: python3: update gr-dtv for python3 support, git, 2016/12/24
- [Commit-gnuradio] [gnuradio] 02/20: python3: add cmake support for python3 at top level, git, 2016/12/24
- [Commit-gnuradio] [gnuradio] 17/20: python3: fix issues detected by futurize, git, 2016/12/24
- [Commit-gnuradio] [gnuradio] 16/20: python3: update gr-zeromq for python3 support, git, 2016/12/24
- [Commit-gnuradio] [gnuradio] 11/20: python3: update gr-qtgui for python3 support, git, 2016/12/24
- [Commit-gnuradio] [gnuradio] 13/20: python3: update gr-uhd for python3 support, git, 2016/12/24
- [Commit-gnuradio] [gnuradio] 04/20: python3: update gnuradio-runtime for python3 support, git, 2016/12/24
- [Commit-gnuradio] [gnuradio] 03/20: python3: update doxygen files to build docs with python3, git, 2016/12/24