AI Slop Code RIsk Monitor

cython/cython

The most widely used Python to C compiler

15.3 Elevated pattern signal View on GitHub

Maintenance and Governance Review

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.

15.3
Adjusted Signal
15.3
Raw Pattern Score
100%
Time Factor
2026-10-08
Last Push
10.9K
Stars
Cython
Language
195.2K
Lines of Code
637
Files
2.6K
Pattern Hits
2026-10-12
Scan Date
0.29
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 32.1/100 · MEDIUM

Can maintainers explain intent, assumptions, and trade-offs? 2048 finding(s).

Hallucinated Dependency & Supply Chain Risk 7.1/100 · LOW

Are imports declared and package/API names verified? 198 finding(s).

Agent Over-Engineering Ratio 41.2/100 · MEDIUM

Are wrappers, guards, and repeated structures necessary? 1600 finding(s).

PR Review Velocity Impact 62.4/100 · HIGH

Which changes need focused human review? 2588 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 1HIGH 186MEDIUM 144LOW 2257

Directory Score Breakdown

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.

Pattern Findings

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.

Hyper-Verbose Identifiers1211 hits · 846 pts
SeverityFileLineSnippetContext
LOWruntests.py156def unpatch_inspect_isfunction():CODE
LOWruntests.py265def update_linetrace_extension(ext):CODE
LOWruntests.py312def update_language_extension(language, std, min_gcc_version=None, min_clang_version=None, min_macos_version=None):CODE
LOWruntests.py313 def _update_language_extension(ext):CODE
LOWruntests.py428def get_openmp_compiler_flags(language):CODE
LOWruntests.py487def iterate_matcher_fixer_dict(matchers_and_fixers):CODE
LOW⚡Tools/cython-generate-lexicon.py74def get_start_characters_as_number():STRING
LOW⚡Tools/cython-generate-lexicon.py78def get_continue_characters_as_number():STRING
LOW⚡Tools/cython-generate-lexicon.py82def get_continue_not_start_as_number():STRING
LOW⚡Tools/dataclass_test_data/test_dataclasses.py35 def test_no_fields_but_member_variable(self):CODE
LOW⚡Tools/dataclass_test_data/test_dataclasses.py43 def test_one_field_no_default(self):CODE
LOW⚡Tools/dataclass_test_data/test_dataclasses.py51 def test_field_default_default_factory_error(self):CODE
LOW⚡Tools/dataclass_test_data/test_dataclasses.py1781 def test_dynamic_class_creation(self):CODE
LOW⚡Tools/dataclass_test_data/test_dataclasses.py1794 def test_dynamic_class_creation_using_field(self):CODE
LOW⚡Tools/dataclass_test_data/test_dataclasses.py2108 def test_existing_docstring_not_overridden(self):CODE
LOW⚡Tools/dataclass_test_data/test_dataclasses.py2130 def test_docstring_two_fields(self):CODE
LOW⚡Tools/dataclass_test_data/test_dataclasses.py2138 def test_docstring_three_fields(self):CODE
LOW⚡Tools/dataclass_test_data/test_dataclasses.py2147 def test_docstring_one_field_with_default(self):CODE
LOW⚡Tools/dataclass_test_data/test_dataclasses.py2154 def test_docstring_one_field_with_default_none(self):CODE
LOW⚡Tools/dataclass_test_data/test_dataclasses.py2161 def test_docstring_list_field(self):CODE
LOW⚡Tools/dataclass_test_data/test_dataclasses.py2168 def test_docstring_list_field_with_default_factory(self):CODE
LOW⚡Tools/dataclass_test_data/test_dataclasses.py2175 def test_docstring_deque_field(self):CODE
LOW⚡Tools/dataclass_test_data/test_dataclasses.py2182 def test_docstring_deque_field_with_default_factory(self):CODE
LOW⚡Tools/dataclass_test_data/test_dataclasses.py3638 def test_non_identifier_field_names(self):CODE
LOW⚡Tools/dataclass_test_data/test_dataclasses.py3648 def test_underscore_field_names(self):CODE
LOW⚡Tools/dataclass_test_data/test_dataclasses.py3653 def test_funny_class_names_names(self):CODE
LOWTools/dataclass_test_data/test_dataclasses.py79 def test_two_fields_one_default(self):CODE
LOWTools/dataclass_test_data/test_dataclasses.py176 def test_overwrite_fields_in_derived_class(self):CODE
LOWTools/dataclass_test_data/test_dataclasses.py227 def test_field_named_object_frozen(self):CODE
LOWTools/dataclass_test_data/test_dataclasses.py234 def test_field_named_like_builtin(self):CODE
LOWTools/dataclass_test_data/test_dataclasses.py251 def test_field_named_like_builtin_frozen(self):CODE
LOWTools/dataclass_test_data/test_dataclasses.py505 def test_no_unhashable_default(self):CODE
LOWTools/dataclass_test_data/test_dataclasses.py557 def test_init_false_no_default(self):CODE
LOWTools/dataclass_test_data/test_dataclasses.py661 def test_disallowed_mutable_defaults(self):CODE
LOWTools/dataclass_test_data/test_dataclasses.py706 def test_deliberately_mutable_defaults(self):CODE
LOWTools/dataclass_test_data/test_dataclasses.py781 def test_function_annotations(self):CODE
LOWTools/dataclass_test_data/test_dataclasses.py872 def test_missing_default_factory(self):CODE
LOWTools/dataclass_test_data/test_dataclasses.py897 def test_dont_include_other_annotations(self):CODE
LOWTools/dataclass_test_data/test_dataclasses.py989 def test_post_init_staticmethod(self):CODE
LOWTools/dataclass_test_data/test_dataclasses.py1005 def test_post_init_classmethod(self):CODE
LOWTools/dataclass_test_data/test_dataclasses.py1020 def test_post_init_not_auto_added(self):CODE
LOWTools/dataclass_test_data/test_dataclasses.py1107 def test_class_var_no_default(self):CODE
LOWTools/dataclass_test_data/test_dataclasses.py1115 def test_class_var_default_factory(self):CODE
LOWTools/dataclass_test_data/test_dataclasses.py1126 def test_class_var_with_default(self):CODE
LOWTools/dataclass_test_data/test_dataclasses.py1173 def test_init_var_default_factory(self):CODE
LOWTools/dataclass_test_data/test_dataclasses.py1184 def test_init_var_with_default(self):CODE
LOWTools/dataclass_test_data/test_dataclasses.py1209 def test_init_var_preserve_type(self):CODE
LOWTools/dataclass_test_data/test_dataclasses.py1221 def test_init_var_inheritance(self):CODE
LOWTools/dataclass_test_data/test_dataclasses.py1304 def test_default_factory_with_no_init(self):CODE
LOWTools/dataclass_test_data/test_dataclasses.py1318 def test_default_factory_not_called_if_value_given(self):CODE
LOWTools/dataclass_test_data/test_dataclasses.py1335 def test_default_factory_derived(self):CODE
LOWTools/dataclass_test_data/test_dataclasses.py1354 def test_intermediate_non_dataclass(self):CODE
LOWTools/dataclass_test_data/test_dataclasses.py1383 def test_classvar_default_factory(self):CODE
LOWTools/dataclass_test_data/test_dataclasses.py1418 def test_is_dataclass_when_getattr_always_returns(self):CODE
LOWTools/dataclass_test_data/test_dataclasses.py1444 def test_is_dataclass_genericalias(self):CODE
LOWTools/dataclass_test_data/test_dataclasses.py1455 def test_helper_fields_with_class_instance(self):CODE
LOWTools/dataclass_test_data/test_dataclasses.py1465 def test_helper_fields_exception(self):CODE
LOWTools/dataclass_test_data/test_dataclasses.py1492 def test_helper_asdict_raises_on_classes(self):CODE
LOWTools/dataclass_test_data/test_dataclasses.py1503 def test_helper_asdict_copy_values(self):CODE
LOWTools/dataclass_test_data/test_dataclasses.py1518 def test_helper_asdict_nested(self):CODE
1151 more matches not shown…
Empty Error Handlers163 hits · 810 pts
SeverityFileLineSnippetContext
HIGHruntests.py71except ImportError:CODE
HIGHruntests.py455except locale.Error:CODE
HIGHruntests.py125except ImportError:CODE
HIGHruntests.py160except AttributeError:CODE
HIGHruntests.py3039except (AttributeError, TypeError):CODE
HIGHruntests.py3053except ImportError:CODE
HIGHruntests.py3320except AttributeError:CODE
HIGHruntests.py3327except ImportError:CODE
HIGHruntests.py106except ValueError:CODE
HIGHruntests.py113except ValueError:CODE
HIGHruntests.py596except ImportError:CODE
HIGHruntests.py613except Exception:CODE
HIGHruntests.py1147except ValueError:CODE
HIGHruntests.py1151except KeyError:CODE
HIGHruntests.py1656except Exception:CODE
HIGHruntests.py1721except Exception:CODE
HIGHruntests.py2305except:CODE
HIGHruntests.py90except OSError:CODE
HIGHruntests.py1727except ImportError:CODE
HIGHruntests.py1194except IOError:CODE
HIGHruntests.py2122except ValueError: # no testsCODE
HIGHTools/cython-generate-shadow-py.py74except TypeError:CODE
HIGHtests/memoryview/memoryview_annotation_typing.py10except ImportError:CODE
HIGHtests/errors/e_typing_optional.py7except ImportError:CODE
HIGHtests/run/pstats_profile_test_py.py292except ValueError:CODE
HIGHtests/run/pstats_profile_test_py.py203except RuntimeError:CODE
HIGHtests/run/set_literals.py70except TypeError: passCODE
HIGHtests/run/set_literals.py95except TypeError: passCODE
HIGHtests/run/test_except_star.py457except* BlockingIOError:CODE
HIGHtests/run/test_except_star.py68except* ExceptionGroup as e:CODE
HIGHtests/run/test_except_star.py75except* (TypeError, ExceptionGroup):CODE
HIGHtests/run/test_except_star.py82except* 42:CODE
HIGHtests/run/test_except_star.py88except* (ValueError, 42):CODE
HIGHtests/run/test_except_star.py482except* BlockingIOError:CODE
HIGHtests/run/test_except_star.py530except* ValueError as e:CODE
HIGHtests/run/test_except_star.py546except* ValueError:CODE
HIGHtests/run/test_except_star.py561except* ValueError as e:CODE
HIGHtests/run/test_except_star.py577except* ValueError:CODE
HIGHtests/run/test_except_star.py468except* ValueError:CODE
HIGHtests/run/test_except_star.py1031except* Exception:CODE
HIGHtests/run/test_except_star.py1125except* TypeError:CODE
HIGHtests/run/test_except_star.py1231except* ValueError:CODE
HIGHtests/run/withstat_py27.py134except:CODE
HIGHtests/run/withstat_py27.py143except RuntimeError:CODE
HIGHtests/run/test_grammar.py709except TypeError:CODE
HIGHtests/run/test_grammar.py1283except RuntimeError: passCODE
HIGHtests/run/test_grammar.py1285except KeyboardInterrupt: passCODE
HIGHtests/run/test_grammar.py1423except ZeroDivisionError:CODE
HIGHtests/run/test_grammar.py1428except EOFError: passCODE
HIGHtests/run/test_grammar.py1429except TypeError as msg: passCODE
HIGHtests/run/test_grammar.py1430except: passCODE
HIGHtests/run/test_grammar.py1433except (EOFError, TypeError, ZeroDivisionError): passCODE
HIGHtests/run/test_grammar.py1435except (EOFError, TypeError, ZeroDivisionError) as msg: passCODE
HIGHtests/run/test_grammar.py1794except StopIteration:CODE
HIGHtests/run/test_grammar.py1802except TypeError:CODE
HIGHtests/run/generators_py.py145except ValueError:CODE
HIGHtests/run/sys_monitoring.py552except ValueError:CODE
HIGHtests/run/sys_monitoring.py646except ValueError:CODE
HIGHtests/run/sys_monitoring.py506except RuntimeError:CODE
HIGHtests/run/sys_monitoring.py510except RuntimeError:CODE
103 more matches not shown…
Deep Nesting467 hits · 316 pts
SeverityFileLineSnippetContext
LOWsetup.py247CODE
LOWruntests.py165CODE
LOWruntests.py312CODE
LOWruntests.py539CODE
LOWruntests.py996CODE
LOWruntests.py2042CODE
LOWruntests.py2081CODE
LOWruntests.py2474CODE
LOWruntests.py2534CODE
LOWruntests.py3003CODE
LOWruntests.py3046CODE
LOWruntests.py313CODE
LOWruntests.py818CODE
LOWruntests.py1106CODE
LOWruntests.py1138CODE
LOWruntests.py1271CODE
LOWruntests.py1360CODE
LOWruntests.py1475CODE
LOWruntests.py1758CODE
LOWruntests.py2174CODE
LOWTools/jedityper.py25CODE
LOWTools/jedityper.py71CODE
LOWTools/download_release.py64CODE
LOWTools/cevaltrace.py32CODE
LOWTools/cevaltrace.py86CODE
LOWTools/cython-generate-shadow-py.py20CODE
LOWTools/dataclass_test_data/test_dataclasses.py269CODE
LOWTools/dataclass_test_data/test_dataclasses.py297CODE
LOWTools/dataclass_test_data/test_dataclasses.py330CODE
LOWTools/dataclass_test_data/test_dataclasses.py409CODE
LOWTools/dataclass_test_data/test_dataclasses.py531CODE
LOWTools/dataclass_test_data/test_dataclasses.py2478CODE
LOWTools/dataclass_test_data/test_dataclasses.py2615CODE
LOWTools/dataclass_test_data/test_dataclasses.py3444CODE
LOWTools/dataclass_test_data/test_dataclasses.py2487CODE
LOWtests/run/carray_iteration.py8492CODE
LOWtests/run/carray_iteration.py8542CODE
LOWtests/run/carray_iteration.py8605CODE
LOWtests/run/pstats_profile_test_py.py171CODE
LOWtests/run/test_named_expressions.py34CODE
LOWtests/run/test_grammar.py220CODE
LOWtests/run/test_grammar.py901CODE
LOWtests/run/test_grammar.py1158CODE
LOWtests/run/test_grammar.py1362CODE
LOWtests/run/test_grammar.py1160CODE
LOWtests/run/test_grammar.py1174CODE
LOWtests/run/test_asyncgen.py250CODE
LOWtests/run/test_asyncgen.py263CODE
LOWCython/TestUtils.py336CODE
LOWCython/Coverage.py195CODE
LOWCython/Coverage.py288CODE
LOWCython/LZSS.py16CODE
LOWCython/LZSS.py37CODE
LOWCython/Utils.py257CODE
LOWCython/Utils.py417CODE
LOWCython/Utils.py587CODE
LOWCython/Shadow.py458CODE
LOWCython/Distutils/old_build_ext.py194CODE
LOWCython/Tests/TestShadow.py10CODE
LOWCython/Tests/TestShadow.py57CODE
407 more matches not shown…
Decorative Section Separators84 hits · 281 pts
SeverityFileLineSnippetContext
MEDIUMTools/cython-epydoc.py3# --------------------------------------------------------------------COMMENT
MEDIUMTools/cython-epydoc.py40# --------------------------------------------------------------------COMMENT
MEDIUMTools/cython-epydoc.py45# --------------------------------------------------------------------COMMENT
MEDIUMTools/make_dataclass_tests.py20 # ====================COMMENT
MEDIUMTools/make_dataclass_tests.py68 # =====================COMMENT
MEDIUMTools/make_dataclass_tests.py170 # ==========COMMENT
MEDIUMCython/Plex/Regexps.py174# -------------------------COMMENT
MEDIUMCython/Plex/Regexps.py393# -------------------------COMMENT
MEDIUMCython/Build/IpythonMagic.py38#-----------------------------------------------------------------------------COMMENT
MEDIUMCython/Build/IpythonMagic.py44#-----------------------------------------------------------------------------COMMENT
MEDIUMCython/Compiler/Options.py657# ------------------------------------------------------------------------COMMENT
MEDIUMCython/Compiler/Options.py798# ------------------------------------------------------------------------STRING
MEDIUMCython/Compiler/Options.py802# ------------------------------------------------------------------------STRING
MEDIUMCython/Compiler/ModuleNode.py4544#------------------------------------------------------------------------------------COMMENT
MEDIUMCython/Compiler/ModuleNode.py4548#------------------------------------------------------------------------------------COMMENT
MEDIUM⚡Cython/Compiler/TypeSlots.py891#------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡Cython/Compiler/TypeSlots.py895#------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡Cython/Compiler/TypeSlots.py956#------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡Cython/Compiler/TypeSlots.py960#------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡Cython/Compiler/TypeSlots.py965#------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡Cython/Compiler/TypeSlots.py969#------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡Cython/Compiler/TypeSlots.py974#------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡Cython/Compiler/TypeSlots.py979#------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡Cython/Compiler/TypeSlots.py1055#------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡Cython/Compiler/TypeSlots.py1059#------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡Cython/Compiler/TypeSlots.py1067#------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡Cython/Compiler/TypeSlots.py1077#------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡Cython/Compiler/TypeSlots.py1250 #------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡Cython/Compiler/TypeSlots.py1256 #------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡Cython/Compiler/TypeSlots.py1274 #-------------------------------------------------------------------------COMMENT
MEDIUM⚡Cython/Compiler/TypeSlots.py1279 #-------------------------------------------------------------------------COMMENT
MEDIUMCython/Compiler/Parsing.py85#------------------------------------------COMMENT
MEDIUMCython/Compiler/Parsing.py89#------------------------------------------COMMENT
MEDIUMCython/Compiler/Parsing.py1659#-------------------------------------------------------COMMENT
MEDIUMCython/Compiler/Parsing.py1663#-------------------------------------------------------COMMENT
MEDIUMCython/Compiler/Parsing.py4775#----------------------------------------------COMMENT
MEDIUMCython/Compiler/Parsing.py4779#----------------------------------------------COMMENT
MEDIUM⚡Cython/Compiler/ExprNodes.py1343#-------------------------------------------------------------------COMMENT
MEDIUM⚡Cython/Compiler/ExprNodes.py1347#-------------------------------------------------------------------COMMENT
MEDIUM⚡Cython/Compiler/ExprNodes.py8587#-------------------------------------------------------------------COMMENT
MEDIUM⚡Cython/Compiler/ExprNodes.py8591#-------------------------------------------------------------------COMMENT
MEDIUMCython/Compiler/ExprNodes.py2073#-------------------------------------------------------------------COMMENT
MEDIUMCython/Compiler/ExprNodes.py2077#-------------------------------------------------------------------COMMENT
MEDIUMCython/Compiler/ExprNodes.py2942#-------------------------------------------------------------------COMMENT
MEDIUMCython/Compiler/ExprNodes.py2946#-------------------------------------------------------------------COMMENT
MEDIUMCython/Compiler/ExprNodes.py3819#-------------------------------------------------------------------COMMENT
MEDIUMCython/Compiler/ExprNodes.py3823#-------------------------------------------------------------------COMMENT
MEDIUMCython/Compiler/ExprNodes.py4082#-------------------------------------------------------------------COMMENT
MEDIUMCython/Compiler/ExprNodes.py4086#-------------------------------------------------------------------COMMENT
MEDIUMCython/Compiler/ExprNodes.py4140#-------------------------------------------------------------------COMMENT
MEDIUMCython/Compiler/ExprNodes.py4144#-------------------------------------------------------------------COMMENT
MEDIUMCython/Compiler/ExprNodes.py11722#-------------------------------------------------------------------COMMENT
MEDIUMCython/Compiler/ExprNodes.py11726#-------------------------------------------------------------------COMMENT
MEDIUMCython/Compiler/ExprNodes.py12738#-------------------------------------------------------------------COMMENT
MEDIUMCython/Compiler/ExprNodes.py12742#-------------------------------------------------------------------COMMENT
MEDIUMCython/Compiler/ExprNodes.py15020#-------------------------------------------------------------------COMMENT
MEDIUMCython/Compiler/ExprNodes.py15029#-------------------------------------------------------------------COMMENT
MEDIUMCython/Compiler/Scanning.py42#------------------------------------------------------------------COMMENT
MEDIUMCython/Compiler/Scanning.py58#------------------------------------------------------------------COMMENT
MEDIUMCython/Compiler/Scanning.py122#------------------------------------------------------------------COMMENT
24 more matches not shown…
Over-Commented Block274 hits · 214 pts
SeverityFileLineSnippetContext
LOWruntests.py2001 #'E502',COMMENT
LOWTools/cython-generate-lexicon.py1#!/usr/bin/env python3COMMENT
LOWTools/site_scons/site_tools/pyext.py21#COMMENT
LOWtests/bugs.txt61# Test doesn't actually activate the virtual env andCOMMENT
LOWtests/run/pstats_profile_test_py.py301# e = (x for x in range(10))COMMENT
LOWtests/run/complex_numbers_cxx_T398.h1#if defined(__cplusplus)COMMENT
LOWtests/run/test_grammar.py101COMMENT
LOWtests/run/test_grammar.py581 self.assertEqual(ns['x'], (1, 2, 3, 4, 5))COMMENT
LOWtests/run/qualname.py101 #>>> print(CdefClass.l["__qualname__"], CdefClass.l["__module__"])COMMENT
LOWtests/run/qualname.py141 # TODO del inside cdef class scope is brokenCOMMENT
LOWtests/run/genexpr_arg_order.py41# return (a for a in range(zero(), five()))COMMENT
LOWtests/run/define_macro_helper.h1#pragma onceCOMMENT
LOWtests/run/posonly.py41 """COMMENT
LOWtests/run/posonly.py61# a263,a264,a265,a266,a267,a268,a269,a270,a271,a272,a273,a274,a275,a276,a277,COMMENT
LOWCython/Distutils/old_build_ext.py201 new_sources = []COMMENT
LOWCython/Debugger/Tests/TestLibCython.py141 )COMMENT
LOWCython/Plex/DFA.py21def nfa_to_dfa(old_machine, debug=None):COMMENT
LOWCython/Plex/Scanners.py41 Causes scanner to change state.COMMENT
LOWCython/Plex/Scanners.py61 # current_scanner_position_tuple = ("", 0, 0)COMMENT
LOWCython/Compiler/MatchCaseNodes.py1181 # (DictProxyType is, but Cython doesn't know about that).COMMENT
LOWCython/Compiler/MatchCaseNodes.py1241 args=[COMMENT
LOWCython/Compiler/Optimize.py401 # Generates code that looks approximately like:COMMENT
LOWCython/Compiler/Options.py41#: will be smaller, but the ``__doc__`` attribute of any class or function will be anCOMMENT
LOWCython/Compiler/Options.py81#: them a compile time error. If you want full Python compatibility,COMMENT
LOWCython/Compiler/Options.py101#: time. This will prevent the module from getting imported if aCOMMENT
LOWCython/Compiler/Options.py121#: This will provide a C function which initialises the interpreter andCOMMENT
LOWCython/Compiler/Options.py741 # Some compiler directives do not influence the generated C code but others doCOMMENT
LOWCython/Compiler/ModuleNode.py201class ModuleNode(Nodes.Node, Nodes.BlockNode):COMMENT
LOWCython/Compiler/ModuleNode.py2141 # cimported base type pointer directly interacts badly withCOMMENT
LOWCython/Compiler/ModuleNode.py3841 freecount_name = code.name_in_main_c_code_module_state(COMMENT
LOWCython/Compiler/ModuleNode.py4541 header))COMMENT
LOWCython/Compiler/TypeSlots.py21 # Method slot signature descriptor.COMMENT
LOWCython/Compiler/TypeSlots.py41 # 'l' longCOMMENT
LOWCython/Compiler/TypeSlots.py881 return NoneCOMMENT
LOWCython/Compiler/TypeSlots.py961COMMENT
LOWCython/Compiler/TypeSlots.py1061property_accessor_signatures = {COMMENT
LOWCython/Compiler/Symtab.py61 self.rcbuf_var = rcbuf_varCOMMENT
LOWCython/Compiler/Symtab.py81 # class constructionCOMMENT
LOWCython/Compiler/Symtab.py101 # doc_cname string or None C const holding the docstringCOMMENT
LOWCython/Compiler/Symtab.py121 # xdecref_cleanup boolean Use Py_XDECREF for error cleanupCOMMENT
LOWCython/Compiler/Symtab.py141 # inline_func_in_pxd boolean Hacky special case for inline function in pxd file.COMMENT
LOWCython/Compiler/Symtab.py341 # we wouldn't have been called if it was thereCOMMENT
LOWCython/Compiler/Symtab.py361 # cname_to_entry {string : Entry} Temp cname to entry mappingCOMMENT
LOWCython/Compiler/Symtab.py1381 # utility_code_list [UtilityCode] Queuing utility codes for forwarding to Code.pyCOMMENT
LOWCython/Compiler/Symtab.py1941 type.vtabslot_cname = Naming.vtabslot_cnameCOMMENT
LOWCython/Compiler/Symtab.py1981 # Allocate vtable name if necessaryCOMMENT
LOWCython/Compiler/Symtab.py2401 entry = self.global_scope().lookup_target(name)COMMENT
LOWCython/Compiler/Dataclass.py641 # | | |COMMENT
LOWCython/Compiler/Dataclass.py721 # __annotations__ dict, therefore it's safe to just returnCOMMENT
LOWCython/Compiler/Code.py121COMMENT
LOWCython/Compiler/Code.py1341 def __lt__(self, other):COMMENT
LOWCython/Compiler/Code.py2501 - filename_table, filename_list, input_file_contents: All codewritersCOMMENT
LOWCython/Compiler/ExprNodes.py361 use_borrowed_ref = FalseCOMMENT
LOWCython/Compiler/ExprNodes.py381 # being analysed. In that case, the above two phasesCOMMENT
LOWCython/Compiler/ExprNodes.py401 # Expression Analysis phaseCOMMENT
LOWCython/Compiler/ExprNodes.py421 # check_constCOMMENT
LOWCython/Compiler/ExprNodes.py441 # - Call generate_evaluation_code for sub-expressions.COMMENT
LOWCython/Compiler/ExprNodes.py461 # Called on the LHS of an assignment.COMMENT
LOWCython/Compiler/ExprNodes.py601 # can be called when the constant result code is requiredCOMMENT
LOWCython/Compiler/ExprNodes.py701 # Convenience routine performing both the TypeCOMMENT
214 more matches not shown…
Unused Imports170 hits · 161 pts
SeverityFileLineSnippetContext
LOWcython.py26CODE
LOWcython.py28CODE
LOWcython.py29CODE
LOWcygdb.py3CODE
LOWruntests.py70CODE
LOWTools/jedityper.py5CODE
LOWTools/jedityper.py9CODE
LOWTools/cevaltrace.py8CODE
LOWTools/cevaltrace.py8CODE
LOWTools/dataclass_test_data/test_dataclasses.py5CODE
LOWTools/dataclass_test_data/test_dataclasses.py20CODE
LOWTools/dataclass_test_data/test_dataclasses.py21CODE
LOWtests/memoryview/memoryview_annotation_typing.py5CODE
LOWtests/memoryview/memoryview_annotation_typing.py12CODE
LOWtests/compile/cython_compiled_folding.py31CODE
LOWtests/compile/cython_compiled_folding.py9CODE
LOWtests/compile/cython_compiled_folding.py14CODE
LOWtests/compile/cython_compiled_folding.py28CODE
LOWtests/compile/cython_compiled_folding.py39CODE
LOWtests/compile/cython_compiled_folding.py21CODE
LOWtests/errors/e_invalid_special_cython_modules.py6CODE
LOWtests/errors/e_invalid_special_cython_modules.py7CODE
LOWtests/errors/e_invalid_special_cython_modules.py9CODE
LOWtests/errors/e_invalid_special_cython_modules.py14CODE
LOWtests/errors/e_invalid_special_cython_modules.py15CODE
LOWtests/errors/e_invalid_special_cython_modules.py17CODE
LOWtests/errors/e_invalid_special_cython_modules.py18CODE
LOWtests/errors/e_invalid_special_cython_modules.py19CODE
LOWtests/run/generators_py35.py4CODE
LOWtests/run/carray_iteration.py8540CODE
LOWtests/run/pyclass_annotations_pep526.py5CODE
LOWtests/run/pyclass_annotations_pep526.py7CODE
LOWtests/run/extra_patma_py.py4CODE
LOWtests/run/extra_patma_py.py4CODE
LOWtests/run/extra_patma_py.py6CODE
LOWtests/run/set_literals.py3CODE
LOWtests/run/import_error_T734.py10CODE
LOWtests/run/test_grammar.py108CODE
LOWtests/run/test_grammar.py111CODE
LOWtests/run/test_grammar.py113CODE
LOWtests/run/test_grammar.py1296CODE
LOWtests/run/test_grammar.py1297CODE
LOWtests/run/test_grammar.py1298CODE
LOWtests/run/pure_cdef_class_dataclass.py4CODE
LOWtests/run/pure_ctuple.py7CODE
LOWtests/run/type_inference_generics.py7CODE
LOWtests/run/extra_walrus.py8CODE
LOWtests/run/pure_py.py201CODE
LOWtests/run/generator_frame_cycle.py4CODE
LOWtests/run/pep526_variable_annotations.py7CODE
LOWtests/run/test_shadow_error.py9CODE
LOWtests/run/test_asyncgen.py5CODE
LOWtests/run/test_asyncgen.py121CODE
LOWtests/run/qualname.py5CODE
LOWtests/run/genexpr_arg_order.py4CODE
LOWtests/run/ref2global.py5CODE
LOWtests/run/pep563_annotations.py4CODE
LOWtests/run/posonly.py6CODE
LOWtests/run/builtin_types_class.py3CODE
LOWtests/run/pure_parallel.py5CODE
110 more matches not shown…
Cross-Language Confusion23 hits · 119 pts
SeverityFileLineSnippetContext
HIGHruntests.py670 self.push(item)CODE
HIGH⚡tests/run/test_grammar.py805 @[..., null, ...][1]STRING
HIGH⚡tests/run/test_grammar.py807 @null(null)(null)STRING
HIGH⚡tests/run/test_grammar.py809 @[null][0].__call__.__call__STRING
HIGHCython/Build/IpythonMagic.py110 self.shell.push({k: mdict[k]})CODE
HIGHCython/Compiler/ModuleNode.py2435 code.putln("Py_ssize_t x = __Pyx_PyIndex_AsSsize_t(i); if (unlikely(x == -1 && PyErr_Occurred())) returnCODE
HIGHCython/Compiler/ModuleNode.py2504 code.putln("Py_ssize_t x = __Pyx_PyIndex_AsSsize_t(i); if (unlikely(x == -1 && PyErr_Occurred())) returnCODE
HIGHCython/Compiler/ModuleNode.py2515 code.putln("Py_ssize_t x = __Pyx_PyIndex_AsSsize_t(i); if (unlikely(x == -1 && PyErr_Occurred())) returnCODE
HIGHCython/Compiler/ModuleNode.py2613 code.putln("if (likely(ret && ret != Py_NotImplemented)) {")CODE
HIGHCython/Compiler/ModuleNode.py2638 code.putln("if (likely(ret && ret != Py_NotImplemented)) {")CODE
HIGHCython/Compiler/ModuleNode.py2668 code.putln("if (likely(ret && ret != Py_NotImplemented)) {")CODE
HIGHCython/Compiler/ModuleNode.py2794 "if (!v && PyErr_ExceptionMatches(PyExc_AttributeError)) {")CODE
HIGH⚡Cython/Compiler/TypeSlots.py1240 ifdef="(!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800) && "CODE
HIGH⚡Cython/Compiler/TypeSlots.py1241 "(!CYTHON_COMPILING_IN_LIMITED_API || __PYX_LIMITED_VERSION_HEX >= 0x030E0000)",CODE
HIGH⚡Cython/Compiler/TypeSlots.py1247 EmptySlot("tp_pypy_flags", ifdef="CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX < 0x030a0000"),CODE
HIGHCython/Compiler/ExprNodes.py7383 f"{Naming.quick_temp_cname} == NULL && PyErr_Occurred()",CODE
HIGHCython/Compiler/ExprNodes.py11625 " exc_type != PyExc_StopIteration && exc_type != PyExc_GeneratorExit &&"CODE
HIGHCython/Compiler/Nodes.py4446 code.putln(f"if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[{i}])) {goto_error}")CODE
HIGHCython/Compiler/Nodes.py4461 code.putln(f"if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[{i}])) {goto_error}")CODE
HIGHCython/Compiler/Nodes.py4612 code.putln(f"if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[{i}])) {code.error_goto(self.pos)}")CODE
HIGHCython/Compiler/Nodes.py4618 code.putln(f"if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[{i}])) {code.error_goto(self.pos)}")CODE
HIGHCython/Compiler/Nodes.py5903 code.putln("/* PY_VERSION_HEX >= 0x03090000 || Py_LIMITED_API >= 0x030B0000 */")CODE
HIGHCython/Compiler/Nodes.py5962 code.putln("if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) &&"CODE
Excessive Try-Catch Wrapping78 hits · 68 pts
SeverityFileLineSnippetContext
MEDIUMruntests.py120def import_refnanny():CODE
LOWruntests.py613 except Exception:CODE
LOWruntests.py1552 except Exception as exc:CODE
LOWruntests.py1651 except Exception:CODE
LOWruntests.py1656 except Exception:CODE
LOWruntests.py1716 except Exception:CODE
LOWruntests.py1721 except Exception:CODE
LOWruntests.py3346 except Exception as exc:CODE
LOWruntests.py3411 except Exception:CODE
LOWtests/run/pstats_profile_test_py.py152 except Exception as exc:STRING
MEDIUMtests/run/pstats_profile_test_py.py145def trace_function(frame, event, arg):CODE
MEDIUMtests/run/test_except_star.py167def f():CODE
LOW⚡tests/run/test_except_star.py1076 except Exception as e:CODE
LOWtests/run/test_except_star.py270 except Exception:CODE
LOWtests/run/test_except_star.py1009 except Exception as e:CODE
LOWtests/run/test_except_star.py1034 except Exception as e:CODE
LOWtests/run/test_except_star.py1129 except Exception as e:CODE
LOWtests/run/test_except_star.py1180 except Exception as e:CODE
LOWtests/run/test_except_star.py1235 except Exception as e:CODE
MEDIUMtests/run/test_grammar.py58def eval(code):CODE
LOWtests/run/test_grammar.py466 except Exception as e:CODE
LOWtests/run/extra_walrus.py509 except Exception:CODE
LOWtests/run/extra_walrus.py524 except Exception:CODE
LOWtests/run/extra_walrus.py539 except Exception:CODE
LOWtests/run/extra_walrus.py561 except Exception:CODE
LOWtests/run/test_asyncgen.py259 except Exception as ex:STRING
LOWtests/run/test_asyncgen.py280 except Exception as ex:STRING
LOWtests/run/builtin_exceptions.py960 except Exception as e:CODE
LOWCython/TestUtils.py147 except Exception as exc:CODE
LOWCython/Distutils/old_build_ext.py32 except Exception:STRING
MEDIUMCython/Distutils/old_build_ext.py27def _check_stack(path):CODE
LOWCython/Tempita/_tempita.py312 except Exception as e:CODE
LOWCython/Tempita/_tempita.py324 except Exception as e:CODE
LOWCython/Tempita/_tempita.py347 except Exception as e:CODE
LOWCython/Debugger/Cygdb.py99 except Exception as ex:CODE
MEDIUMCython/Debugger/libpython.py265def safe_tp_name(self):CODE
MEDIUMCython/Debugger/libpython.py1344def safe_name(self):CODE
LOWCython/Debugger/libpython.py934 except Exception:CODE
LOWCython/Debugger/libpython.py1954 except Exception:CODE
LOWCython/Debugger/Tests/test_libcython_in_gdb.py43 except Exception:CODE
LOWCython/Build/Dependencies.py16except Exception:CODE
LOWCython/Build/Dependencies.py830 except Exception:CODE
LOWCython/Build/Dependencies.py1193 except Exception:CODE
LOWCython/Build/Dependencies.py1253 except Exception:STRING
LOWCython/Build/Dependencies.py1274 except Exception:STRING
LOWCython/Build/Tests/TestInline.py11except Exception:CODE
MEDIUMCython/Compiler/Optimize.py4227def _find_special_codec_name(self, encoding):CODE
LOWCython/Compiler/Optimize.py4510 except Exception:CODE
LOWCython/Compiler/Options.py617 except Exception:CODE
LOWCython/Compiler/Visitor.py179 except Exception as e:CODE
MEDIUMCython/Compiler/ExprNodes.py2191def compile_time_value(self, denv):CODE
MEDIUMCython/Compiler/ExprNodes.py12747def matmul_operator(a, b):CODE
LOWCython/Compiler/ExprNodes.py1243 except Exception:CODE
LOWCython/Compiler/ExprNodes.py4200 except Exception as e:CODE
LOWCython/Compiler/ExprNodes.py5710 except Exception as e:CODE
LOWCython/Compiler/ExprNodes.py6136 except Exception as e:CODE
LOWCython/Compiler/ExprNodes.py6202 except Exception as e:CODE
LOWCython/Compiler/ExprNodes.py6433 except Exception as e:CODE
LOWCython/Compiler/ExprNodes.py7503 except Exception as e:CODE
LOWCython/Compiler/ExprNodes.py7734 except Exception as e:CODE
18 more matches not shown…
Self-Referential Comments26 hits · 64 pts
SeverityFileLineSnippetContext
MEDIUMTools/gen_tests_for_posix_pxds.py14 "# This file is generated by `Tools/gen_tests_for_posix_pxds.py`.\n"CODE
MEDIUM⚡Tools/dataclass_test_data/test_dataclasses.py1785 # Create the class.COMMENT
MEDIUM⚡Tools/dataclass_test_data/test_dataclasses.py1799 # Create the class.COMMENT
MEDIUMTools/dataclass_test_data/test_dataclasses.py937 # Creating the class won't raiseCOMMENT
MEDIUMTools/dataclass_test_data/test_dataclasses.py2518 # Creating the class should cause an exception.COMMENT
MEDIUMTools/dataclass_test_data/test_dataclasses.py3165 # Create a descriptor.COMMENT
MEDIUMTools/dataclass_test_data/test_dataclasses.py3192 # Create a descriptor.COMMENT
MEDIUMTools/dataclass_test_data/test_dataclasses.py3209 # Create an attribute on the instance, not type.COMMENT
MEDIUMTools/site_scons/site_tools/pyext.py216 # Create the PythonObject builderCOMMENT
MEDIUMTools/site_scons/site_tools/pyext.py226 # Create the PythonExtension builderCOMMENT
MEDIUMCython/Tests/xmlrunner.py57 """This class is used to keep useful information about the execution of aSTRING
MEDIUMCython/Build/Dependencies.py854 # Create the new extensionCOMMENT
MEDIUMCython/Compiler/Code.py1690 # Create a new globally-unique nice name for a C string constant.STRING
MEDIUMCython/Compiler/Code.py2124 # Create a downsized config struct and build code objects from it.STRING
MEDIUMCython/Compiler/Code.py2985 # Initialize these variables to silence compiler warningsSTRING
MEDIUMCython/Compiler/ParseTreeTransforms.py2654 # Create a wrapper node if needed.STRING
MEDIUMCython/Compiler/Pipeline.py378 # Create a new wrapper for each step to show the name in profiles.COMMENT
MEDIUMCython/Compiler/ExprNodes.py1021 # This method is called during the analyse_expressionsCOMMENT
MEDIUMCython/Compiler/ExprNodes.py6451 # Create a call node for C property access.COMMENT
MEDIUMCython/Compiler/ExprNodes.py8139 # Create a temporary entry describing the unbound C method in `entry`COMMENT
MEDIUMCython/Compiler/ExprNodes.py8196 # Create a corresponding NameNode from this node and complete theCOMMENT
MEDIUMCython/Compiler/ExprNodes.py11123 # Create a PyCodeObject for a CyFunction instance.COMMENT
MEDIUMCython/Compiler/Nodes.py2160 # Initialize the return variable __pyx_rCOMMENT
MEDIUMCython/Compiler/PyrexTypes.py5590 # Create a reference type that we can use in the definitions of acquire and releaseCOMMENT
MEDIUMdocs/examples/userguide/memoryviews/not_none.py8 # Creating a default view, e.g.COMMENT
MEDIUM.github/workflows/wheels.yml51 # Create a matrix of all architectures & versions to build.COMMENT
AI Structural Patterns47 hits · 39 pts
SeverityFileLineSnippetContext
LOWruntests.py1044CODE
LOWtests/run/builtin_divmod.py54CODE
LOWtests/run/builtin_divmod.py86CODE
LOWtests/run/builtin_divmod.py130CODE
LOWtests/run/builtin_divmod.py174CODE
LOWtests/run/builtin_divmod.py233CODE
LOWtests/run/builtin_divmod.py256CODE
LOWtests/run/builtin_divmod.py283CODE
LOWtests/run/builtin_divmod.py376CODE
LOWtests/run/builtin_divmod.py420CODE
LOWtests/run/builtin_divmod.py464CODE
LOWtests/run/builtin_divmod.py508CODE
LOWtests/run/sys_monitoring.py703CODE
LOWCython/Shadow.py234CODE
LOWCython/Shadow.py591CODE
LOWCython/Distutils/extension.py14CODE
LOWCython/Tempita/_tempita.py100CODE
LOWCython/Debugger/libpython.py757CODE
LOWCython/Debugger/libpython.py1121CODE
LOWCython/Debugger/libpython.py1230CODE
LOWCython/Debugger/libpython.py2100CODE
LOWCython/Build/Dependencies.py880CODE
LOWCython/Build/Dependencies.py1220CODE
LOWCython/Build/Inline.py148CODE
LOWCython/Compiler/MatchCaseNodes.py1963CODE
LOWCython/Compiler/Parsing.py2936CODE
LOWCython/Compiler/Parsing.py2977CODE
LOWCython/Compiler/Symtab.py920CODE
LOWCython/Compiler/Symtab.py1751CODE
LOWCython/Compiler/Symtab.py1800CODE
LOWCython/Compiler/Symtab.py2279CODE
LOWCython/Compiler/Symtab.py2654CODE
LOWCython/Compiler/Symtab.py2761CODE
LOWCython/Compiler/Symtab.py2902CODE
LOWCython/Compiler/Dataclass.py191CODE
LOWCython/Compiler/UtilityCode.py77CODE
LOWCython/Compiler/Code.py566CODE
LOWCython/Compiler/Code.py2550CODE
LOWCython/Compiler/AutoDocTransforms.py56CODE
LOWCython/Compiler/AutoDocTransforms.py62CODE
LOWCython/Compiler/AutoDocTransforms.py146CODE
LOWCython/Compiler/ExprNodes.py6859CODE
LOWCython/Compiler/ExprNodes.py12536CODE
LOWCython/Compiler/Builtin.py39CODE
LOWCython/Compiler/Nodes.py3257CODE
LOWCython/Compiler/PyrexTypes.py3658CODE
LOWpyximport/pyximport.py368CODE
Dead Code12 hits · 23 pts
SeverityFileLineSnippetContext
MEDIUMtests/run/test_asyncgen.py532CODE
MEDIUMtests/run/test_asyncgen.py565CODE
MEDIUMtests/run/test_asyncgen.py743CODE
MEDIUMtests/run/test_asyncgen.py804CODE
MEDIUMtests/run/test_asyncgen.py1751CODE
MEDIUMtests/run/test_asyncgen.py1772CODE
MEDIUMtests/run/test_asyncgen.py1796CODE
MEDIUMCython/Debugger/libpython.py2139CODE
MEDIUMCython/Debugger/libpython.py2141CODE
MEDIUMCython/Debugger/Tests/test_libcython_in_gdb.py451CODE
MEDIUMCython/Debugger/Tests/test_libcython_in_gdb.py458CODE
MEDIUMCython/Debugger/Tests/test_libcython_in_gdb.py459CODE
AI Slop Vocabulary10 hits · 17 pts
SeverityFileLineSnippetContext
MEDIUMtests/run/test_grammar.py1948 # This is not intended to be a comprehensive test, rather just to be fewSTRING
LOWCython/Compiler/Symtab.py2347 # the type definition, so we just return the right entry.COMMENT
MEDIUMCython/Compiler/Naming.py6# Collected here to facilitate ensuring uniqueness.COMMENT
LOWCython/Compiler/Dataclass.py721 # __annotations__ dict, therefore it's safe to just returnSTRING
MEDIUMCython/Compiler/ExprNodes.py7001 # Essentially, if the signature matches PyObject_VectorcallMethodCOMMENT
MEDIUMCython/Compiler/ExprNodes.py7981 # Essentially it does:COMMENT
LOWCython/Compiler/ExprNodes.py7911 # simple case, just add all entriesCOMMENT
MEDIUMCython/Compiler/PyrexTypes.py55 # This is not entirely robust.COMMENT
MEDIUM⚡Cython/Compiler/Tests/TestParseTreeTransforms.py202# TODO: Re-enable once they're more robust.STRING
MEDIUMCython/Utility/Exceptions.c965 // DW - this is a horrendous hack, but I'm quite proud of it. EssentiallyCOMMENT
Redundant / Tautological Comments6 hits · 6 pts
SeverityFileLineSnippetContext
LOWCython/StringIOTree.py127 # Print the result of allmarkers in a nice human-readable form. Use it only for debugging.STRING
LOWCython/Tests/xmlrunner.py368 # Print resultsCOMMENT
LOWCython/Debugger/Cygdb.py131 # Check if the Python executable provides a symbol table.COMMENT
LOWCython/Debugger/Tests/test_libcython_in_gdb.py537 # Check if the Python executable provides a symbol table.STRING
LOWCython/Compiler/ExprNodes.py5179 # Assign indices to temps of at least (s)size_t to allow further index calculations.COMMENT
LOWdocs/conf.py61 # Set both to enable "Edit page source"COMMENT
Hallucination Indicators1 hit · 5 pts
SeverityFileLineSnippetContext
CRITICALCython/Compiler/ParseTreeTransforms.py1852 name_node.entry = self.gen_node.def_node.gbody.local_scope.lookup(name_node.name)STRING
Modern Structural Boilerplate5 hits · 4 pts
SeverityFileLineSnippetContext
LOWCython/Tempita/_looper.py21__all__ = ['looper']CODE
LOWCython/Tempita/_tempita.py42__all__ = ['TemplateError', 'Template', 'sub', 'bunch']CODE
LOWCython/Debugger/Cygdb.py23logger = logging.getLogger(__name__)CODE
LOWCython/Build/__init__.py3__all__ = ["cythonize"]CODE
LOWCython/Compiler/PyrexTypes.py5391 def set_python_type_constructor_name(self, name: str) -> None:CODE
Fake / Example Data4 hits · 4 pts
SeverityFileLineSnippetContext
LOW⚡Tools/dataclass_test_data/test_dataclasses.py2114 self.assertEqual(C.__doc__, "Lorem ipsum")CODE
LOW⚡Tools/dataclass_test_data/test_dataclasses.py2111 """Lorem ipsum"""STRING
LOW⚡tests/run/extra_patma_py.py368 AttributeError: ...'Namespace'... has no attribute 'fake_name'CODE
LOW⚡tests/run/extra_patma_py.py371 case Namespace.fake_name | _:STRING
Structural Annotation Overuse2 hits · 3 pts
SeverityFileLineSnippetContext
LOWCython/Utility/TypeConversion.c513 // NOTE: This function decrefs 'number' if a conversion happens to replace the original object.COMMENT
LOWCython/Utility/TypeConversion.c568 // NOTE: This function decrefs 'number' if a conversion happens to replace the original object.COMMENT
Slop Phrases2 hits · 2 pts
SeverityFileLineSnippetContext
MEDIUMCython/Build/IpythonMagic.py121 in the user's namespace, here is a simple example that returnsSTRING
LOWCython/Compiler/Code.py399 # Don't forget to add the last utility codeCOMMENT
TODO Padding2 hits · 2 pts
SeverityFileLineSnippetContext
LOWCython/Compiler/Parsing.py610 # TODO: implement a faster way to join tuples than creating each one and adding themCOMMENT
LOWCython/Compiler/ExprNodes.py14675 # TODO: implement this for other types.COMMENT
Verbosity Indicators1 hit · 2 pts
SeverityFileLineSnippetContext
LOWCython/Compiler/Optimize.py3181 # The purpose of this function is to handle calls to instance.__class__() so thatCOMMENT