[Openmp-commits] [openmp] [OpenMP] [OMPD] gdb plugin: remove 'imp' import (PR #112331)
Christian von Elm via Openmp-commits
openmp-commits at lists.llvm.org
Tue Oct 15 01:22:45 PDT 2024
https://github.com/cvonelm created https://github.com/llvm/llvm-project/pull/112331
The 'imp' library was removed in Python 3.12.
As the code never uses the imp library, the import is simply removed.
>From d5513b6b752c1dc2db03c74e3ec2ac52304906ff Mon Sep 17 00:00:00 2001
From: Christian von Elm <christian.von_elm at tu-dresden.de>
Date: Tue, 15 Oct 2024 10:09:48 +0200
Subject: [PATCH] [OpenMP] [OMPD] gdb plugin: remove 'imp' import
The 'imp' library was removed in Python 3.12. As the code never uses the
imp library, the import is simply removed.
---
openmp/libompd/gdb-plugin/ompd/ompd_handles.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/openmp/libompd/gdb-plugin/ompd/ompd_handles.py b/openmp/libompd/gdb-plugin/ompd/ompd_handles.py
index 1929a926174156..da97a4086eee6b 100644
--- a/openmp/libompd/gdb-plugin/ompd/ompd_handles.py
+++ b/openmp/libompd/gdb-plugin/ompd/ompd_handles.py
@@ -1,5 +1,4 @@
import ompdModule
-import imp
class ompd_parallel(object):
More information about the Openmp-commits
mailing list