From 6ed0b1d14a1a952f7fc4741597cfc2879b0c6d69 Mon Sep 17 00:00:00 2001 From: Diptorup Deb Date: Fri, 28 May 2021 11:49:31 -0500 Subject: [PATCH] Remove imports from __future__. The future is here now. --- dpctl/_sycl_context.pyx | 2 -- dpctl/_sycl_event.pyx | 2 -- dpctl/_sycl_platform.pyx | 2 -- dpctl/_sycl_queue.pyx | 2 -- dpctl/_sycl_queue_manager.pyx | 2 -- 5 files changed, 10 deletions(-) diff --git a/dpctl/_sycl_context.pyx b/dpctl/_sycl_context.pyx index bb798484e3..0adfab9c08 100644 --- a/dpctl/_sycl_context.pyx +++ b/dpctl/_sycl_context.pyx @@ -21,8 +21,6 @@ """ Implements SyclContext Cython extension type. """ -from __future__ import print_function - import logging from cpython cimport pycapsule diff --git a/dpctl/_sycl_event.pyx b/dpctl/_sycl_event.pyx index 807451223f..eac541fbb1 100644 --- a/dpctl/_sycl_event.pyx +++ b/dpctl/_sycl_event.pyx @@ -21,8 +21,6 @@ """ Implements SyclEvent Cython extension type. """ -from __future__ import print_function - import logging from ._backend cimport DPCTLEvent_Delete, DPCTLEvent_Wait, DPCTLSyclEventRef diff --git a/dpctl/_sycl_platform.pyx b/dpctl/_sycl_platform.pyx index 0c235b30b0..f65c6dd561 100644 --- a/dpctl/_sycl_platform.pyx +++ b/dpctl/_sycl_platform.pyx @@ -21,8 +21,6 @@ """ Implements SyclPlatform Cython extension type. """ -from __future__ import print_function - from ._backend cimport ( # noqa: E211 DPCTLCString_Delete, DPCTLDeviceSelector_Delete, diff --git a/dpctl/_sycl_queue.pyx b/dpctl/_sycl_queue.pyx index 87867fc849..9607f88e15 100644 --- a/dpctl/_sycl_queue.pyx +++ b/dpctl/_sycl_queue.pyx @@ -21,8 +21,6 @@ """ Implements SyclQueue Cython extension type. """ -from __future__ import print_function - from ._backend cimport ( # noqa: E211 DPCTLContext_Create, DPCTLContext_Delete, diff --git a/dpctl/_sycl_queue_manager.pyx b/dpctl/_sycl_queue_manager.pyx index da5ca1d7fb..363d3381c4 100644 --- a/dpctl/_sycl_queue_manager.pyx +++ b/dpctl/_sycl_queue_manager.pyx @@ -18,8 +18,6 @@ # cython: language_level=3 # cython: linetrace=True -from __future__ import print_function - import logging from contextlib import contextmanager