The most widely used Python to C compiler
This report presents the forensic synthetic code analysis of cython/cython, a Cython project with 10,794 GitHub stars. SynthScan v2.0 examined 191,747 lines of code across 633 source files, recording 2330 pattern matches distributed across 19 syntactic categories. The overall adjusted score of 11.2 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 2330 distinct pattern matches across 19 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| 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 | 486 | 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 |
| 1079 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.py | 228 | CODE | |
| LOW | runtests.py | 165 | CODE | |
| LOW | runtests.py | 312 | CODE | |
| LOW | runtests.py | 536 | CODE | |
| LOW | runtests.py | 993 | CODE | |
| LOW | runtests.py | 2037 | CODE | |
| LOW | runtests.py | 2076 | CODE | |
| LOW | runtests.py | 2421 | CODE | |
| LOW | runtests.py | 2481 | CODE | |
| LOW | runtests.py | 2950 | CODE | |
| LOW | runtests.py | 2993 | CODE | |
| LOW | runtests.py | 313 | CODE | |
| LOW | runtests.py | 815 | CODE | |
| LOW | runtests.py | 1103 | CODE | |
| LOW | runtests.py | 1135 | CODE | |
| LOW | runtests.py | 1268 | CODE | |
| LOW | runtests.py | 1357 | CODE | |
| LOW | runtests.py | 1472 | CODE | |
| LOW | runtests.py | 1753 | CODE | |
| LOW | runtests.py | 2169 | 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/Utils.py | 264 | CODE | |
| LOW | Cython/Utils.py | 415 | CODE | |
| LOW | Cython/Utils.py | 585 | CODE | |
| LOW | Cython/Shadow.py | 460 | CODE | |
| LOW | Cython/Distutils/old_build_ext.py | 194 | CODE | |
| LOW | Cython/Tests/TestShadow.py | 10 | CODE | |
| LOW | Cython/Tests/TestShadow.py | 57 | CODE | |
| LOW | Cython/Tempita/_tempita.py | 614 | CODE | |
| 404 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 | 797 | # ------------------------------------------------------------------------ | STRING |
| MEDIUM | Cython/Compiler/Options.py | 801 | # ------------------------------------------------------------------------ | STRING |
| MEDIUM | Cython/Compiler/ModuleNode.py | 4528 | #------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | Cython/Compiler/ModuleNode.py | 4532 | #------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | Cython/Compiler/TypeSlots.py | 890 | #------------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | Cython/Compiler/TypeSlots.py | 894 | #------------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | Cython/Compiler/TypeSlots.py | 955 | #------------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | Cython/Compiler/TypeSlots.py | 959 | #------------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | Cython/Compiler/TypeSlots.py | 964 | #------------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | Cython/Compiler/TypeSlots.py | 968 | #------------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | Cython/Compiler/TypeSlots.py | 973 | #------------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | Cython/Compiler/TypeSlots.py | 978 | #------------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | Cython/Compiler/TypeSlots.py | 1054 | #------------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | Cython/Compiler/TypeSlots.py | 1058 | #------------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | Cython/Compiler/TypeSlots.py | 1066 | #------------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | Cython/Compiler/TypeSlots.py | 1076 | #------------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | Cython/Compiler/TypeSlots.py | 1249 | #------------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | Cython/Compiler/TypeSlots.py | 1255 | #------------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | Cython/Compiler/TypeSlots.py | 1273 | #------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | Cython/Compiler/TypeSlots.py | 1278 | #------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cython/Compiler/Parsing.py | 85 | #------------------------------------------ | COMMENT |
| MEDIUM | Cython/Compiler/Parsing.py | 89 | #------------------------------------------ | COMMENT |
| MEDIUM | Cython/Compiler/Parsing.py | 1666 | #------------------------------------------------------- | COMMENT |
| MEDIUM | Cython/Compiler/Parsing.py | 1670 | #------------------------------------------------------- | COMMENT |
| MEDIUM | Cython/Compiler/Parsing.py | 4758 | #---------------------------------------------- | COMMENT |
| MEDIUM | Cython/Compiler/Parsing.py | 4762 | #---------------------------------------------- | COMMENT |
| MEDIUM⚡ | Cython/Compiler/ExprNodes.py | 1334 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | Cython/Compiler/ExprNodes.py | 1338 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | Cython/Compiler/ExprNodes.py | 8495 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | Cython/Compiler/ExprNodes.py | 8499 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cython/Compiler/ExprNodes.py | 2064 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cython/Compiler/ExprNodes.py | 2068 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cython/Compiler/ExprNodes.py | 2913 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cython/Compiler/ExprNodes.py | 2917 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cython/Compiler/ExprNodes.py | 3789 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cython/Compiler/ExprNodes.py | 3793 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cython/Compiler/ExprNodes.py | 4052 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cython/Compiler/ExprNodes.py | 4056 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cython/Compiler/ExprNodes.py | 4110 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cython/Compiler/ExprNodes.py | 4114 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cython/Compiler/ExprNodes.py | 11416 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cython/Compiler/ExprNodes.py | 11420 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cython/Compiler/ExprNodes.py | 12426 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cython/Compiler/ExprNodes.py | 12430 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cython/Compiler/ExprNodes.py | 14725 | #------------------------------------------------------------------- | COMMENT |
| MEDIUM | Cython/Compiler/ExprNodes.py | 14734 | #------------------------------------------------------------------- | 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 | setup.cfg | 41 | # Disabled - see https://github.com/pypa/setuptools/issues/4759 | COMMENT |
| LOW | runtests.py | 2001 | #'W3', | 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/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 | return self._optimise_for_loop(node, arg, reversed=True) | 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 | # directives passed on to the C compiler do not influence the generated C code | COMMENT |
| LOW | Cython/Compiler/ModuleNode.py | 2121 | # This is an externally defined type. Calling through the | 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 '{"__dictoffset__", T_PYSSIZET, %s, READONLY, NULL},' % dict_offset | COMMENT |
| LOW | Cython/Compiler/TypeSlots.py | 961 | pyfunction_signature = Signature("-*", "O") | COMMENT |
| LOW | Cython/Compiler/TypeSlots.py | 1061 | '__get__': Signature("T", "O"), | 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 | # c_includes {key: IncludeCode} C headers or verbatim code to be generated | COMMENT |
| LOW | Cython/Compiler/Symtab.py | 1941 | #print "...allocating other vtable related cnames" ### | COMMENT |
| LOW | Cython/Compiler/Symtab.py | 1981 | #print "ModuleScope.check_c_classes: allocating vtable cname for", self ### | 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 | COMMENT | |
| LOW | Cython/Compiler/ExprNodes.py | 361 | # into two sub-phases: | COMMENT |
| LOW | Cython/Compiler/ExprNodes.py | 381 | # Framework code in ExprNode provides much of the common | COMMENT |
| LOW | Cython/Compiler/ExprNodes.py | 401 | # - Call analyse_types on all sub-expressions. | COMMENT |
| LOW | Cython/Compiler/ExprNodes.py | 421 | # otherwise call not_const. | COMMENT |
| LOW | Cython/Compiler/ExprNodes.py | 441 | # - If result is temporary, call generate_disposal_code | COMMENT |
| LOW | Cython/Compiler/ExprNodes.py | 461 | # - If the assignment absorbed a reference, call | COMMENT |
| LOW | Cython/Compiler/ExprNodes.py | 601 | # value, a constant C name or a constant C expression. If the | COMMENT |
| LOW | Cython/Compiler/ExprNodes.py | 1001 | code.put_xgiveref(self.result(), self.ctype()) | COMMENT |
| LOW | Cython/Compiler/ExprNodes.py | 2721 | # This might raise an exception in which case the assignment (done | COMMENT |
| LOW | Cython/Compiler/ExprNodes.py | 2921 | # Implements result = | COMMENT |
| LOW | Cython/Compiler/ExprNodes.py | 6921 | class PyMethodCallNode(CallNode): | COMMENT |
| LOW | Cython/Compiler/ExprNodes.py | 7281 | # if some args are temps and others are not, they may get | COMMENT |
| 203 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/for_in_iter.py | 4 | 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 | |
| 111 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | runtests.py | 667 | 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 | 2416 | code.putln("Py_ssize_t x = __Pyx_PyIndex_AsSsize_t(i); if (unlikely(x == -1 && PyErr_Occurred())) return | CODE |
| HIGH | Cython/Compiler/ModuleNode.py | 2485 | code.putln("Py_ssize_t x = __Pyx_PyIndex_AsSsize_t(i); if (unlikely(x == -1 && PyErr_Occurred())) return | CODE |
| HIGH | Cython/Compiler/ModuleNode.py | 2496 | code.putln("Py_ssize_t x = __Pyx_PyIndex_AsSsize_t(i); if (unlikely(x == -1 && PyErr_Occurred())) return | CODE |
| HIGH | Cython/Compiler/ModuleNode.py | 2592 | code.putln("if (likely(ret && ret != Py_NotImplemented)) {") | CODE |
| HIGH | Cython/Compiler/ModuleNode.py | 2617 | code.putln("if (likely(ret && ret != Py_NotImplemented)) {") | CODE |
| HIGH | Cython/Compiler/ModuleNode.py | 2647 | code.putln("if (likely(ret && ret != Py_NotImplemented)) {") | CODE |
| HIGH | Cython/Compiler/ModuleNode.py | 2773 | "if (!v && PyErr_ExceptionMatches(PyExc_AttributeError)) {") | CODE |
| HIGH⚡ | Cython/Compiler/TypeSlots.py | 1239 | ifdef="(!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800) && " | CODE |
| HIGH⚡ | Cython/Compiler/TypeSlots.py | 1240 | "(!CYTHON_COMPILING_IN_LIMITED_API || __PYX_LIMITED_VERSION_HEX >= 0x030E0000)", | CODE |
| HIGH⚡ | Cython/Compiler/TypeSlots.py | 1246 | EmptySlot("tp_pypy_flags", ifdef="CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX < 0x030a0000"), | CODE |
| HIGH | Cython/Compiler/ExprNodes.py | 7318 | f"{Naming.quick_temp_cname} == NULL && PyErr_Occurred()", | CODE |
| HIGH | Cython/Compiler/ExprNodes.py | 11319 | " exc_type != PyExc_StopIteration && exc_type != PyExc_GeneratorExit &&" | CODE |
| HIGH | Cython/Compiler/Nodes.py | 4438 | code.putln(f"if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[{i}])) {goto_error}") | CODE |
| HIGH | Cython/Compiler/Nodes.py | 4453 | code.putln(f"if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[{i}])) {goto_error}") | CODE |
| HIGH | Cython/Compiler/Nodes.py | 4604 | code.putln(f"if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[{i}])) {code.error_goto(self.pos)}") | CODE |
| HIGH | Cython/Compiler/Nodes.py | 4610 | code.putln(f"if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[{i}])) {code.error_goto(self.pos)}") | CODE |
| HIGH | Cython/Compiler/Nodes.py | 5889 | code.putln("/* PY_VERSION_HEX >= 0x03090000 || Py_LIMITED_API >= 0x030B0000 */") | CODE |
| HIGH | Cython/Compiler/Nodes.py | 5948 | code.putln("if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) &&" | CODE |
| 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 | 853 | # Create the new extension | COMMENT |
| MEDIUM | Cython/Compiler/Code.py | 1688 | # Create a new globally-unique nice name for a C string constant. | STRING |
| MEDIUM | Cython/Compiler/Code.py | 2127 | # Create a downsized config struct and build code objects from it. | STRING |
| MEDIUM | Cython/Compiler/Code.py | 2956 | # Initialize these variables to silence compiler warnings | STRING |
| MEDIUM | Cython/Compiler/ParseTreeTransforms.py | 2615 | # 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 | 1017 | # This method is called during the analyse_expressions | COMMENT |
| MEDIUM | Cython/Compiler/ExprNodes.py | 6415 | # Create a call node for C property access. | COMMENT |
| MEDIUM | Cython/Compiler/ExprNodes.py | 6425 | # Create a call node for C property access. | COMMENT |
| MEDIUM | Cython/Compiler/ExprNodes.py | 8073 | # Create a temporary entry describing the unbound C method in `entry` | COMMENT |
| MEDIUM | Cython/Compiler/ExprNodes.py | 8130 | # Create a corresponding NameNode from this node and complete the | COMMENT |
| MEDIUM | Cython/Compiler/ExprNodes.py | 10822 | # 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 | 5523 | # 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 |
|---|---|---|---|---|
| MEDIUM | runtests.py | 120 | def import_refnanny(): | CODE |
| LOW | runtests.py | 610 | except Exception: | CODE |
| LOW | runtests.py | 1547 | except Exception as exc: | CODE |
| LOW | runtests.py | 1646 | except Exception: | CODE |
| LOW | runtests.py | 1651 | except Exception: | CODE |
| LOW | runtests.py | 1711 | except Exception: | CODE |
| LOW | runtests.py | 1716 | except Exception: | CODE |
| LOW | runtests.py | 3292 | except Exception as exc: | CODE |
| LOW | runtests.py | 3357 | 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_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 | 63 | except Exception as ex: | CODE |
| LOW | Cython/Debugger/libpython.py | 934 | except Exception: | CODE |
| LOW | Cython/Debugger/libpython.py | 1954 | except Exception: | 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/Tests/test_libcython_in_gdb.py | 43 | except Exception: | CODE |
| LOW | Cython/Build/Dependencies.py | 829 | except Exception: | CODE |
| LOW | Cython/Build/Dependencies.py | 1249 | except Exception: | STRING |
| LOW | Cython/Build/Dependencies.py | 1270 | except Exception: | STRING |
| MEDIUM | Cython/Compiler/Optimize.py | 4220 | def _find_special_codec_name(self, encoding): | CODE |
| LOW | Cython/Compiler/Optimize.py | 4503 | 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 | 2175 | def compile_time_value(self, denv): | CODE |
| MEDIUM | Cython/Compiler/ExprNodes.py | 12435 | def matmul_operator(a, b): | CODE |
| LOW | Cython/Compiler/ExprNodes.py | 1234 | except Exception: | CODE |
| LOW | Cython/Compiler/ExprNodes.py | 4170 | except Exception as e: | CODE |
| LOW | Cython/Compiler/ExprNodes.py | 5681 | except Exception as e: | CODE |
| LOW | Cython/Compiler/ExprNodes.py | 6107 | except Exception as e: | CODE |
| LOW | Cython/Compiler/ExprNodes.py | 6173 | except Exception as e: | CODE |
| LOW | Cython/Compiler/ExprNodes.py | 6397 | except Exception as e: | CODE |
| LOW | Cython/Compiler/ExprNodes.py | 7438 | except Exception as e: | CODE |
| LOW | Cython/Compiler/ExprNodes.py | 7668 | except Exception as e: | CODE |
| LOW | Cython/Compiler/ExprNodes.py | 7738 | except Exception as e: | CODE |
| LOW | Cython/Compiler/ExprNodes.py | 7958 | except Exception as e: | CODE |
| LOW | Cython/Compiler/ExprNodes.py | 9238 | except Exception as e: | CODE |
| LOW | Cython/Compiler/ExprNodes.py | 9756 | except Exception as e: | CODE |
| LOW | Cython/Compiler/ExprNodes.py | 9907 | except Exception as e: | CODE |
| LOW | Cython/Compiler/ExprNodes.py | 9958 | except Exception as e: | CODE |
| LOW | Cython/Compiler/ExprNodes.py | 11458 | except Exception as e: | CODE |
| LOW | Cython/Compiler/ExprNodes.py | 11601 | except Exception as e: | CODE |
| LOW | Cython/Compiler/ExprNodes.py | 12505 | except Exception as e: | CODE |
| LOW | Cython/Compiler/ExprNodes.py | 13124 | except Exception as e: | CODE |
| LOW | Cython/Compiler/ExprNodes.py | 13977 | except Exception as e: | CODE |
| 7 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | runtests.py | 1041 | 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 | 593 | 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 | 879 | CODE | |
| LOW | Cython/Build/Dependencies.py | 1216 | CODE | |
| LOW | Cython/Build/Inline.py | 148 | CODE | |
| LOW | Cython/Compiler/MatchCaseNodes.py | 1963 | CODE | |
| LOW | Cython/Compiler/Parsing.py | 2919 | CODE | |
| LOW | Cython/Compiler/Parsing.py | 2960 | CODE | |
| LOW | Cython/Compiler/Symtab.py | 920 | CODE | |
| LOW | Cython/Compiler/Symtab.py | 1749 | CODE | |
| LOW | Cython/Compiler/Symtab.py | 1798 | CODE | |
| LOW | Cython/Compiler/Symtab.py | 2277 | 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 | 2524 | 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 | 6746 | CODE | |
| LOW | Cython/Compiler/ExprNodes.py | 12224 | CODE | |
| LOW | Cython/Compiler/Builtin.py | 39 | CODE | |
| LOW | Cython/Compiler/Nodes.py | 3249 | CODE | |
| LOW | Cython/Compiler/PyrexTypes.py | 3611 | 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 | 1951 | # This is not intended to be a comprehensive test, rather just to be few | STRING |
| LOW | Cython/Compiler/Symtab.py | 2345 | # 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 | 6949 | # Essentially, if the signature matches PyObject_VectorcallMethod | COMMENT |
| MEDIUM | Cython/Compiler/ExprNodes.py | 7915 | # Essentially it does: | COMMENT |
| LOW | Cython/Compiler/ExprNodes.py | 7845 | # 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 | 885 | // 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 | 94 | # 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 | 5150 | # 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 | 1813 | 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 | 5340 | 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 | 349 | AttributeError: ...'Namespace'... has no attribute 'fake_name' | CODE |
| LOW⚡ | tests/run/extra_patma_py.py | 352 | case Namespace.fake_name | _: | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Cython/Utility/TypeConversion.c | 509 | // NOTE: This function decrefs 'number' if a conversion happens to replace the original object. | COMMENT |
| LOW | Cython/Utility/TypeConversion.c | 558 | // 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 | 14346 | # TODO: implement this for other types. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Cython/Compiler/Optimize.py | 3174 | # The purpose of this function is to handle calls to instance.__class__() so that | COMMENT |