summaryrefslogtreecommitdiff
path: root/gr-blocks/python/blocks/qa_block_gateway.py
Commit message (Collapse)AuthorAgeFilesLines
* blocks: pep8 formattingJosh Morman2021-11-241-1/+1
| | | | Signed-off-by: Josh Morman <jmorman@gnuradio.org>
* runtime: fix pybind of get_tags_in_window mormj2021-09-291-1/+4
| | | | | | | | | | | | | * runtime: fix pybind of get_tags_in_window Fix issue where get_tags_in_window was bound to and consequently had the same behavior as get_tags_in_range Fixes #5005 Test recommended by ryanvolz fails to validate tag offset not just when nitems_read is 0 Signed-off-by: Josh Morman <jmorman@peratonlabs.com>
* qa: run autopep8 formatting on qa python filesmormj2020-10-301-57/+74
| | | | | | find ./ -iname qa*.py | xargs autopep8 --in-place -a -a mostly formats whitespace and gets rid of trailing semicolons
* qa: remove xml file parameter causing deprecation warningsmormj2020-10-301-1/+1
|
* python: Remove unnecessary 'from __future__ import'Oleksandr Kravchuk2020-08-031-1/+0
| | | | | | | | | | | | | | | | All of the removed `from __future__ import` were needed in older versions of Python (mostly 2.5.x and below) but later became mandatory in most versions of Python 3 hence are not necessary anymore. More specifically, according to __future__.py[1]: - unicode_literals is part of Python since versions 2.6.0 and 3.0.0; - print_function is part of Python since versions 2.6.0 and 3.0.0; - absolute_import is part of Python since versions 2.5.0 and 3.0.0; - division is part of Python since versions 2.2.0 and 3.0.0; Get rid of those unnecessary imports to slightly clean up the codebase. [1] https://github.com/python/cpython/blob/master/Lib/__future__.py
* blocks: add pybind11 bindingsJosh Morman2020-06-041-6/+7
|
* Update license header to SPDX formatdevnulling2020-01-271-13/+1
|
* Merge branch 'next' into python3Johnathan Corgan2017-08-031-0/+25
|\ | | | | | | | | | | | | Conflicts: grc/core/Param.py grc/gui/Application.py grc/gui/NotebookPage.py
| * block python gateway: add WORK_CALLED_PRODUCE/_DONE proxyMarcus Müller2017-07-281-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | so that we can then have def general_work(self, input_items, output_items): … self.produce(0,2) self.produce(1,1) return gr.WORK_CALLED_PRODUCE Includes a unit test. We need more unit tests. There wasn't a single general block test in qa_block_gateway.py.
* | python3: update non-GRC components to use python2 or python3Douglas Anderson2017-02-261-3/+5
|/
* runtime: addes get_tags_in_window to block_gateway for python blocks. Added QA.Tom Rondeau2014-06-261-2/+24
| | | | Addresses Issue #683.
* uninstalled import: Updatings blocks, fec, uhd, and filter so that ↵Ben Reynwar2013-06-041-0/+257
uninstalled import works with recent changes.