diff --git a/scripts/code.py b/scripts/code.py index 1631f9b4..a0454593 100755 --- a/scripts/code.py +++ b/scripts/code.py @@ -544,7 +544,8 @@ def table(Result, results, diff_results=None, *, depth=1, hot=None, **_): - all_, all = all, __builtins__.all + import builtins + all_, all = all, builtins.all if by is None: by = Result._by diff --git a/scripts/cov.py b/scripts/cov.py index 1fcebf87..eb46474a 100755 --- a/scripts/cov.py +++ b/scripts/cov.py @@ -405,7 +405,8 @@ def table(Result, results, diff_results=None, *, depth=1, hot=None, **_): - all_, all = all, __builtins__.all + import builtins + all_, all = all, builtins.all if by is None: by = Result._by diff --git a/scripts/csv.py b/scripts/csv.py index 8b26310b..e867a32b 100755 --- a/scripts/csv.py +++ b/scripts/csv.py @@ -1495,7 +1495,8 @@ def table(Result, results, diff_results=None, *, depth=1, hot=None, **_): - all_, all = all, __builtins__.all + import builtins + all_, all = all, builtins.all if by is None: by = Result._by diff --git a/scripts/ctx.py b/scripts/ctx.py index 02e9e8a2..a4e8889e 100755 --- a/scripts/ctx.py +++ b/scripts/ctx.py @@ -744,7 +744,8 @@ def table(Result, results, diff_results=None, *, depth=1, hot=None, **_): - all_, all = all, __builtins__.all + import builtins + all_, all = all, builtins.all if by is None: by = Result._by diff --git a/scripts/data.py b/scripts/data.py index 9a2bfa0f..a459ce32 100755 --- a/scripts/data.py +++ b/scripts/data.py @@ -544,7 +544,8 @@ def table(Result, results, diff_results=None, *, depth=1, hot=None, **_): - all_, all = all, __builtins__.all + import builtins + all_, all = all, builtins.all if by is None: by = Result._by diff --git a/scripts/dbgerr.py b/scripts/dbgerr.py index 1ee89dcc..b64f7e15 100755 --- a/scripts/dbgerr.py +++ b/scripts/dbgerr.py @@ -28,7 +28,8 @@ ERRS = [ def main(errs, *, list=False): - list_, list = list, __builtins__.list + import builtins + list_, list = list, builtins.list # list all known error codes if list_: diff --git a/scripts/dbgtag.py b/scripts/dbgtag.py index 6b38d944..714b83bc 100755 --- a/scripts/dbgtag.py +++ b/scripts/dbgtag.py @@ -262,7 +262,8 @@ def main(tags, *, block_count=None, off=None, **args): - list_, list = list, __builtins__.list + import builtins + list_, list = list, builtins.list # list all known tags if list_: diff --git a/scripts/perf.py b/scripts/perf.py index f343ca4f..4981b4ed 100755 --- a/scripts/perf.py +++ b/scripts/perf.py @@ -859,7 +859,8 @@ def table(Result, results, diff_results=None, *, depth=1, hot=None, **_): - all_, all = all, __builtins__.all + import builtins + all_, all = all, builtins.all if by is None: by = Result._by diff --git a/scripts/perfbd.py b/scripts/perfbd.py index 46e04aa2..eb386e3b 100755 --- a/scripts/perfbd.py +++ b/scripts/perfbd.py @@ -829,7 +829,8 @@ def table(Result, results, diff_results=None, *, depth=1, hot=None, **_): - all_, all = all, __builtins__.all + import builtins + all_, all = all, builtins.all if by is None: by = Result._by diff --git a/scripts/stack.py b/scripts/stack.py index 7a7560df..0787584a 100755 --- a/scripts/stack.py +++ b/scripts/stack.py @@ -493,7 +493,8 @@ def table(Result, results, diff_results=None, *, depth=1, hot=None, **_): - all_, all = all, __builtins__.all + import builtins + all_, all = all, builtins.all if by is None: by = Result._by diff --git a/scripts/structs.py b/scripts/structs.py index c36b3d2f..d265a52b 100755 --- a/scripts/structs.py +++ b/scripts/structs.py @@ -562,7 +562,8 @@ def table(Result, results, diff_results=None, *, depth=1, hot=None, **_): - all_, all = all, __builtins__.all + import builtins + all_, all = all, builtins.all if by is None: by = Result._by