The most widely used Python to C compiler
This report summarizes scanner evidence for cython/cython, a Cython project with 10,862 GitHub stars. SynthScan examined 195,237 lines of code across 637 source files, recording 2588 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 15.3 (Elevated pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 2048 finding(s).
Are imports declared and package/API names verified? 198 finding(s).
Are wrappers, guards, and repeated structures necessary? 1600 finding(s).
Which changes need focused human review? 2588 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 2588 distinct pattern matches across 20 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | runtests.py | 156 | def unpatch_inspect_isfunction(): | CODE |
| LOW | runtests.py | 265 | def update_linetrace_extension(ext): | CODE |
| LOW | runtests.py | 312 | def update_language_extension(language, std, min_gcc_version=None, min_clang_version=None, min_macos_version=None): | CODE |
| LOW | runtests.py | 313 | def _update_language_extension(ext): | CODE |
| LOW | runtests.py | 428 | def get_openmp_compiler_flags(language): | CODE |
| LOW | runtests.py | 487 | def iterate_matcher_fixer_dict(matchers_and_fixers): | CODE |
| LOW⚡ | Tools/cython-generate-lexicon.py | 74 | def get_start_characters_as_number(): | STRING |
| LOW⚡ | Tools/cython-generate-lexicon.py | 78 | def get_continue_characters_as_number(): | STRING |
| LOW⚡ | Tools/cython-generate-lexicon.py | 82 | def get_continue_not_start_as_number(): | STRING |
| LOW⚡ | Tools/dataclass_test_data/test_dataclasses.py | 35 | def test_no_fields_but_member_variable(self): | CODE |
| LOW⚡ | Tools/dataclass_test_data/test_dataclasses.py | 43 | def test_one_field_no_default(self): | CODE |
| LOW⚡ | Tools/dataclass_test_data/test_dataclasses.py | 51 | def test_field_default_default_factory_error(self): | CODE |
| LOW⚡ | Tools/dataclass_test_data/test_dataclasses.py | 1781 | def test_dynamic_class_creation(self): | CODE |
| LOW⚡ | Tools/dataclass_test_data/test_dataclasses.py | 1794 | def test_dynamic_class_creation_using_field(self): | CODE |
| LOW⚡ | Tools/dataclass_test_data/test_dataclasses.py | 2108 | def test_existing_docstring_not_overridden(self): | CODE |
| LOW⚡ | Tools/dataclass_test_data/test_dataclasses.py | 2130 | def test_docstring_two_fields(self): | CODE |
| LOW⚡ | Tools/dataclass_test_data/test_dataclasses.py | 2138 | def test_docstring_three_fields(self): | CODE |
| LOW⚡ | Tools/dataclass_test_data/test_dataclasses.py | 2147 | def test_docstring_one_field_with_default(self): | CODE |
| LOW⚡ | Tools/dataclass_test_data/test_dataclasses.py | 2154 | def test_docstring_one_field_with_default_none(self): | CODE |
| LOW⚡ | Tools/dataclass_test_data/test_dataclasses.py | 2161 | def test_docstring_list_field(self): | CODE |
| LOW⚡ | Tools/dataclass_test_data/test_dataclasses.py | 2168 | def test_docstring_list_field_with_default_factory(self): | CODE |
| LOW⚡ | Tools/dataclass_test_data/test_dataclasses.py | 2175 | def test_docstring_deque_field(self): | CODE |
| LOW⚡ | Tools/dataclass_test_data/test_dataclasses.py | 2182 | def test_docstring_deque_field_with_default_factory(self): | CODE |
| LOW⚡ | Tools/dataclass_test_data/test_dataclasses.py | 3638 | def test_non_identifier_field_names(self): | CODE |
| LOW⚡ | Tools/dataclass_test_data/test_dataclasses.py | 3648 | def test_underscore_field_names(self): | CODE |
| LOW⚡ | Tools/dataclass_test_data/test_dataclasses.py | 3653 | def test_funny_class_names_names(self): | CODE |
| LOW | Tools/dataclass_test_data/test_dataclasses.py | 79 | def test_two_fields_one_default(self): | CODE |
| LOW | Tools/dataclass_test_data/test_dataclasses.py | 176 | def test_overwrite_fields_in_derived_class(self): | CODE |
| LOW | Tools/dataclass_test_data/test_dataclasses.py | 227 | def test_field_named_object_frozen(self): | CODE |
| LOW | Tools/dataclass_test_data/test_dataclasses.py | 234 | def test_field_named_like_builtin(self): | CODE |
| LOW | Tools/dataclass_test_data/test_dataclasses.py | 251 | def test_field_named_like_builtin_frozen(self): | CODE |
| LOW | Tools/dataclass_test_data/test_dataclasses.py | 505 | def test_no_unhashable_default(self): | CODE |
| LOW | Tools/dataclass_test_data/test_dataclasses.py | 557 | def test_init_false_no_default(self): | CODE |
| LOW | Tools/dataclass_test_data/test_dataclasses.py | 661 | def test_disallowed_mutable_defaults(self): | CODE |
| LOW | Tools/dataclass_test_data/test_dataclasses.py | 706 | def test_deliberately_mutable_defaults(self): | CODE |
| LOW | Tools/dataclass_test_data/test_dataclasses.py | 781 | def test_function_annotations(self): | CODE |
| LOW | Tools/dataclass_test_data/test_dataclasses.py | 872 | def test_missing_default_factory(self): | CODE |
| LOW | Tools/dataclass_test_data/test_dataclasses.py | 897 | def test_dont_include_other_annotations(self): | CODE |
| LOW | Tools/dataclass_test_data/test_dataclasses.py | 989 | def test_post_init_staticmethod(self): | CODE |
| LOW | Tools/dataclass_test_data/test_dataclasses.py | 1005 | def test_post_init_classmethod(self): | CODE |
| LOW | Tools/dataclass_test_data/test_dataclasses.py | 1020 | def test_post_init_not_auto_added(self): | CODE |
| LOW | Tools/dataclass_test_data/test_dataclasses.py | 1107 | def test_class_var_no_default(self): | CODE |
| LOW | Tools/dataclass_test_data/test_dataclasses.py | 1115 | def test_class_var_default_factory(self): | CODE |
| LOW | Tools/dataclass_test_data/test_dataclasses.py | 1126 | def test_class_var_with_default(self): | CODE |
| LOW | Tools/dataclass_test_data/test_dataclasses.py | 1173 | def test_init_var_default_factory(self): | CODE |
| LOW | Tools/dataclass_test_data/test_dataclasses.py | 1184 | def test_init_var_with_default(self): | CODE |
| LOW | Tools/dataclass_test_data/test_dataclasses.py | 1209 | def test_init_var_preserve_type(self): | CODE |
| LOW | Tools/dataclass_test_data/test_dataclasses.py | 1221 | def test_init_var_inheritance(self): | CODE |
| LOW | Tools/dataclass_test_data/test_dataclasses.py | 1304 | def test_default_factory_with_no_init(self): | CODE |
| LOW | Tools/dataclass_test_data/test_dataclasses.py | 1318 | def test_default_factory_not_called_if_value_given(self): | CODE |
| LOW | Tools/dataclass_test_data/test_dataclasses.py | 1335 | def test_default_factory_derived(self): | CODE |
| LOW | Tools/dataclass_test_data/test_dataclasses.py | 1354 | def test_intermediate_non_dataclass(self): | CODE |
| LOW | Tools/dataclass_test_data/test_dataclasses.py | 1383 | def test_classvar_default_factory(self): | CODE |
| LOW | Tools/dataclass_test_data/test_dataclasses.py | 1418 | def test_is_dataclass_when_getattr_always_returns(self): | CODE |
| LOW | Tools/dataclass_test_data/test_dataclasses.py | 1444 | def test_is_dataclass_genericalias(self): | CODE |
| LOW | Tools/dataclass_test_data/test_dataclasses.py | 1455 | def test_helper_fields_with_class_instance(self): | CODE |
| LOW | Tools/dataclass_test_data/test_dataclasses.py | 1465 | def test_helper_fields_exception(self): | CODE |
| LOW | Tools/dataclass_test_data/test_dataclasses.py | 1492 | def test_helper_asdict_raises_on_classes(self): | CODE |
| LOW | Tools/dataclass_test_data/test_dataclasses.py | 1503 | def test_helper_asdict_copy_values(self): | CODE |
| LOW | Tools/dataclass_test_data/test_dataclasses.py | 1518 | def test_helper_asdict_nested(self): | CODE |
| 1151 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | runtests.py | 71 | except ImportError: | CODE |
| HIGH | runtests.py | 455 | except locale.Error: | CODE |
| HIGH | runtests.py | 125 | except ImportError: | CODE |
| HIGH | runtests.py | 160 | except AttributeError: | CODE |
| HIGH | runtests.py | 3039 | except (AttributeError, TypeError): | CODE |
| HIGH | runtests.py | 3053 | except ImportError: | CODE |
| HIGH | runtests.py | 3320 | except AttributeError: | CODE |
| HIGH | runtests.py | 3327 | except ImportError: | CODE |
| HIGH | runtests.py | 106 | except ValueError: | CODE |
| HIGH | runtests.py | 113 | except ValueError: | CODE |
| HIGH | runtests.py | 596 | except ImportError: | CODE |
| HIGH | runtests.py | 613 | except Exception: | CODE |
| HIGH | runtests.py | 1147 | except ValueError: | CODE |
| HIGH | runtests.py | 1151 | except KeyError: | CODE |
| HIGH | runtests.py | 1656 | except Exception: | CODE |
| HIGH | runtests.py | 1721 | except Exception: | CODE |
| HIGH | runtests.py | 2305 | except: | CODE |
| HIGH | runtests.py | 90 | except OSError: | CODE |
| HIGH | runtests.py | 1727 | except ImportError: | CODE |
| HIGH | runtests.py | 1194 | except IOError: | CODE |
| HIGH | runtests.py | 2122 | except ValueError: # no tests | CODE |
| HIGH | Tools/cython-generate-shadow-py.py | 74 | except TypeError: | CODE |
| HIGH | tests/memoryview/memoryview_annotation_typing.py | 10 | except ImportError: | CODE |
| HIGH | tests/errors/e_typing_optional.py | 7 | except ImportError: | CODE |
| HIGH | tests/run/pstats_profile_test_py.py | 292 | except ValueError: | CODE |
| HIGH | tests/run/pstats_profile_test_py.py | 203 | except RuntimeError: | CODE |
| HIGH | tests/run/set_literals.py | 70 | except TypeError: pass | CODE |
| HIGH | tests/run/set_literals.py | 95 | except TypeError: pass | CODE |
| HIGH | tests/run/test_except_star.py | 457 | except* BlockingIOError: | CODE |
| HIGH | tests/run/test_except_star.py | 68 | except* ExceptionGroup as e: | CODE |
| HIGH | tests/run/test_except_star.py | 75 | except* (TypeError, ExceptionGroup): | CODE |
| HIGH | tests/run/test_except_star.py | 82 | except* 42: | CODE |
| HIGH | tests/run/test_except_star.py | 88 | except* (ValueError, 42): | CODE |
| HIGH | tests/run/test_except_star.py | 482 | except* BlockingIOError: | CODE |
| HIGH | tests/run/test_except_star.py | 530 | except* ValueError as e: | CODE |
| HIGH | tests/run/test_except_star.py | 546 | except* ValueError: | CODE |
| HIGH | tests/run/test_except_star.py | 561 | except* ValueError as e: | CODE |
| HIGH | tests/run/test_except_star.py | 577 | except* ValueError: | CODE |
| HIGH | tests/run/test_except_star.py | 468 | except* ValueError: | CODE |
| HIGH | tests/run/test_except_star.py | 1031 | except* Exception: | CODE |
| HIGH | tests/run/test_except_star.py | 1125 | except* TypeError: | CODE |
| HIGH | tests/run/test_except_star.py | 1231 | except* ValueError: | CODE |
| HIGH | tests/run/withstat_py27.py | 134 | except: | CODE |
| HIGH | tests/run/withstat_py27.py | 143 | except RuntimeError: | CODE |
| HIGH | tests/run/test_grammar.py | 709 | except TypeError: | CODE |
| HIGH | tests/run/test_grammar.py | 1283 | except RuntimeError: pass | CODE |
| HIGH | tests/run/test_grammar.py | 1285 | except KeyboardInterrupt: pass | CODE |
| HIGH | tests/run/test_grammar.py | 1423 | except ZeroDivisionError: | CODE |
| HIGH | tests/run/test_grammar.py | 1428 | except EOFError: pass | CODE |
| HIGH | tests/run/test_grammar.py | 1429 | except TypeError as msg: pass | CODE |
| HIGH | tests/run/test_grammar.py | 1430 | except: pass | CODE |
| HIGH | tests/run/test_grammar.py | 1433 | except (EOFError, TypeError, ZeroDivisionError): pass | CODE |
| HIGH | tests/run/test_grammar.py | 1435 | except (EOFError, TypeError, ZeroDivisionError) as msg: pass | CODE |
| HIGH | tests/run/test_grammar.py | 1794 | except StopIteration: | CODE |
| HIGH | tests/run/test_grammar.py | 1802 | except TypeError: | CODE |
| HIGH | tests/run/generators_py.py | 145 | except ValueError: | CODE |
| HIGH | tests/run/sys_monitoring.py | 552 | except ValueError: | CODE |
| HIGH | tests/run/sys_monitoring.py | 646 | except ValueError: | CODE |
| HIGH | tests/run/sys_monitoring.py | 506 | except RuntimeError: | CODE |
| HIGH | tests/run/sys_monitoring.py | 510 | except RuntimeError: | CODE |
| 103 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.py | 247 | CODE | |
| LOW | runtests.py | 165 | CODE | |
| LOW | runtests.py | 312 | CODE | |
| LOW | runtests.py | 539 | CODE | |
| LOW | runtests.py | 996 | CODE | |
| LOW | runtests.py | 2042 | CODE | |
| LOW | runtests.py | 2081 | CODE | |
| LOW | runtests.py | 2474 | CODE | |
| LOW | runtests.py | 2534 | CODE | |
| LOW | runtests.py | 3003 | CODE | |
| LOW | runtests.py | 3046 | CODE | |
| LOW | runtests.py | 313 | CODE | |
| LOW | runtests.py | 818 | CODE | |
| LOW | runtests.py | 1106 | CODE | |
| LOW | runtests.py | 1138 | CODE | |
| LOW | runtests.py | 1271 | CODE | |
| LOW | runtests.py | 1360 | CODE | |
| LOW | runtests.py | 1475 | CODE | |
| LOW | runtests.py | 1758 | CODE | |
| LOW | runtests.py | 2174 | CODE | |
| LOW | Tools/jedityper.py | 25 | CODE | |
| LOW | Tools/jedityper.py | 71 | CODE | |
| LOW | Tools/download_release.py | 64 | CODE | |
| LOW | Tools/cevaltrace.py | 32 | CODE | |
| LOW | Tools/cevaltrace.py | 86 | CODE | |
| LOW | Tools/cython-generate-shadow-py.py | 20 | CODE | |
| LOW | Tools/dataclass_test_data/test_dataclasses.py | 269 | CODE | |
| LOW | Tools/dataclass_test_data/test_dataclasses.py | 297 | CODE | |
| LOW | Tools/dataclass_test_data/test_dataclasses.py | 330 | CODE | |
| LOW | Tools/dataclass_test_data/test_dataclasses.py | 409 | CODE | |
| LOW | Tools/dataclass_test_data/test_dataclasses.py | 531 | CODE | |
| LOW | Tools/dataclass_test_data/test_dataclasses.py | 2478 | CODE | |
| LOW | Tools/dataclass_test_data/test_dataclasses.py | 2615 | CODE | |
| LOW | Tools/dataclass_test_data/test_dataclasses.py | 3444 | CODE | |
| LOW | Tools/dataclass_test_data/test_dataclasses.py | 2487 | CODE | |
| LOW | tests/run/carray_iteration.py | 8492 | CODE | |
| LOW | tests/run/carray_iteration.py | 8542 | CODE | |
| LOW | tests/run/carray_iteration.py | 8605 | CODE | |
| LOW | tests/run/pstats_profile_test_py.py | 171 | CODE | |
| LOW | tests/run/test_named_expressions.py | 34 | CODE | |
| LOW | tests/run/test_grammar.py | 220 | CODE | |
| LOW | tests/run/test_grammar.py | 901 | CODE | |
| LOW | tests/run/test_grammar.py | 1158 | CODE | |
| LOW | tests/run/test_grammar.py | 1362 | CODE | |
| LOW | tests/run/test_grammar.py | 1160 | CODE | |
| LOW | tests/run/test_grammar.py | 1174 | CODE | |
| LOW | tests/run/test_asyncgen.py | 250 | CODE | |
| LOW | tests/run/test_asyncgen.py | 263 | CODE | |
| LOW | Cython/TestUtils.py | 336 | CODE | |
| LOW | Cython/Coverage.py | 195 | CODE | |
| LOW | Cython/Coverage.py | 288 | CODE | |
| LOW | Cython/LZSS.py | 16 | CODE | |
| LOW | Cython/LZSS.py | 37 | CODE | |
| LOW | Cython/Utils.py | 257 | CODE | |
| LOW | Cython/Utils.py | 417 | CODE | |
| LOW | Cython/Utils.py | 587 | CODE | |
| LOW | Cython/Shadow.py | 458 | CODE | |
| LOW | Cython/Distutils/old_build_ext.py | 194 | CODE | |
| LOW | Cython/Tests/TestShadow.py | 10 | CODE | |
| LOW | Cython/Tests/TestShadow.py | 57 | CODE | |
| 407 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | Tools/cython-epydoc.py | 3 | # -------------------------------------------------------------------- | COMMENT |
| MEDIUM | Tools/cython-epydoc.py | 40 | # -------------------------------------------------------------------- | COMMENT |
| MEDIUM | Tools/cython-epydoc.py | 45 | # -------------------------------------------------------------------- | COMMENT |
| MEDIUM | Tools/make_dataclass_tests.py | 20 | # ==================== | COMMENT |
| MEDIUM | Tools/make_dataclass_tests.py | 68 | # ===================== | COMMENT |
| MEDIUM | Tools/make_dataclass_tests.py | 170 | # ========== | COMMENT |
| MEDIUM | Cython/Plex/Regexps.py | 174 | # ------------------------- | COMMENT |
| MEDIUM | Cython/Plex/Regexps.py | 393 | # ------------------------- | COMMENT |
| MEDIUM | Cython/Build/IpythonMagic.py | 38 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cython/Build/IpythonMagic.py | 44 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cython/Compiler/Options.py | 657 | # ------------------------------------------------------------------------ | COMMENT |
| MEDIUM | Cython/Compiler/Options.py | 798 | # ------------------------------------------------------------------------ | STRING |
| MEDIUM | Cython/Compiler/Options.py | 802 | # ------------------------------------------------------------------------ | STRING |
| MEDIUM | Cython/Compiler/ModuleNode.py | 4544 | #------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | Cython/Compiler/ModuleNode.py | 4548 | #------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | Cython/Compiler/TypeSlots.py | 891 | #------------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | Cython/Compiler/TypeSlots.py | 895 | #------------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | Cython/Compiler/TypeSlots.py | 956 | #------------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | Cython/Compiler/TypeSlots.py | 960 | #------------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | Cython/Compiler/TypeSlots.py | 965 | #------------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | Cython/Compiler/TypeSlots.py | 969 | #------------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | Cython/Compiler/TypeSlots.py | 974 | #------------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | Cython/Compiler/TypeSlots.py | 979 | #------------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | Cython/Compiler/TypeSlots.py | 1055 | #------------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | Cython/Compiler/TypeSlots.py | 1059 | #------------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | Cython/Compiler/TypeSlots.py | 1067 | #------------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | Cython/Compiler/TypeSlots.py | 1077 | #------------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | Cython/Compiler/TypeSlots.py | 1250 | #------------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | Cython/Compiler/TypeSlots.py | 1256 | #------------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | Cython/Compiler/TypeSlots.py | 1274 | #------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | Cython/Compiler/TypeSlots.py | 1279 | #------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cython/Compiler/Parsing.py | 85 | #------------------------------------------ | COMMENT |
| MEDIUM | Cython/Compiler/Parsing.py | 89 | #------------------------------------------ | COMMENT |
| MEDIUM | Cython/Compiler/Parsing.py | 1659 | #------------------------------------------------------- | COMMENT |
| MEDIUM | Cython/Compiler/Parsing.py | 1663 | #------------------------------------------------------- | COMMENT |
| MEDIUM | Cython/Compiler/Parsing.py | 4775 | #---------------------------------------------- | COMMENT |
| MEDIUM | Cython/Compiler/Parsing.py | 4779 | #---------------------------------------------- | COMMENT |
| MEDIUM⚡ | Cython/Compiler/ExprNodes.py | 1343 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | Cython/Compiler/ExprNodes.py | 1347 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | Cython/Compiler/ExprNodes.py | 8587 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | Cython/Compiler/ExprNodes.py | 8591 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cython/Compiler/ExprNodes.py | 2073 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cython/Compiler/ExprNodes.py | 2077 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cython/Compiler/ExprNodes.py | 2942 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cython/Compiler/ExprNodes.py | 2946 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cython/Compiler/ExprNodes.py | 3819 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cython/Compiler/ExprNodes.py | 3823 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cython/Compiler/ExprNodes.py | 4082 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cython/Compiler/ExprNodes.py | 4086 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cython/Compiler/ExprNodes.py | 4140 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cython/Compiler/ExprNodes.py | 4144 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cython/Compiler/ExprNodes.py | 11722 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cython/Compiler/ExprNodes.py | 11726 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cython/Compiler/ExprNodes.py | 12738 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cython/Compiler/ExprNodes.py | 12742 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cython/Compiler/ExprNodes.py | 15020 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cython/Compiler/ExprNodes.py | 15029 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cython/Compiler/Scanning.py | 42 | #------------------------------------------------------------------ | COMMENT |
| MEDIUM | Cython/Compiler/Scanning.py | 58 | #------------------------------------------------------------------ | COMMENT |
| MEDIUM | Cython/Compiler/Scanning.py | 122 | #------------------------------------------------------------------ | COMMENT |
| 24 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | runtests.py | 2001 | #'E502', | COMMENT |
| LOW | Tools/cython-generate-lexicon.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | Tools/site_scons/site_tools/pyext.py | 21 | # | COMMENT |
| LOW | tests/bugs.txt | 61 | # Test doesn't actually activate the virtual env and | COMMENT |
| LOW | tests/run/pstats_profile_test_py.py | 301 | # e = (x for x in range(10)) | COMMENT |
| LOW | tests/run/complex_numbers_cxx_T398.h | 1 | #if defined(__cplusplus) | COMMENT |
| LOW | tests/run/test_grammar.py | 101 | COMMENT | |
| LOW | tests/run/test_grammar.py | 581 | self.assertEqual(ns['x'], (1, 2, 3, 4, 5)) | COMMENT |
| LOW | tests/run/qualname.py | 101 | #>>> print(CdefClass.l["__qualname__"], CdefClass.l["__module__"]) | COMMENT |
| LOW | tests/run/qualname.py | 141 | # TODO del inside cdef class scope is broken | COMMENT |
| LOW | tests/run/genexpr_arg_order.py | 41 | # return (a for a in range(zero(), five())) | COMMENT |
| LOW | tests/run/define_macro_helper.h | 1 | #pragma once | COMMENT |
| LOW | tests/run/posonly.py | 41 | """ | COMMENT |
| LOW | tests/run/posonly.py | 61 | # a263,a264,a265,a266,a267,a268,a269,a270,a271,a272,a273,a274,a275,a276,a277, | COMMENT |
| LOW | Cython/Distutils/old_build_ext.py | 201 | new_sources = [] | COMMENT |
| LOW | Cython/Debugger/Tests/TestLibCython.py | 141 | ) | COMMENT |
| LOW | Cython/Plex/DFA.py | 21 | def nfa_to_dfa(old_machine, debug=None): | COMMENT |
| LOW | Cython/Plex/Scanners.py | 41 | Causes scanner to change state. | COMMENT |
| LOW | Cython/Plex/Scanners.py | 61 | # current_scanner_position_tuple = ("", 0, 0) | COMMENT |
| LOW | Cython/Compiler/MatchCaseNodes.py | 1181 | # (DictProxyType is, but Cython doesn't know about that). | COMMENT |
| LOW | Cython/Compiler/MatchCaseNodes.py | 1241 | args=[ | COMMENT |
| LOW | Cython/Compiler/Optimize.py | 401 | # Generates code that looks approximately like: | COMMENT |
| LOW | Cython/Compiler/Options.py | 41 | #: will be smaller, but the ``__doc__`` attribute of any class or function will be an | COMMENT |
| LOW | Cython/Compiler/Options.py | 81 | #: them a compile time error. If you want full Python compatibility, | COMMENT |
| LOW | Cython/Compiler/Options.py | 101 | #: time. This will prevent the module from getting imported if a | COMMENT |
| LOW | Cython/Compiler/Options.py | 121 | #: This will provide a C function which initialises the interpreter and | COMMENT |
| LOW | Cython/Compiler/Options.py | 741 | # Some compiler directives do not influence the generated C code but others do | COMMENT |
| LOW | Cython/Compiler/ModuleNode.py | 201 | class ModuleNode(Nodes.Node, Nodes.BlockNode): | COMMENT |
| LOW | Cython/Compiler/ModuleNode.py | 2141 | # cimported base type pointer directly interacts badly with | COMMENT |
| LOW | Cython/Compiler/ModuleNode.py | 3841 | freecount_name = code.name_in_main_c_code_module_state( | COMMENT |
| LOW | Cython/Compiler/ModuleNode.py | 4541 | header)) | COMMENT |
| LOW | Cython/Compiler/TypeSlots.py | 21 | # Method slot signature descriptor. | COMMENT |
| LOW | Cython/Compiler/TypeSlots.py | 41 | # 'l' long | COMMENT |
| LOW | Cython/Compiler/TypeSlots.py | 881 | return None | COMMENT |
| LOW | Cython/Compiler/TypeSlots.py | 961 | COMMENT | |
| LOW | Cython/Compiler/TypeSlots.py | 1061 | property_accessor_signatures = { | COMMENT |
| LOW | Cython/Compiler/Symtab.py | 61 | self.rcbuf_var = rcbuf_var | COMMENT |
| LOW | Cython/Compiler/Symtab.py | 81 | # class construction | COMMENT |
| LOW | Cython/Compiler/Symtab.py | 101 | # doc_cname string or None C const holding the docstring | COMMENT |
| LOW | Cython/Compiler/Symtab.py | 121 | # xdecref_cleanup boolean Use Py_XDECREF for error cleanup | COMMENT |
| LOW | Cython/Compiler/Symtab.py | 141 | # inline_func_in_pxd boolean Hacky special case for inline function in pxd file. | COMMENT |
| LOW | Cython/Compiler/Symtab.py | 341 | # we wouldn't have been called if it was there | COMMENT |
| LOW | Cython/Compiler/Symtab.py | 361 | # cname_to_entry {string : Entry} Temp cname to entry mapping | COMMENT |
| LOW | Cython/Compiler/Symtab.py | 1381 | # utility_code_list [UtilityCode] Queuing utility codes for forwarding to Code.py | COMMENT |
| LOW | Cython/Compiler/Symtab.py | 1941 | type.vtabslot_cname = Naming.vtabslot_cname | COMMENT |
| LOW | Cython/Compiler/Symtab.py | 1981 | # Allocate vtable name if necessary | COMMENT |
| LOW | Cython/Compiler/Symtab.py | 2401 | entry = self.global_scope().lookup_target(name) | COMMENT |
| LOW | Cython/Compiler/Dataclass.py | 641 | # | | | | COMMENT |
| LOW | Cython/Compiler/Dataclass.py | 721 | # __annotations__ dict, therefore it's safe to just return | COMMENT |
| LOW | Cython/Compiler/Code.py | 121 | COMMENT | |
| LOW | Cython/Compiler/Code.py | 1341 | def __lt__(self, other): | COMMENT |
| LOW | Cython/Compiler/Code.py | 2501 | - filename_table, filename_list, input_file_contents: All codewriters | COMMENT |
| LOW | Cython/Compiler/ExprNodes.py | 361 | use_borrowed_ref = False | COMMENT |
| LOW | Cython/Compiler/ExprNodes.py | 381 | # being analysed. In that case, the above two phases | COMMENT |
| LOW | Cython/Compiler/ExprNodes.py | 401 | # Expression Analysis phase | COMMENT |
| LOW | Cython/Compiler/ExprNodes.py | 421 | # check_const | COMMENT |
| LOW | Cython/Compiler/ExprNodes.py | 441 | # - Call generate_evaluation_code for sub-expressions. | COMMENT |
| LOW | Cython/Compiler/ExprNodes.py | 461 | # Called on the LHS of an assignment. | COMMENT |
| LOW | Cython/Compiler/ExprNodes.py | 601 | # can be called when the constant result code is required | COMMENT |
| LOW | Cython/Compiler/ExprNodes.py | 701 | # Convenience routine performing both the Type | COMMENT |
| 214 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cython.py | 26 | CODE | |
| LOW | cython.py | 28 | CODE | |
| LOW | cython.py | 29 | CODE | |
| LOW | cygdb.py | 3 | CODE | |
| LOW | runtests.py | 70 | CODE | |
| LOW | Tools/jedityper.py | 5 | CODE | |
| LOW | Tools/jedityper.py | 9 | CODE | |
| LOW | Tools/cevaltrace.py | 8 | CODE | |
| LOW | Tools/cevaltrace.py | 8 | CODE | |
| LOW | Tools/dataclass_test_data/test_dataclasses.py | 5 | CODE | |
| LOW | Tools/dataclass_test_data/test_dataclasses.py | 20 | CODE | |
| LOW | Tools/dataclass_test_data/test_dataclasses.py | 21 | CODE | |
| LOW | tests/memoryview/memoryview_annotation_typing.py | 5 | CODE | |
| LOW | tests/memoryview/memoryview_annotation_typing.py | 12 | CODE | |
| LOW | tests/compile/cython_compiled_folding.py | 31 | CODE | |
| LOW | tests/compile/cython_compiled_folding.py | 9 | CODE | |
| LOW | tests/compile/cython_compiled_folding.py | 14 | CODE | |
| LOW | tests/compile/cython_compiled_folding.py | 28 | CODE | |
| LOW | tests/compile/cython_compiled_folding.py | 39 | CODE | |
| LOW | tests/compile/cython_compiled_folding.py | 21 | CODE | |
| LOW | tests/errors/e_invalid_special_cython_modules.py | 6 | CODE | |
| LOW | tests/errors/e_invalid_special_cython_modules.py | 7 | CODE | |
| LOW | tests/errors/e_invalid_special_cython_modules.py | 9 | CODE | |
| LOW | tests/errors/e_invalid_special_cython_modules.py | 14 | CODE | |
| LOW | tests/errors/e_invalid_special_cython_modules.py | 15 | CODE | |
| LOW | tests/errors/e_invalid_special_cython_modules.py | 17 | CODE | |
| LOW | tests/errors/e_invalid_special_cython_modules.py | 18 | CODE | |
| LOW | tests/errors/e_invalid_special_cython_modules.py | 19 | CODE | |
| LOW | tests/run/generators_py35.py | 4 | CODE | |
| LOW | tests/run/carray_iteration.py | 8540 | CODE | |
| LOW | tests/run/pyclass_annotations_pep526.py | 5 | CODE | |
| LOW | tests/run/pyclass_annotations_pep526.py | 7 | CODE | |
| LOW | tests/run/extra_patma_py.py | 4 | CODE | |
| LOW | tests/run/extra_patma_py.py | 4 | CODE | |
| LOW | tests/run/extra_patma_py.py | 6 | CODE | |
| LOW | tests/run/set_literals.py | 3 | CODE | |
| LOW | tests/run/import_error_T734.py | 10 | CODE | |
| LOW | tests/run/test_grammar.py | 108 | CODE | |
| LOW | tests/run/test_grammar.py | 111 | CODE | |
| LOW | tests/run/test_grammar.py | 113 | CODE | |
| LOW | tests/run/test_grammar.py | 1296 | CODE | |
| LOW | tests/run/test_grammar.py | 1297 | CODE | |
| LOW | tests/run/test_grammar.py | 1298 | CODE | |
| LOW | tests/run/pure_cdef_class_dataclass.py | 4 | CODE | |
| LOW | tests/run/pure_ctuple.py | 7 | CODE | |
| LOW | tests/run/type_inference_generics.py | 7 | CODE | |
| LOW | tests/run/extra_walrus.py | 8 | CODE | |
| LOW | tests/run/pure_py.py | 201 | CODE | |
| LOW | tests/run/generator_frame_cycle.py | 4 | CODE | |
| LOW | tests/run/pep526_variable_annotations.py | 7 | CODE | |
| LOW | tests/run/test_shadow_error.py | 9 | CODE | |
| LOW | tests/run/test_asyncgen.py | 5 | CODE | |
| LOW | tests/run/test_asyncgen.py | 121 | CODE | |
| LOW | tests/run/qualname.py | 5 | CODE | |
| LOW | tests/run/genexpr_arg_order.py | 4 | CODE | |
| LOW | tests/run/ref2global.py | 5 | CODE | |
| LOW | tests/run/pep563_annotations.py | 4 | CODE | |
| LOW | tests/run/posonly.py | 6 | CODE | |
| LOW | tests/run/builtin_types_class.py | 3 | CODE | |
| LOW | tests/run/pure_parallel.py | 5 | CODE | |
| 110 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | runtests.py | 670 | self.push(item) | CODE |
| HIGH⚡ | tests/run/test_grammar.py | 805 | @[..., null, ...][1] | STRING |
| HIGH⚡ | tests/run/test_grammar.py | 807 | @null(null)(null) | STRING |
| HIGH⚡ | tests/run/test_grammar.py | 809 | @[null][0].__call__.__call__ | STRING |
| HIGH | Cython/Build/IpythonMagic.py | 110 | self.shell.push({k: mdict[k]}) | CODE |
| HIGH | Cython/Compiler/ModuleNode.py | 2435 | code.putln("Py_ssize_t x = __Pyx_PyIndex_AsSsize_t(i); if (unlikely(x == -1 && PyErr_Occurred())) return | CODE |
| HIGH | Cython/Compiler/ModuleNode.py | 2504 | code.putln("Py_ssize_t x = __Pyx_PyIndex_AsSsize_t(i); if (unlikely(x == -1 && PyErr_Occurred())) return | CODE |
| HIGH | Cython/Compiler/ModuleNode.py | 2515 | code.putln("Py_ssize_t x = __Pyx_PyIndex_AsSsize_t(i); if (unlikely(x == -1 && PyErr_Occurred())) return | CODE |
| HIGH | Cython/Compiler/ModuleNode.py | 2613 | code.putln("if (likely(ret && ret != Py_NotImplemented)) {") | CODE |
| HIGH | Cython/Compiler/ModuleNode.py | 2638 | code.putln("if (likely(ret && ret != Py_NotImplemented)) {") | CODE |
| HIGH | Cython/Compiler/ModuleNode.py | 2668 | code.putln("if (likely(ret && ret != Py_NotImplemented)) {") | CODE |
| HIGH | Cython/Compiler/ModuleNode.py | 2794 | "if (!v && PyErr_ExceptionMatches(PyExc_AttributeError)) {") | CODE |
| HIGH⚡ | Cython/Compiler/TypeSlots.py | 1240 | ifdef="(!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800) && " | CODE |
| HIGH⚡ | Cython/Compiler/TypeSlots.py | 1241 | "(!CYTHON_COMPILING_IN_LIMITED_API || __PYX_LIMITED_VERSION_HEX >= 0x030E0000)", | CODE |
| HIGH⚡ | Cython/Compiler/TypeSlots.py | 1247 | EmptySlot("tp_pypy_flags", ifdef="CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX < 0x030a0000"), | CODE |
| HIGH | Cython/Compiler/ExprNodes.py | 7383 | f"{Naming.quick_temp_cname} == NULL && PyErr_Occurred()", | CODE |
| HIGH | Cython/Compiler/ExprNodes.py | 11625 | " exc_type != PyExc_StopIteration && exc_type != PyExc_GeneratorExit &&" | CODE |
| HIGH | Cython/Compiler/Nodes.py | 4446 | code.putln(f"if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[{i}])) {goto_error}") | CODE |
| HIGH | Cython/Compiler/Nodes.py | 4461 | code.putln(f"if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[{i}])) {goto_error}") | CODE |
| HIGH | Cython/Compiler/Nodes.py | 4612 | code.putln(f"if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[{i}])) {code.error_goto(self.pos)}") | CODE |
| HIGH | Cython/Compiler/Nodes.py | 4618 | code.putln(f"if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[{i}])) {code.error_goto(self.pos)}") | CODE |
| HIGH | Cython/Compiler/Nodes.py | 5903 | code.putln("/* PY_VERSION_HEX >= 0x03090000 || Py_LIMITED_API >= 0x030B0000 */") | CODE |
| HIGH | Cython/Compiler/Nodes.py | 5962 | code.putln("if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) &&" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | runtests.py | 120 | def import_refnanny(): | CODE |
| LOW | runtests.py | 613 | except Exception: | CODE |
| LOW | runtests.py | 1552 | except Exception as exc: | CODE |
| LOW | runtests.py | 1651 | except Exception: | CODE |
| LOW | runtests.py | 1656 | except Exception: | CODE |
| LOW | runtests.py | 1716 | except Exception: | CODE |
| LOW | runtests.py | 1721 | except Exception: | CODE |
| LOW | runtests.py | 3346 | except Exception as exc: | CODE |
| LOW | runtests.py | 3411 | except Exception: | CODE |
| LOW | tests/run/pstats_profile_test_py.py | 152 | except Exception as exc: | STRING |
| MEDIUM | tests/run/pstats_profile_test_py.py | 145 | def trace_function(frame, event, arg): | CODE |
| MEDIUM | tests/run/test_except_star.py | 167 | def f(): | CODE |
| LOW⚡ | tests/run/test_except_star.py | 1076 | except Exception as e: | CODE |
| LOW | tests/run/test_except_star.py | 270 | except Exception: | CODE |
| LOW | tests/run/test_except_star.py | 1009 | except Exception as e: | CODE |
| LOW | tests/run/test_except_star.py | 1034 | except Exception as e: | CODE |
| LOW | tests/run/test_except_star.py | 1129 | except Exception as e: | CODE |
| LOW | tests/run/test_except_star.py | 1180 | except Exception as e: | CODE |
| LOW | tests/run/test_except_star.py | 1235 | except Exception as e: | CODE |
| MEDIUM | tests/run/test_grammar.py | 58 | def eval(code): | CODE |
| LOW | tests/run/test_grammar.py | 466 | except Exception as e: | CODE |
| LOW | tests/run/extra_walrus.py | 509 | except Exception: | CODE |
| LOW | tests/run/extra_walrus.py | 524 | except Exception: | CODE |
| LOW | tests/run/extra_walrus.py | 539 | except Exception: | CODE |
| LOW | tests/run/extra_walrus.py | 561 | except Exception: | CODE |
| LOW | tests/run/test_asyncgen.py | 259 | except Exception as ex: | STRING |
| LOW | tests/run/test_asyncgen.py | 280 | except Exception as ex: | STRING |
| LOW | tests/run/builtin_exceptions.py | 960 | except Exception as e: | CODE |
| LOW | Cython/TestUtils.py | 147 | except Exception as exc: | CODE |
| LOW | Cython/Distutils/old_build_ext.py | 32 | except Exception: | STRING |
| MEDIUM | Cython/Distutils/old_build_ext.py | 27 | def _check_stack(path): | CODE |
| LOW | Cython/Tempita/_tempita.py | 312 | except Exception as e: | CODE |
| LOW | Cython/Tempita/_tempita.py | 324 | except Exception as e: | CODE |
| LOW | Cython/Tempita/_tempita.py | 347 | except Exception as e: | CODE |
| LOW | Cython/Debugger/Cygdb.py | 99 | except Exception as ex: | CODE |
| MEDIUM | Cython/Debugger/libpython.py | 265 | def safe_tp_name(self): | CODE |
| MEDIUM | Cython/Debugger/libpython.py | 1344 | def safe_name(self): | CODE |
| LOW | Cython/Debugger/libpython.py | 934 | except Exception: | CODE |
| LOW | Cython/Debugger/libpython.py | 1954 | except Exception: | CODE |
| LOW | Cython/Debugger/Tests/test_libcython_in_gdb.py | 43 | except Exception: | CODE |
| LOW | Cython/Build/Dependencies.py | 16 | except Exception: | CODE |
| LOW | Cython/Build/Dependencies.py | 830 | except Exception: | CODE |
| LOW | Cython/Build/Dependencies.py | 1193 | except Exception: | CODE |
| LOW | Cython/Build/Dependencies.py | 1253 | except Exception: | STRING |
| LOW | Cython/Build/Dependencies.py | 1274 | except Exception: | STRING |
| LOW | Cython/Build/Tests/TestInline.py | 11 | except Exception: | CODE |
| MEDIUM | Cython/Compiler/Optimize.py | 4227 | def _find_special_codec_name(self, encoding): | CODE |
| LOW | Cython/Compiler/Optimize.py | 4510 | except Exception: | CODE |
| LOW | Cython/Compiler/Options.py | 617 | except Exception: | CODE |
| LOW | Cython/Compiler/Visitor.py | 179 | except Exception as e: | CODE |
| MEDIUM | Cython/Compiler/ExprNodes.py | 2191 | def compile_time_value(self, denv): | CODE |
| MEDIUM | Cython/Compiler/ExprNodes.py | 12747 | def matmul_operator(a, b): | CODE |
| LOW | Cython/Compiler/ExprNodes.py | 1243 | except Exception: | CODE |
| LOW | Cython/Compiler/ExprNodes.py | 4200 | except Exception as e: | CODE |
| LOW | Cython/Compiler/ExprNodes.py | 5710 | except Exception as e: | CODE |
| LOW | Cython/Compiler/ExprNodes.py | 6136 | except Exception as e: | CODE |
| LOW | Cython/Compiler/ExprNodes.py | 6202 | except Exception as e: | CODE |
| LOW | Cython/Compiler/ExprNodes.py | 6433 | except Exception as e: | CODE |
| LOW | Cython/Compiler/ExprNodes.py | 7503 | except Exception as e: | CODE |
| LOW | Cython/Compiler/ExprNodes.py | 7734 | except Exception as e: | CODE |
| 18 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | Tools/gen_tests_for_posix_pxds.py | 14 | "# This file is generated by `Tools/gen_tests_for_posix_pxds.py`.\n" | CODE |
| MEDIUM⚡ | Tools/dataclass_test_data/test_dataclasses.py | 1785 | # Create the class. | COMMENT |
| MEDIUM⚡ | Tools/dataclass_test_data/test_dataclasses.py | 1799 | # Create the class. | COMMENT |
| MEDIUM | Tools/dataclass_test_data/test_dataclasses.py | 937 | # Creating the class won't raise | COMMENT |
| MEDIUM | Tools/dataclass_test_data/test_dataclasses.py | 2518 | # Creating the class should cause an exception. | COMMENT |
| MEDIUM | Tools/dataclass_test_data/test_dataclasses.py | 3165 | # Create a descriptor. | COMMENT |
| MEDIUM | Tools/dataclass_test_data/test_dataclasses.py | 3192 | # Create a descriptor. | COMMENT |
| MEDIUM | Tools/dataclass_test_data/test_dataclasses.py | 3209 | # Create an attribute on the instance, not type. | COMMENT |
| MEDIUM | Tools/site_scons/site_tools/pyext.py | 216 | # Create the PythonObject builder | COMMENT |
| MEDIUM | Tools/site_scons/site_tools/pyext.py | 226 | # Create the PythonExtension builder | COMMENT |
| MEDIUM | Cython/Tests/xmlrunner.py | 57 | """This class is used to keep useful information about the execution of a | STRING |
| MEDIUM | Cython/Build/Dependencies.py | 854 | # Create the new extension | COMMENT |
| MEDIUM | Cython/Compiler/Code.py | 1690 | # Create a new globally-unique nice name for a C string constant. | STRING |
| MEDIUM | Cython/Compiler/Code.py | 2124 | # Create a downsized config struct and build code objects from it. | STRING |
| MEDIUM | Cython/Compiler/Code.py | 2985 | # Initialize these variables to silence compiler warnings | STRING |
| MEDIUM | Cython/Compiler/ParseTreeTransforms.py | 2654 | # Create a wrapper node if needed. | STRING |
| MEDIUM | Cython/Compiler/Pipeline.py | 378 | # Create a new wrapper for each step to show the name in profiles. | COMMENT |
| MEDIUM | Cython/Compiler/ExprNodes.py | 1021 | # This method is called during the analyse_expressions | COMMENT |
| MEDIUM | Cython/Compiler/ExprNodes.py | 6451 | # Create a call node for C property access. | COMMENT |
| MEDIUM | Cython/Compiler/ExprNodes.py | 8139 | # Create a temporary entry describing the unbound C method in `entry` | COMMENT |
| MEDIUM | Cython/Compiler/ExprNodes.py | 8196 | # Create a corresponding NameNode from this node and complete the | COMMENT |
| MEDIUM | Cython/Compiler/ExprNodes.py | 11123 | # Create a PyCodeObject for a CyFunction instance. | COMMENT |
| MEDIUM | Cython/Compiler/Nodes.py | 2160 | # Initialize the return variable __pyx_r | COMMENT |
| MEDIUM | Cython/Compiler/PyrexTypes.py | 5590 | # Create a reference type that we can use in the definitions of acquire and release | COMMENT |
| MEDIUM | docs/examples/userguide/memoryviews/not_none.py | 8 | # Creating a default view, e.g. | COMMENT |
| MEDIUM | .github/workflows/wheels.yml | 51 | # Create a matrix of all architectures & versions to build. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | runtests.py | 1044 | CODE | |
| LOW | tests/run/builtin_divmod.py | 54 | CODE | |
| LOW | tests/run/builtin_divmod.py | 86 | CODE | |
| LOW | tests/run/builtin_divmod.py | 130 | CODE | |
| LOW | tests/run/builtin_divmod.py | 174 | CODE | |
| LOW | tests/run/builtin_divmod.py | 233 | CODE | |
| LOW | tests/run/builtin_divmod.py | 256 | CODE | |
| LOW | tests/run/builtin_divmod.py | 283 | CODE | |
| LOW | tests/run/builtin_divmod.py | 376 | CODE | |
| LOW | tests/run/builtin_divmod.py | 420 | CODE | |
| LOW | tests/run/builtin_divmod.py | 464 | CODE | |
| LOW | tests/run/builtin_divmod.py | 508 | CODE | |
| LOW | tests/run/sys_monitoring.py | 703 | CODE | |
| LOW | Cython/Shadow.py | 234 | CODE | |
| LOW | Cython/Shadow.py | 591 | CODE | |
| LOW | Cython/Distutils/extension.py | 14 | CODE | |
| LOW | Cython/Tempita/_tempita.py | 100 | CODE | |
| LOW | Cython/Debugger/libpython.py | 757 | CODE | |
| LOW | Cython/Debugger/libpython.py | 1121 | CODE | |
| LOW | Cython/Debugger/libpython.py | 1230 | CODE | |
| LOW | Cython/Debugger/libpython.py | 2100 | CODE | |
| LOW | Cython/Build/Dependencies.py | 880 | CODE | |
| LOW | Cython/Build/Dependencies.py | 1220 | CODE | |
| LOW | Cython/Build/Inline.py | 148 | CODE | |
| LOW | Cython/Compiler/MatchCaseNodes.py | 1963 | CODE | |
| LOW | Cython/Compiler/Parsing.py | 2936 | CODE | |
| LOW | Cython/Compiler/Parsing.py | 2977 | CODE | |
| LOW | Cython/Compiler/Symtab.py | 920 | CODE | |
| LOW | Cython/Compiler/Symtab.py | 1751 | CODE | |
| LOW | Cython/Compiler/Symtab.py | 1800 | CODE | |
| LOW | Cython/Compiler/Symtab.py | 2279 | CODE | |
| LOW | Cython/Compiler/Symtab.py | 2654 | CODE | |
| LOW | Cython/Compiler/Symtab.py | 2761 | CODE | |
| LOW | Cython/Compiler/Symtab.py | 2902 | CODE | |
| LOW | Cython/Compiler/Dataclass.py | 191 | CODE | |
| LOW | Cython/Compiler/UtilityCode.py | 77 | CODE | |
| LOW | Cython/Compiler/Code.py | 566 | CODE | |
| LOW | Cython/Compiler/Code.py | 2550 | CODE | |
| LOW | Cython/Compiler/AutoDocTransforms.py | 56 | CODE | |
| LOW | Cython/Compiler/AutoDocTransforms.py | 62 | CODE | |
| LOW | Cython/Compiler/AutoDocTransforms.py | 146 | CODE | |
| LOW | Cython/Compiler/ExprNodes.py | 6859 | CODE | |
| LOW | Cython/Compiler/ExprNodes.py | 12536 | CODE | |
| LOW | Cython/Compiler/Builtin.py | 39 | CODE | |
| LOW | Cython/Compiler/Nodes.py | 3257 | CODE | |
| LOW | Cython/Compiler/PyrexTypes.py | 3658 | CODE | |
| LOW | pyximport/pyximport.py | 368 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/run/test_asyncgen.py | 532 | CODE | |
| MEDIUM | tests/run/test_asyncgen.py | 565 | CODE | |
| MEDIUM | tests/run/test_asyncgen.py | 743 | CODE | |
| MEDIUM | tests/run/test_asyncgen.py | 804 | CODE | |
| MEDIUM | tests/run/test_asyncgen.py | 1751 | CODE | |
| MEDIUM | tests/run/test_asyncgen.py | 1772 | CODE | |
| MEDIUM | tests/run/test_asyncgen.py | 1796 | CODE | |
| MEDIUM | Cython/Debugger/libpython.py | 2139 | CODE | |
| MEDIUM | Cython/Debugger/libpython.py | 2141 | CODE | |
| MEDIUM | Cython/Debugger/Tests/test_libcython_in_gdb.py | 451 | CODE | |
| MEDIUM | Cython/Debugger/Tests/test_libcython_in_gdb.py | 458 | CODE | |
| MEDIUM | Cython/Debugger/Tests/test_libcython_in_gdb.py | 459 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/run/test_grammar.py | 1948 | # This is not intended to be a comprehensive test, rather just to be few | STRING |
| LOW | Cython/Compiler/Symtab.py | 2347 | # the type definition, so we just return the right entry. | COMMENT |
| MEDIUM | Cython/Compiler/Naming.py | 6 | # Collected here to facilitate ensuring uniqueness. | COMMENT |
| LOW | Cython/Compiler/Dataclass.py | 721 | # __annotations__ dict, therefore it's safe to just return | STRING |
| MEDIUM | Cython/Compiler/ExprNodes.py | 7001 | # Essentially, if the signature matches PyObject_VectorcallMethod | COMMENT |
| MEDIUM | Cython/Compiler/ExprNodes.py | 7981 | # Essentially it does: | COMMENT |
| LOW | Cython/Compiler/ExprNodes.py | 7911 | # simple case, just add all entries | COMMENT |
| MEDIUM | Cython/Compiler/PyrexTypes.py | 55 | # This is not entirely robust. | COMMENT |
| MEDIUM⚡ | Cython/Compiler/Tests/TestParseTreeTransforms.py | 202 | # TODO: Re-enable once they're more robust. | STRING |
| MEDIUM | Cython/Utility/Exceptions.c | 965 | // DW - this is a horrendous hack, but I'm quite proud of it. Essentially | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Cython/StringIOTree.py | 127 | # Print the result of allmarkers in a nice human-readable form. Use it only for debugging. | STRING |
| LOW | Cython/Tests/xmlrunner.py | 368 | # Print results | COMMENT |
| LOW | Cython/Debugger/Cygdb.py | 131 | # Check if the Python executable provides a symbol table. | COMMENT |
| LOW | Cython/Debugger/Tests/test_libcython_in_gdb.py | 537 | # Check if the Python executable provides a symbol table. | STRING |
| LOW | Cython/Compiler/ExprNodes.py | 5179 | # Assign indices to temps of at least (s)size_t to allow further index calculations. | COMMENT |
| LOW | docs/conf.py | 61 | # Set both to enable "Edit page source" | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | Cython/Compiler/ParseTreeTransforms.py | 1852 | name_node.entry = self.gen_node.def_node.gbody.local_scope.lookup(name_node.name) | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Cython/Tempita/_looper.py | 21 | __all__ = ['looper'] | CODE |
| LOW | Cython/Tempita/_tempita.py | 42 | __all__ = ['TemplateError', 'Template', 'sub', 'bunch'] | CODE |
| LOW | Cython/Debugger/Cygdb.py | 23 | logger = logging.getLogger(__name__) | CODE |
| LOW | Cython/Build/__init__.py | 3 | __all__ = ["cythonize"] | CODE |
| LOW | Cython/Compiler/PyrexTypes.py | 5391 | def set_python_type_constructor_name(self, name: str) -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | Tools/dataclass_test_data/test_dataclasses.py | 2114 | self.assertEqual(C.__doc__, "Lorem ipsum") | CODE |
| LOW⚡ | Tools/dataclass_test_data/test_dataclasses.py | 2111 | """Lorem ipsum""" | STRING |
| LOW⚡ | tests/run/extra_patma_py.py | 368 | AttributeError: ...'Namespace'... has no attribute 'fake_name' | CODE |
| LOW⚡ | tests/run/extra_patma_py.py | 371 | case Namespace.fake_name | _: | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Cython/Utility/TypeConversion.c | 513 | // NOTE: This function decrefs 'number' if a conversion happens to replace the original object. | COMMENT |
| LOW | Cython/Utility/TypeConversion.c | 568 | // NOTE: This function decrefs 'number' if a conversion happens to replace the original object. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | Cython/Build/IpythonMagic.py | 121 | in the user's namespace, here is a simple example that returns | STRING |
| LOW | Cython/Compiler/Code.py | 399 | # Don't forget to add the last utility code | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Cython/Compiler/Parsing.py | 610 | # TODO: implement a faster way to join tuples than creating each one and adding them | COMMENT |
| LOW | Cython/Compiler/ExprNodes.py | 14675 | # TODO: implement this for other types. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Cython/Compiler/Optimize.py | 3181 | # The purpose of this function is to handle calls to instance.__class__() so that | COMMENT |