Repository Analysis

pyinstaller/pyinstaller

Freeze (package) Python programs into stand-alone executables

56.5 Strong AI signal View on GitHub
56.5
Adjusted Score
56.5
Raw Score
100%
Time Factor
2026-05-28
Last Push
13,002
Stars
Python
Language
113,632
Lines of Code
1238
Files
3363
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 10MEDIUM 1509LOW 1844

Pattern Findings

3363 matches across 16 categories. Click a row to expand file-level details.

Decorative Section Separators1440 hits · 4386 pts
SeverityFileLineSnippet
MEDIUMCOPYING.txt96#-----------------------------------------------------------------------------
MEDIUMCOPYING.txt105#-----------------------------------------------------------------------------
MEDIUMCOPYING.txt110#-----------------------------------------------------------------------------
MEDIUMCOPYING.txt119#-----------------------------------------------------------------------------
MEDIUMhatch_build.py1#-----------------------------------------------------------------------------
MEDIUMhatch_build.py10#-----------------------------------------------------------------------------
MEDIUMbootloader/build.sh2#-----------------------------------------------------------------------------
MEDIUMbootloader/build.sh11# -----------------------------------------------------------------------------
MEDIUMbootloader/update-waf.sh1# -----------------------------------------------------------------------------
MEDIUMbootloader/update-waf.sh10# -----------------------------------------------------------------------------
MEDIUMbootloader/tools/strip.py1#-----------------------------------------------------------------------------
MEDIUMbootloader/tools/strip.py10#-----------------------------------------------------------------------------
MEDIUMPyInstaller/_recursion_too_deep_message.py1#-----------------------------------------------------------------------------
MEDIUMPyInstaller/_recursion_too_deep_message.py10#-----------------------------------------------------------------------------
MEDIUMPyInstaller/config.py1#-----------------------------------------------------------------------------
MEDIUMPyInstaller/config.py10#-----------------------------------------------------------------------------
MEDIUMPyInstaller/compat.py1# ----------------------------------------------------------------------------
MEDIUMPyInstaller/compat.py10# ----------------------------------------------------------------------------
MEDIUMPyInstaller/configure.py1#-----------------------------------------------------------------------------
MEDIUMPyInstaller/configure.py10#-----------------------------------------------------------------------------
MEDIUMPyInstaller/log.py1#-----------------------------------------------------------------------------
MEDIUMPyInstaller/log.py10#-----------------------------------------------------------------------------
MEDIUMPyInstaller/__init__.py1#-----------------------------------------------------------------------------
MEDIUMPyInstaller/__init__.py10#-----------------------------------------------------------------------------
MEDIUMPyInstaller/exceptions.py1#-----------------------------------------------------------------------------
MEDIUMPyInstaller/exceptions.py10#-----------------------------------------------------------------------------
MEDIUMPyInstaller/_shared_with_waf.py1#-----------------------------------------------------------------------------
MEDIUMPyInstaller/_shared_with_waf.py10#-----------------------------------------------------------------------------
MEDIUMPyInstaller/__main__.py1#-----------------------------------------------------------------------------
MEDIUMPyInstaller/__main__.py10#-----------------------------------------------------------------------------
MEDIUMPyInstaller/fake-modules/pyi_splash.py1# -----------------------------------------------------------------------------
MEDIUMPyInstaller/fake-modules/pyi_splash.py10# -----------------------------------------------------------------------------
MEDIUMPyInstaller/fake-modules/_pyi_rth_utils/tempfile.py1# -----------------------------------------------------------------------------
MEDIUMPyInstaller/fake-modules/_pyi_rth_utils/tempfile.py10# -----------------------------------------------------------------------------
MEDIUMPyInstaller/fake-modules/_pyi_rth_utils/_win32.py1# -----------------------------------------------------------------------------
MEDIUMPyInstaller/fake-modules/_pyi_rth_utils/_win32.py10# -----------------------------------------------------------------------------
MEDIUMPyInstaller/fake-modules/_pyi_rth_utils/qt.py1# -----------------------------------------------------------------------------
MEDIUMPyInstaller/fake-modules/_pyi_rth_utils/qt.py10# -----------------------------------------------------------------------------
MEDIUMPyInstaller/fake-modules/_pyi_rth_utils/__init__.py1# -----------------------------------------------------------------------------
MEDIUMPyInstaller/fake-modules/_pyi_rth_utils/__init__.py10# -----------------------------------------------------------------------------
MEDIUMPyInstaller/archive/readers.py1#-----------------------------------------------------------------------------
MEDIUMPyInstaller/archive/readers.py10#-----------------------------------------------------------------------------
MEDIUMPyInstaller/archive/pyz_crypto.py1#-----------------------------------------------------------------------------
MEDIUMPyInstaller/archive/pyz_crypto.py10#-----------------------------------------------------------------------------
MEDIUMPyInstaller/archive/writers.py1#-----------------------------------------------------------------------------
MEDIUMPyInstaller/archive/writers.py10#-----------------------------------------------------------------------------
MEDIUMPyInstaller/utils/misc.py1#-----------------------------------------------------------------------------
MEDIUMPyInstaller/utils/misc.py10#-----------------------------------------------------------------------------
MEDIUMPyInstaller/utils/conftest.py1#-----------------------------------------------------------------------------
MEDIUMPyInstaller/utils/conftest.py10#-----------------------------------------------------------------------------
MEDIUMPyInstaller/utils/run_tests.py1# -----------------------------------------------------------------------------
MEDIUMPyInstaller/utils/run_tests.py10# -----------------------------------------------------------------------------
MEDIUMPyInstaller/utils/tests.py1#-----------------------------------------------------------------------------
MEDIUMPyInstaller/utils/tests.py10#-----------------------------------------------------------------------------
MEDIUMPyInstaller/utils/osx.py1#-----------------------------------------------------------------------------
MEDIUMPyInstaller/utils/osx.py10#-----------------------------------------------------------------------------
MEDIUMPyInstaller/utils/hooks/django.py1# ----------------------------------------------------------------------------
MEDIUMPyInstaller/utils/hooks/django.py10# ----------------------------------------------------------------------------
MEDIUMPyInstaller/utils/hooks/setuptools.py1# ----------------------------------------------------------------------------
MEDIUMPyInstaller/utils/hooks/setuptools.py10#-----------------------------------------------------------------------------
1380 more matches not shown…
Over-Commented Block806 hits · 791 pts
SeverityFileLineSnippet
LOWCOPYING.txt101#
LOWhatch_build.py1#-----------------------------------------------------------------------------
LOWbootloader/uncrustify.cfg1# Uncrustify 0.62
LOWbootloader/uncrustify.cfg61
LOWbootloader/uncrustify.cfg901# The span for aligning struct initializer values (0=don't align)
LOWbootloader/uncrustify.cfg1661# The filename that contains text to insert before a function implementation if the function isn't preceded with a C/C++
LOWbootloader/uncrustify.cfg1721# You can create custom macro-based indentation using macro-open,
LOWbootloader/uncrustify.cfg1741# define def_token output_token
LOWbootloader/build.sh1#!/usr/bin/env bash
LOWbootloader/update-waf.sh1# -----------------------------------------------------------------------------
LOWbootloader/tools/strip.py1#-----------------------------------------------------------------------------
LOWbootloader/tests/test_multipkg.c1// -----------------------------------------------------------------------------
LOWbootloader/tests/test_path.c1// -----------------------------------------------------------------------------
LOWbootloader/zlib/zutil.h21
LOWbootloader/zlib/zutil.h41extern const char inflate9_copyright[];
LOWbootloader/zlib/zutil.h81# define DEF_MEM_LEVEL 8
LOWbootloader/zlib/zutil.h101# define OS_CODE 0x00
LOWbootloader/zlib/zutil.h121#if defined(VAXC) || defined(VMS)
LOWbootloader/zlib/zutil.h141#ifdef OS2
LOWbootloader/zlib/zutil.h161# define OS_CODE 16
LOWbootloader/zlib/zutil.h181 ZEXTERN uLong ZEXPORT crc32_combine64(uLong, uLong, z_off64_t);
LOWbootloader/zlib/zutil.h201 /* Use our own functions for small and medium model with MSC <= 5.0.
LOWbootloader/zlib/zutil.h221 void ZLIB_INTERNAL zmemcpy(void FAR *, const void FAR *, z_size_t);
LOWbootloader/zlib/crc32.c21 */
LOWbootloader/zlib/crc32.c81#ifdef Z_TESTW
LOWbootloader/zlib/crc32.c681 z_word_t word5;
LOWbootloader/zlib/crc32.c741#if N > 5
LOWbootloader/zlib/crc32.c801 z_word_t crc4, word4;
LOWbootloader/zlib/crc32.c861#if N > 4
LOWbootloader/zlib/zutil.c61#endif
LOWbootloader/zlib/zutil.c81#endif
LOWbootloader/zlib/zutil.c101# endif
LOWbootloader/zlib/gzguts.h1/* gzguts.h -- zlib internal header definitions for gz* operations
LOWbootloader/zlib/gzguts.h21# ifndef WIN32_LEAN_AND_MEAN
LOWbootloader/zlib/gzguts.h41# define _POSIX_C_SOURCE 200112L
LOWbootloader/zlib/gzguts.h61
LOWbootloader/zlib/gzguts.h81# if !defined(NO_vsnprintf) && \
LOWbootloader/zlib/gzguts.h121#ifndef STDC
LOWbootloader/zlib/zlib.h181#define Z_OK 0
LOWbootloader/zlib/zlib.h201#define Z_HUFFMAN_ONLY 2
LOWbootloader/zlib/zlib.h1981 ZEXTERN z_off64_t ZEXPORT gzoffset64(gzFile);
LOWbootloader/zlib/inftrees.c1/* inftrees.c -- generate Huffman trees for efficient decoding
LOWbootloader/zlib/zconf.h21# define _dist_code z__dist_code
LOWbootloader/zlib/zconf.h41# define crc32 z_crc32
LOWbootloader/zlib/zconf.h61# define deflateReset z_deflateReset
LOWbootloader/zlib/zconf.h81# define gzerror z_gzerror
LOWbootloader/zlib/zconf.h101# define gzseek64 z_gzseek64
LOWbootloader/zlib/zconf.h121# define inflateInit2_ z_inflateInit2_
LOWbootloader/zlib/zconf.h141# define uncompress2_z z_uncompress2_z
LOWbootloader/zlib/zconf.h161# define gz_headerp z_gz_headerp
LOWbootloader/zlib/zconf.h181#endif
LOWbootloader/zlib/zconf.h201/*
LOWbootloader/zlib/zconf.h221#endif
LOWbootloader/zlib/zconf.h241# define const /* note: need a more gentle solution here */
LOWbootloader/zlib/zconf.h261# if defined(NO_SIZE_T)
LOWbootloader/zlib/zconf.h321 /* MSC small or medium model */
LOWbootloader/zlib/zconf.h341 /* If building or using zlib as a DLL, define ZLIB_DLL.
LOWbootloader/zlib/zconf.h361# ifndef WIN32_LEAN_AND_MEAN
LOWbootloader/zlib/zconf.h381# else
LOWbootloader/zlib/zconf.h421 typedef void FAR *voidpf;
746 more matches not shown…
Unused Imports328 hits · 320 pts
SeverityFileLineSnippet
LOWbootloader/waflib/fixpy2.py5
LOWbootloader/waflib/Scripting.py5
LOWbootloader/waflib/Utils.py5
LOWbootloader/waflib/Utils.py26
LOWbootloader/waflib/Tools/gfortran.py7
LOWbootloader/waflib/Tools/gfortran.py7
LOWbootloader/waflib/Tools/ifort.py7
LOWbootloader/waflib/Tools/ifort.py7
LOWbootloader/waflib/Tools/xlc.py5
LOWbootloader/waflib/Tools/xlc.py5
LOWbootloader/waflib/Tools/intltool.py5
LOWbootloader/waflib/Tools/intltool.py8
LOWbootloader/waflib/Tools/gas.py5
LOWbootloader/waflib/Tools/gas.py6
LOWbootloader/waflib/Tools/glib2.py6
LOWbootloader/waflib/Tools/fc.py6
LOWbootloader/waflib/Tools/dmd.py6
LOWbootloader/waflib/Tools/dmd.py6
LOWbootloader/waflib/Tools/irixcc.py6
LOWbootloader/waflib/Tools/irixcc.py6
LOWbootloader/waflib/Tools/qt5.py5
LOWbootloader/waflib/Tools/qt5.py15
LOWbootloader/waflib/Tools/d.py7
LOWbootloader/waflib/Tools/g95.py7
LOWbootloader/waflib/Tools/g95.py7
LOWbootloader/waflib/Tools/xlcxx.py5
LOWbootloader/waflib/Tools/xlcxx.py5
LOWbootloader/waflib/Tools/clangxx.py5
LOWbootloader/waflib/Tools/clangxx.py5
LOWbootloader/waflib/Tools/clangxx.py5
LOWbootloader/waflib/Tools/icpc.py5
LOWbootloader/waflib/Tools/icpc.py6
LOWbootloader/waflib/Tools/icpc.py6
LOWbootloader/waflib/Tools/icpc.py6
LOWbootloader/waflib/Tools/icc.py5
LOWbootloader/waflib/Tools/icc.py6
LOWbootloader/waflib/Tools/icc.py6
LOWbootloader/waflib/Tools/icc.py6
LOWbootloader/waflib/Tools/vala.py6
LOWbootloader/waflib/Tools/nasm.py6
LOWbootloader/waflib/Tools/suncc.py6
LOWbootloader/waflib/Tools/suncc.py6
LOWbootloader/waflib/Tools/ldc2.py5
LOWbootloader/waflib/Tools/ldc2.py5
LOWbootloader/waflib/Tools/gdc.py5
LOWbootloader/waflib/Tools/gdc.py5
LOWbootloader/waflib/Tools/suncxx.py6
LOWbootloader/waflib/Tools/suncxx.py6
LOWbootloader/waflib/Tools/compiler_cxx.py6
LOWbootloader/waflib/Tools/compiler_fc.py7
LOWbootloader/waflib/Tools/c_config.py5
LOWbootloader/waflib/Tools/gcc.py5
LOWbootloader/waflib/Tools/gcc.py5
LOWbootloader/waflib/Tools/ccroot.py8
LOWbootloader/waflib/Tools/ccroot.py8
LOWbootloader/waflib/Tools/ccroot.py8
LOWbootloader/waflib/Tools/ccroot.py8
LOWbootloader/waflib/Tools/ccroot.py8
LOWbootloader/waflib/Tools/gxx.py5
LOWbootloader/waflib/Tools/gxx.py5
268 more matches not shown…
Hyper-Verbose Identifiers338 hits · 302 pts
SeverityFileLineSnippet
LOWbootloader/waflib/Task.py512 def compute_sig_implicit_deps(self):
LOWbootloader/waflib/Task.py603def set_precedence_constraints(tasks):
LOWbootloader/waflib/ConfigSet.py101 def _get_list_value_for_modification(self, key):
LOWbootloader/waflib/Tools/gfortran.py42def gfortran_modifier_platform(conf):
LOWbootloader/waflib/Tools/glib2.py327def find_glib_compile_schemas(conf):
LOWbootloader/waflib/Tools/glib2.py344def find_glib_compile_resources(conf):
LOWbootloader/waflib/Tools/fc_config.py144def check_fortran_verbose_flag(self, *k, **kw):
LOWbootloader/waflib/Tools/fc_config.py296def link_main_routines_tg_method(self):
LOWbootloader/waflib/Tools/ccroot.py167def apply_skip_stlib_link_deps(self):
LOWbootloader/waflib/Tools/msvc.py153def gather_wince_supported_platforms():
LOWbootloader/waflib/Tools/msvc.py200def gather_msvc_detected_versions():
LOWbootloader/waflib/Tools/msvc.py484def gather_intel_composer_versions(conf, versions):
LOWbootloader/waflib/Tools/c_osx.py30def set_macosx_deployment_target(self):
LOWbootloader/waflib/Tools/errcheck.py73def check_invalid_constraints(self):
LOWPyInstaller/configure.py53def _get_pyinstaller_cache_dir():
LOWPyInstaller/fake-modules/_pyi_rth_utils/qt.py20def ensure_single_qt_bindings_package(qt_bindings):
LOWPyInstaller/fake-modules/_pyi_rth_utils/__init__.py19def prepend_path_to_environment_variable(path, variable_name):
LOWPyInstaller/utils/misc.py60def get_path_to_toplevel_modules(filename):
LOWPyInstaller/utils/conftest.py75def pytest_runtest_makereport(item, call):
LOWPyInstaller/utils/osx.py353def convert_binary_to_thin_arch(filename, thin_arch, output_filename=None):
LOWPyInstaller/utils/osx.py402def remove_signature_from_binary(filename):
LOWPyInstaller/utils/osx.py437def set_dylib_dependency_paths(filename, target_rpath):
LOWPyInstaller/utils/osx.py471def _set_dylib_dependency_paths(filename, target_rpath):
LOWPyInstaller/utils/osx.py609def collect_files_from_framework_bundles(collected_files):
LOWPyInstaller/utils/hooks/django.py17def django_dottedstring_imports(django_root_dir):
LOWPyInstaller/utils/hooks/setuptools.py20def _retrieve_setuptools_info():
LOWPyInstaller/utils/hooks/setuptools.py273def pre_safe_import_module_for_top_level_namespace_packages(api):
LOWPyInstaller/utils/hooks/__init__.py294def get_module_file_attribute(package: str):
LOWPyInstaller/utils/hooks/__init__.py331 def _get_module_file_attribute(package):
LOWPyInstaller/utils/hooks/__init__.py888def collect_system_data_files(path: str, destdir: str | os.PathLike | None = None, include_py_files: bool = False):
LOWPyInstaller/utils/hooks/__init__.py1272def collect_delvewheel_libs_directory(package_name, libdir_name=None, datas=None, binaries=None):
LOWPyInstaller/utils/hooks/gi.py259def get_glib_system_data_dirs():
LOWPyInstaller/utils/hooks/gi.py326def collect_glib_translations(prog, lang_list=None):
LOWPyInstaller/utils/hooks/gi.py348def compile_glib_schema_files(datas_toc, workdir, collect_source_files=False):
LOWPyInstaller/utils/hooks/tcl_tk.py243 def _collect_files_from_directory(root, prefix=None, excludes=None):
LOWPyInstaller/utils/hooks/tcl_tk.py272 def _find_tcl_tk_shared_libraries(tkinter_ext_file):
LOWPyInstaller/utils/hooks/tcl_tk.py299 def _check_macos_system_framework(tcl_shared_lib):
LOWPyInstaller/utils/hooks/tcl_tk.py310 def _warn_if_using_activetcl_or_teapot(tcl_root):
LOWPyInstaller/utils/hooks/qt/__init__.py1337def ensure_single_qt_bindings_package(qt_bindings):
LOWPyInstaller/utils/hooks/qt/__init__.py310 def _normalize_shared_library_name(self, filename):
LOWPyInstaller/utils/hooks/qt/__init__.py550 def _validate_plugin_dependencies(self, plugin_file):
LOWPyInstaller/utils/hooks/qt/__init__.py664 def _check_if_openssl_enabled(package):
LOWPyInstaller/utils/hooks/qt/__init__.py713 def _collect_qtnetwork_openssl_windows(self, openssl_version):
LOWPyInstaller/utils/hooks/qt/__init__.py794 def _collect_qtnetwork_openssl_macos(self, openssl_version):
LOWPyInstaller/utils/hooks/qt/__init__.py872 def _collect_qtnetwork_openssl_linux(self, openssl_version):
LOWPyInstaller/utils/hooks/qt/__init__.py1056 def collect_qtwebengine_files(self):
LOWPyInstaller/utils/hooks/qt/__init__.py1358def exclude_extraneous_qt_bindings(hook_name, qt_bindings_order=None):
LOWPyInstaller/utils/hooks/qt/_modules_info.py429def process_namespace_strings(namespaces):
LOWPyInstaller/utils/hooks/qt/_modules_info.py437def _process_namespace_string(namespace):
LOWPyInstaller/utils/win32/versioninfo.py19def pefile_check_control_flow_guard(filename):
LOWPyInstaller/utils/win32/versioninfo.py54def read_version_info_from_executable(exe_filename):
LOWPyInstaller/utils/win32/versioninfo.py559def load_version_info_from_text_file(filename):
LOWPyInstaller/utils/win32/versioninfo.py583def write_version_info_to_executable(exe_filename, info):
LOWPyInstaller/utils/win32/winmanifest.py120def _ensure_common_controls_dependency(manifest_dom, root_element):
LOWPyInstaller/utils/win32/winmanifest.py157def create_application_manifest(manifest_xml=None, uac_admin=False, uac_uiaccess=False):
LOWPyInstaller/utils/win32/winmanifest.py197def write_manifest_to_executable(filename, manifest_xml):
LOWPyInstaller/utils/win32/winmanifest.py213def read_manifest_from_executable(filename):
LOWPyInstaller/utils/win32/winresource.py155def copy_resources_from_pe_file(filename, src_filename, types=None, names=None, languages=None):
LOWPyInstaller/utils/cliutils/archive_viewer.py87 def _non_interactive_processing(self):
LOWPyInstaller/loader/pyimod02_importers.py745def _patch_zipimporter_get_source():
278 more matches not shown…
Deep Nesting182 hits · 166 pts
SeverityFileLineSnippet
LOWbootloader/waflib/Build.py126
LOWbootloader/waflib/Build.py259
LOWbootloader/waflib/Build.py392
LOWbootloader/waflib/Build.py560
LOWbootloader/waflib/Build.py642
LOWbootloader/waflib/Build.py764
LOWbootloader/waflib/Build.py827
LOWbootloader/waflib/Build.py431
LOWbootloader/waflib/Options.py53
LOWbootloader/waflib/Options.py194
LOWbootloader/waflib/Task.py603
LOWbootloader/waflib/Task.py644
LOWbootloader/waflib/Task.py729
LOWbootloader/waflib/Task.py69
LOWbootloader/waflib/Task.py159
LOWbootloader/waflib/Task.py276
LOWbootloader/waflib/Task.py449
LOWbootloader/waflib/Task.py480
LOWbootloader/waflib/Runner.py139
LOWbootloader/waflib/Runner.py187
LOWbootloader/waflib/Runner.py212
LOWbootloader/waflib/Runner.py294
LOWbootloader/waflib/Runner.py314
LOWbootloader/waflib/Runner.py351
LOWbootloader/waflib/Runner.py399
LOWbootloader/waflib/Runner.py404
LOWbootloader/waflib/fixpy2.py17
LOWbootloader/waflib/ansiterm.py193
LOWbootloader/waflib/ansiterm.py241
LOWbootloader/waflib/Configure.py266
LOWbootloader/waflib/Configure.py317
LOWbootloader/waflib/Configure.py157
LOWbootloader/waflib/Scripting.py14
LOWbootloader/waflib/Scripting.py202
LOWbootloader/waflib/Scripting.py222
LOWbootloader/waflib/Scripting.py414
LOWbootloader/waflib/Scripting.py415
LOWbootloader/waflib/TaskGen.py178
LOWbootloader/waflib/TaskGen.py308
LOWbootloader/waflib/TaskGen.py512
LOWbootloader/waflib/TaskGen.py78
LOWbootloader/waflib/TaskGen.py200
LOWbootloader/waflib/Context.py399
LOWbootloader/waflib/Context.py118
LOWbootloader/waflib/Context.py352
LOWbootloader/waflib/Utils.py530
LOWbootloader/waflib/Utils.py654
LOWbootloader/waflib/Logs.py192
LOWbootloader/waflib/Logs.py124
LOWbootloader/waflib/Logs.py149
LOWbootloader/waflib/Node.py42
LOWbootloader/waflib/Node.py66
LOWbootloader/waflib/Node.py354
LOWbootloader/waflib/Tools/ifort.py99
LOWbootloader/waflib/Tools/ifort.py174
LOWbootloader/waflib/Tools/ifort.py318
LOWbootloader/waflib/Tools/javaw.py101
LOWbootloader/waflib/Tools/intltool.py69
LOWbootloader/waflib/Tools/waf_unit_test.py61
LOWbootloader/waflib/Tools/tex.py12
122 more matches not shown…
Excessive Try-Catch Wrapping136 hits · 142 pts
SeverityFileLineSnippet
LOWbootloader/waflib/Build.py147 except Exception as e:
LOWbootloader/waflib/Task.py199 except Exception:
LOWbootloader/waflib/Task.py211 except Exception:
MEDIUMbootloader/waflib/Task.py192def process(self):
LOWbootloader/waflib/Runner.py98 except Exception:
LOWbootloader/waflib/Runner.py297 except Exception:
MEDIUMbootloader/waflib/Runner.py76def run(self):
MEDIUMbootloader/waflib/Runner.py294def task_status(self, tsk):
LOWbootloader/waflib/ansiterm.py307 except Exception as e:
LOWbootloader/waflib/Configure.py175 except Exception as e:
LOWbootloader/waflib/Scripting.py112 except Exception as e:
LOWbootloader/waflib/Scripting.py140 except Exception as e:
LOWbootloader/waflib/processor.py46 except Exception as e:
LOWbootloader/waflib/Context.py201 except Exception as e:
LOWbootloader/waflib/Context.py248 except Exception as e:
MEDIUMbootloader/waflib/Context.py71def __init__(self, **kw):
LOWbootloader/waflib/Logs.py152 except Exception:
LOWbootloader/waflib/Logs.py258 except Exception:
MEDIUMbootloader/waflib/Logs.py108def emit(self, record):
MEDIUMbootloader/waflib/Logs.py253def free_logger(logger):
LOWbootloader/waflib/Node.py58 except Exception as e:
LOWbootloader/waflib/Tools/ifort.py219 except Exception as e:
MEDIUMbootloader/waflib/Tools/ifort.py174def get_ifort_version_win32(conf, compiler, version, target, vcvars):
LOWbootloader/waflib/Tools/javaw.py225 except Exception:
LOWbootloader/waflib/Tools/javaw.py373 except Exception:
LOWbootloader/waflib/Tools/c_preproc.py647 except Exception:
LOWbootloader/waflib/Tools/c_preproc.py722 except Exception as e:
MEDIUMbootloader/waflib/Tools/c_preproc.py563def cached_find_resource(self, node, filename):
LOWbootloader/waflib/Tools/c_config.py844 except Exception:
LOWbootloader/waflib/Tools/fc_config.py241 except Exception:
LOWbootloader/waflib/Tools/fc_config.py270 except Exception:
LOWbootloader/waflib/Tools/msvc.py143 except Exception as e:
LOWPyInstaller/compat.py255 except Exception:
LOWPyInstaller/compat.py264 except Exception:
MEDIUMPyInstaller/compat.py353 print("Error running '%s':" % " ".join(cmdargs), file=sys.stderr)
LOWPyInstaller/configure.py39 except Exception:
LOWPyInstaller/__main__.py188 except Exception:
LOWPyInstaller/__main__.py299 except Exception:
LOWPyInstaller/fake-modules/_pyi_rth_utils/_win32.py242 except Exception:
LOWPyInstaller/utils/misc.py93 except Exception:
MEDIUMPyInstaller/utils/misc.py88def mtime(fnm):
MEDIUMPyInstaller/utils/run_tests.py49 print("Error: no tests discovered.", file=sys.stderr)
LOWPyInstaller/utils/hooks/setuptools.py236 except Exception as e:
MEDIUMPyInstaller/utils/hooks/__init__.py242def _can_import_module(module_name):
LOWPyInstaller/utils/hooks/__init__.py246 except Exception:
LOWPyInstaller/utils/hooks/__init__.py290 except Exception as e:
LOWPyInstaller/utils/hooks/__init__.py353 except Exception as e:
LOWPyInstaller/utils/hooks/__init__.py488 except Exception:
LOWPyInstaller/utils/hooks/__init__.py519 except Exception:
LOWPyInstaller/utils/hooks/__init__.py666 except Exception as ex:
LOWPyInstaller/utils/hooks/__init__.py997 except Exception:
LOWPyInstaller/utils/hooks/__init__.py1160 except Exception:
LOWPyInstaller/utils/hooks/gi.py114 except Exception as e:
LOWPyInstaller/utils/hooks/gi.py438 except Exception:
LOWPyInstaller/utils/hooks/tcl_tk.py126 except Exception as e:
LOWPyInstaller/utils/hooks/tcl_tk.py155 except Exception:
LOWPyInstaller/utils/hooks/qt/__init__.py238 except Exception as e:
LOWPyInstaller/utils/hooks/qt/__init__.py967 except Exception:
LOWPyInstaller/utils/win32/versioninfo.py39 except Exception:
LOWPyInstaller/utils/win32/versioninfo.py573 except Exception as e:
76 more matches not shown…
Self-Referential Comments47 hits · 136 pts
SeverityFileLineSnippet
MEDIUMPyInstaller/compat.py140# The following code creates compat.is_venv and is.virtualenv that are True when running a virtual environment, and also
MEDIUMPyInstaller/fake-modules/pyi_splash.py12# This module is not a "fake module" in the classical sense, but a real module that can be imported. It acts as an RPC
MEDIUMPyInstaller/utils/hooks/__init__.py650# This function is called in an isolated sub-process via `isolated.Python.call`.
MEDIUMPyInstaller/utils/hooks/qt/__init__.py76# This class contains information about python module (extension), its corresponding Qt module (shared library), and
MEDIUMPyInstaller/utils/hooks/qt/__init__.py294 # Create a QtModuleInfo entry
MEDIUMPyInstaller/loader/pyimod02_importers.py342 # The following methods are part of legacy PEP302 finder interface. They have been deprecated since python 3.4,
MEDIUMPyInstaller/loader/pyimod02_importers.py459 # The following method is part of legacy PEP302 loader interface. It has been deprecated since python 3.4, and
MEDIUMPyInstaller/hooks/rthooks/pyi_rth_gdkpixbuf.py26 # Create a temporary file with the cache and cleverly replace the prefix we injected with the actual path.
MEDIUMPyInstaller/lib/modulegraph/modulegraph.py1152 # Create the referred node.
MEDIUMPyInstaller/lib/modulegraph/__main__.py55 # Create the module finder and turn its crank
MEDIUMPyInstaller/isolated/_parent.py365 # Define a function to be ran in isolation.
MEDIUMPyInstaller/isolated/_child.py55 # Define the global namespace available to the function.
MEDIUMPyInstaller/depend/bindepend.py264 # Create the symbolic link
MEDIUMPyInstaller/building/api.py156 # Create the archive
MEDIUMPyInstaller/building/api.py536 # Create the CArchive PKG in WORKPATH. When instancing PKG(), set name so that guts check can test whether the
MEDIUMPyInstaller/building/datastruct.py42# This class is deprecated and has been replaced by plain lists with explicit normalization (de-duplication) via
MEDIUMPyInstaller/building/splash_templates.py18 # This function is called if a new client connects to
MEDIUMPyInstaller/building/splash_templates.py32 # This function is called if a command was sent through
MEDIUMPyInstaller/building/splash_templates.py78 # This function is rigged to be called if the a variable
MEDIUMPyInstaller/building/splash_templates.py130# Create a text on the canvas, which tracks the local
MEDIUMPyInstaller/building/osx.py456 # Create a SYMLINK entry, but only for this level. In case of nested directories with dots in names, the
MEDIUMPyInstaller/building/osx.py601 # Create a minimal Mac bundle structure.
MEDIUMtests/unit/test_hookutils.py183 # Create an egg from the test package. For debug, show the output of the egg build.
MEDIUMtests/unit/test_modulegraph_more.py141 (pkg / 'x' / 'y').mkdir(parents=True) # Create the whole package directory tree
MEDIUMtests/unit/test_isolation.py207 # Creating an isolated.Python() does nothing.
MEDIUMtests/unit/test_miscutils.py133 # Create a version info structure...
MEDIUMtests/unit/test_miscutils.py162 # Create a local copy
MEDIUMtests/unit/test_building_utils.py24 (tmp_path / 'existing.txt').touch() # Create a file with different name, for sanity check.
MEDIUMtests/unit/test_building_utils.py71 # Create the file
MEDIUMtests/unit/test_building_utils.py104 # Create the file
MEDIUMtests/unit/test_winmanifest.py499 # Create a local copy
MEDIUMtests/unit/test_winmanifest.py556 # Create a local copy
MEDIUMtests/functional/test_linux_appimage.py47 # Create the AppImage
MEDIUMtests/functional/test_symlinks.py504 # Create a symbolic link at the directory level
MEDIUMtests/functional/test_django.py24 # Create the exe, run django command 'check' to do basic sanity checking of the executable.
MEDIUMtests/functional/test_macos_bundle_structure.py110 # Create a text file
MEDIUM…sts/functional/test_binary_vs_data_reclassification.py23 # Create a text file
MEDIUMtests/functional/test_regression.py45 # Create a hook
MEDIUMtests/functional/scripts/pyi_app_with_plugin.py31# Create the dynamic plugin in the same directory as the executable.
MEDIUMtests/functional/scripts/pyi_multiprocessing_queue.py31 # Create a queue, and run a subprocess that fills it with data
MEDIUM…i_excluded_subpackage/modules/mypackage/mandatory/a.py1# This module contains an "unused" function (not called from anywhere in the package itself) that adds reference to the
MEDIUM…test_egg/pyi_egg_unzipped.egg/unzipped_egg/__init__.py12# This file is part of the package for testing eggs in `PyInstaller`.
MEDIUM…dules/pyi_mixed_collection_mode/modules/mypackage/a.py1# This module is collected into PYZ archive.
MEDIUM…dules/pyi_mixed_collection_mode/modules/mypackage/b.py1# This module is collected as source .py file only.
MEDIUMtests/functional/data/sphinx/conf.py4# This file is execfile()d with the current directory set to its
MEDIUMdoc/conf.py4# This file is execfile()d with the current directory set to its
MEDIUMdoc/conf.py275# Define the canonical URL if you are using a custom domain on Read the Docs
Redundant / Tautological Comments43 hits · 69 pts
SeverityFileLineSnippet
LOWPyInstaller/compat.py123# Check if python >= 3.13 was built with Py_GIL_DISABLED / free-threading (PEP703).
LOWPyInstaller/configure.py31 # Check if we can call `upx -V`.
LOWPyInstaller/utils/osx.py452 # Check if we are dealing with a fat binary; the `install-name-tool` seems to be unable to remove an rpath that is
LOWPyInstaller/utils/hooks/setuptools.py56 # Check if `setuptools._vendor` exists. Some linux distributions opt to de-vendor `setuptools` and remove the
LOWPyInstaller/utils/hooks/setuptools.py283 # Check if the package/module is a vendored copy. This also returns False is setuptools is unavailable, because
LOWPyInstaller/utils/hooks/setuptools.py324 # Check if the package/module is a vendored copy. This also returns False is setuptools is unavailable, because
LOWPyInstaller/utils/hooks/conda.py358 # Check if this file/folder's parent is in ``sys.path`` i.e. it's directly importable. This intentionally excludes
LOWPyInstaller/utils/hooks/__init__.py636 # Add modules to the list of all submodules
LOWPyInstaller/utils/hooks/tcl_tk.py50 # Check if Tcl/Tk is built with multi-threaded support (built with --enable-threads), as indicated by the presence
LOWPyInstaller/utils/hooks/tcl_tk.py306 # Check if the path corresponds to the system framework, i.e., [/System]/Library/Frameworks/Tcl.framework/Tcl
LOWPyInstaller/utils/hooks/qt/__init__.py661 # Check if QtNetwork supports SSL and has OpenSSL backend available (Qt >= 6.1).
LOWPyInstaller/utils/hooks/qt/__init__.py1413 # Check if bindings are available
LOWPyInstaller/utils/win32/versioninfo.py596 # Check if the overlay is still present
LOWPyInstaller/utils/win32/winutils.py190 # Open file
LOWPyInstaller/utils/win32/winresource.py54 # Open file
LOWPyInstaller/utils/win32/winresource.py107 # Close file
LOWPyInstaller/hooks/hook-numpy.py55# Check if we are using Anaconda-packaged numpy
LOWPyInstaller/hooks/rthooks/pyi_rth_inspect.py67 # Check if given filename matches the basename of __main__'s __file__.
LOWPyInstaller/isolated/_parent.py214 # Check if we are already running in PyInstaller's isolated subprocess, to prevent further nesting.
LOWPyInstaller/isolated/_parent.py238 # Open file handles to talk to the child. This should fully transfer ownership of the underlying file
LOWPyInstaller/depend/analysis.py419 # Check if the referrer is (was!) subject to the same rule. Because if it was and was
LOWPyInstaller/depend/imphook.py430 # Check if module has hook() function.
LOWPyInstaller/depend/bindepend.py1115 # Check if the file can be opened using `pefile`.
LOWPyInstaller/building/api.py108 # Check if code cache association exists for the given TOC list
LOWPyInstaller/building/api.py876 # Set checksum to appease antiviral software. Also set build timestamp to current time to increase entropy
LOWPyInstaller/building/api.py942 # Check if src_filename points to a PE file or an arbitrary (data) file.
LOWPyInstaller/building/api.py1060 # Check if exception is eligible for retry; if not, also check its immediate cause (in case the
LOWPyInstaller/building/api.py1309 # Add entry to list of kept TOC entries
LOWPyInstaller/building/datastruct.py446 # Check if referenced destination file is valid (i.e., we are collecting a file under referenced name).
LOWPyInstaller/building/utils.py678 # Check if optional cache contains module entry
LOWPyInstaller/building/utils.py742 # Check if .pyc file is stored in a .zip archive, as is the case for stdlib modules in embeddable
LOWPyInstaller/building/utils.py814 # Check if we need to divert - based on the destination base name and destination parent directory.
LOWPyInstaller/building/splash.py134 # Check if the Tcl/Tk version is supported.
LOWPyInstaller/building/splash.py243 # Check if all requirements were found.
LOWPyInstaller/building/splash.py313 # Check if the tkinter installation changed. This is theoretically possible if someone uses two different python
LOWPyInstaller/building/splash.py322 # Check if the image has been modified.
LOWPyInstaller/building/splash.py332 # Check if PIL/pillow is available.
LOWtests/functional/test_misc.py159 # Check if OS supports creation of symbolic links
LOWtests/functional/test_qt.py700 # Check if particular module is importable. This guards against errors if a module is unavailable in particular
LOWtests/functional/scripts/pyi_optimization.py20# Check if __debug__ is set
LOWtests/functional/scripts/pyi_optimization.py23# Check if assert works
LOW…ctional/modules/pyi_optimization/mypackage/__init__.py17# Check if __debug__ is set
LOW…ctional/modules/pyi_optimization/mypackage/__init__.py20# Check if assert works
AI Slop Vocabulary11 hits · 24 pts
SeverityFileLineSnippet
MEDIUMPyInstaller/__main__.py243 # 3. User has used *run as administrator* to elevate: TokenElevationTypeFull
LOWPyInstaller/fake-modules/_pyi_rth_utils/_win32.py226 # but as they are at the beginning of the buffer, just pass the buffer instead...
MEDIUMPyInstaller/utils/hooks/__init__.py1325 # Collect all dynamic libs - collect them as binaries in order to facilitate proper binary dependency analysis
LOWPyInstaller/utils/hooks/gi.py383 # If there are no schema files available, simply return the input datas TOC.
LOWPyInstaller/utils/hooks/qt/__init__.py878 # expected to be provided by the system. So we can just use standard library path resolution with library names
LOWPyInstaller/utils/win32/icon.py226 # We could continue with no icon (i.e., just return), but it seems best to terminate the build with a message.
MEDIUMPyInstaller/hooks/rthooks/pyi_rth_inspect.py77 # facilitate matching via __file__ attribute and use of loader's `get_source`, as per the earlier comment
MEDIUMPyInstaller/lib/modulegraph/modulegraph.py142#leverage a named tuple -- but this should do just as well.
MEDIUMPyInstaller/lib/modulegraph/modulegraph.py2468 #handle opcodes pertaining to global attributes (e.g.,
MEDIUMPyInstaller/depend/imphookapi.py408 # (e.g., "hook-PIL.SpiderImagePlugin.py"). We only require this for the aforementioned hook, so contemplate
LOWtests/functional/scripts/pyi_c_extension.py29# Filename extensions can include several dots (e.g., '.cpython-33m.so'), so we cannot simply use os.path.splitext(),
Cross-Language Confusion4 hits · 20 pts
SeverityFileLineSnippet
HIGHbootloader/waflib/Tools/javaw.py28 lib = null;
HIGHbootloader/waflib/Tools/c_preproc.py670 state.append(undefined)
HIGHPyInstaller/depend/imphook.py439 # If this attribute is undefined, expose a sane default instead.
HIGHtests/functional/test_splash.py132 # is_alive() should return false
Docstring Block Structure3 hits · 15 pts
SeverityFileLineSnippet
HIGHPyInstaller/utils/hooks/__init__.py1167 Collect modules and metadata for all exporters of a given entry point. Args: name: The nam
HIGHPyInstaller/utils/hooks/__init__.py1273 Collect data files and binaries from the .libs directory of a delvewheel-enabled python wheel. Such wheels ship
HIGHPyInstaller/isolated/_parent.py346 Call a function with arguments in a separate child Python. Retrieve its return value. Args: function:
Cross-File Repetition3 hits · 15 pts
SeverityFileLineSnippet
HIGHtests/functional/scripts/pyi_importlib_resources.py0from . import a, b # noqa: f401\nfrom . import subpkg1, subpkg2, subpkg3 # noqa: f401\n
HIGHtests/functional/scripts/pyi_importlib_resources.py0from . import a, b # noqa: f401\nfrom . import subpkg1, subpkg2, subpkg3 # noqa: f401\n
HIGHtests/functional/scripts/pyi_importlib_resources.py0from . import a, b # noqa: f401\nfrom . import subpkg1, subpkg2, subpkg3 # noqa: f401\n
Verbosity Indicators9 hits · 14 pts
SeverityFileLineSnippet
LOWPyInstaller/utils/hooks/qt/__init__.py168 # The PyQt wheels come in both non-commercial and commercial variants. So we need to check if a particular
LOWPyInstaller/building/api.py776 # Step 1: copy the bootloader file, and perform any operations that need to be done prior to appending the PKG.
LOWPyInstaller/building/api.py805 # Step 2: append the PKG, if necessary
LOWPyInstaller/building/api.py874 # Step 3: post-processing
LOWPyInstaller/building/osx.py328 # Step 1: inspect the directory layout and classify the directories according to their contents.
LOWPyInstaller/building/osx.py396 # Step 2: process the obtained directory structure and create symlink entries for directories that need to be
LOWPyInstaller/building/osx.py427 # Step 3: first part of the work-around for directories that are located in `Contents/Frameworks` but contain a
LOWPyInstaller/building/osx.py464 # Step 4: process the entries for collected files, and decide whether they should be placed into
LOWPyInstaller/building/osx.py549 # Step 5: sanitize all destination paths in the new TOC, to ensure that paths that are rooted in
Overly Generic Function Names7 hits · 9 pts
SeverityFileLineSnippet
LOWtests/functional/test_inspect.py117 EXPECTED_START = "def test_function():"
LOW…multipackage-scripts/multipackage_test_pkg/__init__.py41def test_function():
LOWtests/functional/scripts/pyi_multiprocessing_process.py17def test_function():
LOWtests/functional/scripts/pyi_optimization.py33def test_function():
LOW…ts/functional/scripts/pyi_multiprocessing_semaphore.py16def test_function(semaphore):
LOW…ional/modules/pyi_inspect_getsource/mypackage/mod_b.py4def test_function():
LOW…ctional/modules/pyi_optimization/mypackage/__init__.py30def test_function():
Fake / Example Data4 hits · 6 pts
SeverityFileLineSnippet
LOWPyInstaller/utils/hooks/setuptools.py186 # Similarly, ensure that `Lorem ipsum.txt` from vendored jaraco.text is collected
LOWPyInstaller/utils/hooks/setuptools.py187 vendored_data += collect_data_files('setuptools._vendor.jaraco.text', includes=['**/Lorem ipsum.txt'])
LOWPyInstaller/hooks/hook-pkg_resources.py42 # In setuptools 60.7.0, the vendored jaraco.text package included "Lorem Ipsum.txt" data file, which also has to be
LOWPyInstaller/hooks/hook-pkg_resources.py50 # In setuptools 60.7.1, the "Lorem Ipsum.txt" data file was dropped from the vendored jaraco.text package, so we can
Slop Phrases2 hits · 4 pts
SeverityFileLineSnippet
LOWPyInstaller/hooks/rthooks/pyi_rth_pkgres.py158 # Use os.listdir() to avoid having to convert Path objects to strings... Also make sure to de-duplicate
MEDIUMtests/functional/test_signals.py116 # slowing down the test; as mentioned earlier, we expect signals to be delivered within 1 second for most of the