Official repository for IPython itself. Other repos in the IPython organization contain things like the website, documentation builds, etc.
This report presents the forensic synthetic code analysis of ipython/ipython, a Python project with 16,745 GitHub stars. SynthScan v2.0 examined 97,124 lines of code across 358 source files, recording 2496 pattern matches distributed across 19 syntactic categories. The overall adjusted score of 48.0 places this repository in the Strong 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 2496 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 |
|---|---|---|---|---|
| MEDIUM⚡ | setupbase.py | 29 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | setupbase.py | 31 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | setupbase.py | 41 | #--------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | setupbase.py | 43 | #--------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | setupbase.py | 56 | #--------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | setupbase.py | 58 | #--------------------------------------------------------------------------- | COMMENT |
| MEDIUM | setupbase.py | 85 | #--------------------------------------------------------------------------- | COMMENT |
| MEDIUM | setupbase.py | 87 | #--------------------------------------------------------------------------- | COMMENT |
| MEDIUM | setupbase.py | 151 | #--------------------------------------------------------------------------- | COMMENT |
| MEDIUM | setupbase.py | 153 | #--------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | setup.py | 8 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | setup.py | 17 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | setup.py | 56 | #------------------------------------------------------------------------------- | STRING |
| MEDIUM | setup.py | 58 | #------------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | setup.py | 76 | #--------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | setup.py | 78 | #--------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | setup.py | 84 | #--------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | setup.py | 86 | #--------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | setup.py | 96 | #--------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | setup.py | 98 | #--------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | IPython/__init__.py | 7 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | IPython/__init__.py | 16 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | IPython/__init__.py | 18 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | IPython/__init__.py | 20 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | IPython/__init__.py | 26 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | IPython/__init__.py | 28 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | IPython/display.py | 3 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | IPython/display.py | 8 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | IPython/display.py | 10 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | IPython/display.py | 12 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | IPython/__main__.py | 3 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | IPython/__main__.py | 9 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | IPython/core/prefilter.py | 29 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | IPython/core/prefilter.py | 31 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | IPython/core/prefilter.py | 72 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | IPython/core/prefilter.py | 74 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | IPython/core/prefilter.py | 126 | #------------------------------------------------------------------------- | COMMENT |
| MEDIUM | IPython/core/prefilter.py | 128 | #------------------------------------------------------------------------- | COMMENT |
| MEDIUM | IPython/core/prefilter.py | 154 | #------------------------------------------------------------------------- | COMMENT |
| MEDIUM | IPython/core/prefilter.py | 156 | #------------------------------------------------------------------------- | COMMENT |
| MEDIUM | IPython/core/prefilter.py | 190 | #------------------------------------------------------------------------- | COMMENT |
| MEDIUM | IPython/core/prefilter.py | 192 | #------------------------------------------------------------------------- | COMMENT |
| MEDIUM | IPython/core/prefilter.py | 233 | #------------------------------------------------------------------------- | COMMENT |
| MEDIUM | IPython/core/prefilter.py | 235 | #------------------------------------------------------------------------- | COMMENT |
| MEDIUM | IPython/core/prefilter.py | 330 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | IPython/core/prefilter.py | 332 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | IPython/core/prefilter.py | 360 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | IPython/core/prefilter.py | 362 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | IPython/core/prefilter.py | 524 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | IPython/core/prefilter.py | 526 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | IPython/core/prefilter.py | 685 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | IPython/core/prefilter.py | 687 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | IPython/core/magic.py | 5 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | IPython/core/magic.py | 12 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | IPython/core/magic.py | 43 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | IPython/core/magic.py | 45 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | IPython/core/magic.py | 59 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | IPython/core/magic.py | 61 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | IPython/core/magic.py | 93 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | IPython/core/magic.py | 95 | # ----------------------------------------------------------------------------- | COMMENT |
| 686 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | IPython/core/profiledir.py | 180 | def create_profile_dir_by_name(cls, path, name='default', config=None): | CODE |
| LOW | IPython/core/formatters.py | 736 | def _singleton_printers_default(self): | STRING |
| LOW | IPython/core/formatters.py | 751 | def _deferred_printers_default(self): | STRING |
| LOW | IPython/core/inputtransformer2.py | 234 | def find_end_of_continued_line(lines, start_line: int): | STRING |
| LOW | IPython/core/tbtools.py | 218 | def _simple_format_traceback_lines( | CODE |
| LOW | IPython/core/tbtools.py | 342 | def variables_in_executing_piece(self) -> list[Any]: | CODE |
| LOW | IPython/core/tbtools.py | 467 | def get_parts_of_chained_exception( | CODE |
| LOW | IPython/core/tbtools.py | 480 | def prepare_chained_exception_message( | CODE |
| LOW | IPython/core/guarded_eval.py | 149 | def _has_original_dunder_external( | CODE |
| LOW | IPython/core/guarded_eval.py | 534 | def _ipython_key_completions_(self): | CODE |
| LOW | IPython/core/guarded_eval.py | 555 | def _validate_policy_overrides( | CODE |
| LOW | IPython/core/guarded_eval.py | 740 | def _is_instance_attribute_assignment( | CODE |
| LOW | IPython/core/guarded_eval.py | 753 | def _get_coroutine_attributes() -> dict[str, object | None]: | CODE |
| LOW | IPython/core/guarded_eval.py | 1474 | def _create_duck_for_heap_type(duck_type): | CODE |
| LOW | IPython/core/doctb.py | 279 | def format_exception_as_a_whole( | CODE |
| LOW | IPython/core/completer.py | 1444 | def _match_number_in_dict_key_prefix(prefix: str) -> str | None: | CODE |
| LOW | IPython/core/completer.py | 1721 | def back_unicode_name_matcher(context: CompletionContext): | CODE |
| LOW | IPython/core/completer.py | 1732 | def back_unicode_name_matches(text: str) -> tuple[str, Sequence[str]]: | CODE |
| LOW | IPython/core/completer.py | 2586 | def _determine_completion_context(self, line): | CODE |
| LOW | IPython/core/completer.py | 2617 | def _is_completing_in_cli_context(self, text: str) -> bool: | CODE |
| LOW | IPython/core/completer.py | 2840 | def _default_arguments_from_docstring(self, doc): | CODE |
| LOW | IPython/core/completer.py | 1054 | def _policy_overrides_changed(self, _change): | STRING |
| LOW | IPython/core/completer.py | 1207 | def _strip_code_before_operator(self, code: str) -> str: | STRING |
| LOW | IPython/core/completer.py | 3219 | def dispatch_custom_completer(self, text: str) -> list[str] | None: | STRING |
| LOW | IPython/core/ultratb.py | 414 | def structured_traceback_doctest( | CODE |
| LOW | IPython/core/ultratb.py | 780 | def format_exception_as_a_whole( | CODE |
| LOW | IPython/core/debugger.py | 637 | def _pdbcmd_print_frame_status(self, arg): | CODE |
| LOW | IPython/core/debugger.py | 1107 | def _is_in_decorator_internal_and_should_skip(self, frame): | CODE |
| LOW | IPython/core/debugger.py | 1119 | def _cached_one_parent_frame_debuggerskip(self, frame): | CODE |
| LOW | IPython/core/application.py | 143 | def _config_file_name_default(self): | CODE |
| LOW | IPython/core/application.py | 146 | def _config_file_name_changed(self, change): | CODE |
| LOW | IPython/core/application.py | 157 | def _config_file_paths_default(self): | CODE |
| LOW | IPython/core/application.py | 166 | def _extra_config_file_changed(self, change): | STRING |
| LOW | IPython/core/application.py | 469 | def stage_default_config_file(self): | CODE |
| LOW | IPython/core/extensions.py | 126 | def _call_load_ipython_extension(self, mod): | CODE |
| LOW | IPython/core/extensions.py | 131 | def _call_unload_ipython_extension(self, mod): | CODE |
| LOW | IPython/core/displaypub.py | 67 | def _setup_execution_tracking(self): | CODE |
| LOW | IPython/core/pylabtools.py | 454 | def _matplotlib_manages_backends() -> bool: | CODE |
| LOW | IPython/core/pylabtools.py | 480 | def _list_matplotlib_backends_and_gui_loops() -> list[str]: | CODE |
| LOW | IPython/core/pylabtools.py | 504 | def _convert_gui_to_matplotlib(gui: str | None) -> str | None: | CODE |
| LOW | IPython/core/pylabtools.py | 510 | def _convert_gui_from_matplotlib(gui: str | None) -> str | None: | CODE |
| LOW | IPython/core/interactiveshell.py | 3503 | def _format_exception_for_storage( | CODE |
| LOW | IPython/core/interactiveshell.py | 470 | def _sphinxify_docstring_changed(self, change): | STRING |
| LOW | IPython/core/interactiveshell.py | 481 | def _enable_html_pager_changed(self, change): | STRING |
| LOW | IPython/core/interactiveshell.py | 504 | def input_transformers_cleanup(self): | STRING |
| LOW | IPython/core/oinspect.py | 1087 | def _source_contains_docstring(src, doc): | CODE |
| LOW | IPython/core/profileapp.py | 215 | def _copy_config_files_default(self): | CODE |
| LOW | IPython/core/profileapp.py | 288 | def stage_default_config_file(self): | CODE |
| LOW | IPython/core/displayhook.py | 99 | def semicolon_at_end_of_expression(expression): | CODE |
| LOW | IPython/core/magic_arguments.py | 105 | def _format_action_invocation(self, action): | CODE |
| LOW | IPython/core/history.py | 259 | def _default_connection_options(self) -> dict[str, bool]: | STRING |
| LOW | IPython/core/history.py | 721 | def _switch_to_memory_history(self) -> None: | CODE |
| LOW | IPython/core/history.py | 743 | def _restart_thread_if_stopped(self) -> None: | CODE |
| LOW | IPython/core/magics/basic.py | 675 | def _get_kernel_language_info(self) -> dict | None: | CODE |
| LOW | IPython/core/magics/packaging.py | 36 | def _get_conda_like_executable(command): | CODE |
| LOW | IPython/sphinxext/tests/test_ansi_stripping.py | 14 | def test_strip_ansi_multiple_codes(): | CODE |
| LOW | IPython/terminal/ptutils.py | 95 | def _adjust_completion_text_based_on_context(text, body, offset): | CODE |
| LOW | IPython/terminal/prompts.py | 56 | def continuation_prompt_tokens( | CODE |
| LOW | IPython/terminal/prompts.py | 106 | def continuation_prompt_tokens(self, width=None): | CODE |
| LOW | IPython/terminal/interactiveshell.py | 76 | def _backward_compat_continuation_prompt_tokens( | CODE |
| 1012 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setupbase.py | 20 | CODE | |
| LOW | setupbase.py | 22 | CODE | |
| LOW | setupbase.py | 25 | CODE | |
| LOW | setupbase.py | 26 | CODE | |
| LOW | setup.py | 19 | CODE | |
| LOW | _build_meta.py | 2 | CODE | |
| LOW | tools/tests/embed/embed_flufl.py | 2 | CODE | |
| LOW | IPython/paths.py | 3 | CODE | |
| LOW | IPython/__init__.py | 22 | CODE | |
| LOW | IPython/__init__.py | 31 | CODE | |
| LOW | IPython/__init__.py | 33 | CODE | |
| LOW | IPython/__init__.py | 34 | CODE | |
| LOW | IPython/__init__.py | 36 | CODE | |
| LOW | IPython/__init__.py | 37 | CODE | |
| LOW | IPython/display.py | 14 | CODE | |
| LOW | IPython/display.py | 15 | CODE | |
| LOW | IPython/display.py | 15 | CODE | |
| LOW | IPython/display.py | 15 | CODE | |
| LOW | IPython/display.py | 15 | CODE | |
| LOW | IPython/display.py | 15 | CODE | |
| LOW | IPython/display.py | 15 | CODE | |
| LOW | IPython/display.py | 15 | CODE | |
| LOW | IPython/display.py | 15 | CODE | |
| LOW | IPython/display.py | 15 | CODE | |
| LOW | IPython/display.py | 15 | CODE | |
| LOW | IPython/display.py | 15 | CODE | |
| LOW | IPython/display.py | 15 | CODE | |
| LOW | IPython/display.py | 15 | CODE | |
| LOW | IPython/display.py | 15 | CODE | |
| LOW | IPython/display.py | 15 | CODE | |
| LOW | IPython/display.py | 15 | CODE | |
| LOW | IPython/display.py | 15 | CODE | |
| LOW | IPython/display.py | 15 | CODE | |
| LOW | IPython/display.py | 15 | CODE | |
| LOW | IPython/display.py | 15 | CODE | |
| LOW | IPython/display.py | 15 | CODE | |
| LOW | IPython/display.py | 15 | CODE | |
| LOW | IPython/display.py | 15 | CODE | |
| LOW | IPython/display.py | 15 | CODE | |
| LOW | IPython/display.py | 41 | CODE | |
| LOW | IPython/core/magic.py | 1 | CODE | |
| LOW | IPython/core/magic.py | 27 | CODE | |
| LOW | IPython/core/magic.py | 30 | CODE | |
| LOW | IPython/core/hooks.py | 38 | CODE | |
| LOW | IPython/core/alias.py | 9 | CODE | |
| LOW | IPython/core/tbtools.py | 1 | CODE | |
| LOW | IPython/core/events.py | 16 | CODE | |
| LOW | IPython/core/shellapp.py | 9 | CODE | |
| LOW | IPython/core/logger.py | 12 | CODE | |
| LOW | IPython/core/logger.py | 19 | CODE | |
| LOW | IPython/core/completer.py | 180 | CODE | |
| LOW | IPython/core/display.py | 6 | CODE | |
| LOW | IPython/core/display.py | 9 | CODE | |
| LOW | IPython/core/display.py | 23 | CODE | |
| LOW | IPython/core/debugger.py | 124 | CODE | |
| LOW | IPython/core/tips.py | 1 | CODE | |
| LOW | IPython/core/tips.py | 119 | CODE | |
| LOW | IPython/core/extensions.py | 6 | CODE | |
| LOW | IPython/core/extensions.py | 7 | CODE | |
| LOW | IPython/core/extensions.py | 12 | CODE | |
| 145 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/update_whatsnew.py | 45 | except Exception as e: | CODE |
| LOW | IPython/core/prefilter.py | 625 | except Exception: | CODE |
| MEDIUM | IPython/core/magic.py | 661 | print("Error in arguments:") | CODE |
| LOW | IPython/core/completerlib.py | 93 | except Exception: | CODE |
| LOW | IPython/core/formatters.py | 238 | except Exception: | CODE |
| LOW⚡ | IPython/core/formatters.py | 270 | except Exception as e: | CODE |
| LOW | IPython/core/formatters.py | 285 | except Exception: | CODE |
| LOW | IPython/core/formatters.py | 708 | except Exception as e: | STRING |
| LOW | IPython/core/tbtools.py | 68 | except Exception: | CODE |
| LOW⚡ | IPython/core/tbtools.py | 135 | except Exception: | CODE |
| LOW⚡ | IPython/core/tbtools.py | 140 | except Exception: | CODE |
| LOW | IPython/core/tbtools.py | 154 | except Exception: | CODE |
| LOW⚡ | IPython/core/guarded_eval.py | 1227 | except Exception as e: | CODE |
| LOW⚡ | IPython/core/guarded_eval.py | 1233 | except Exception as e: | CODE |
| LOW⚡ | IPython/core/guarded_eval.py | 1235 | except Exception as e: | CODE |
| LOW | IPython/core/guarded_eval.py | 678 | except Exception: | CODE |
| LOW | IPython/core/guarded_eval.py | 909 | except Exception: | CODE |
| LOW | IPython/core/guarded_eval.py | 917 | except Exception: | CODE |
| LOW | IPython/core/guarded_eval.py | 929 | except Exception: | CODE |
| LOW | IPython/core/guarded_eval.py | 1136 | except Exception: | CODE |
| LOW | IPython/core/guarded_eval.py | 1284 | except Exception: | CODE |
| LOW | IPython/core/page.py | 277 | except Exception: | CODE |
| LOW | IPython/core/page.py | 282 | except Exception: | CODE |
| LOW | IPython/core/doctb.py | 214 | except Exception: | CODE |
| LOW | IPython/core/doctb.py | 258 | except Exception: | CODE |
| MEDIUM | IPython/core/shellapp.py | 386 | def _exec_file(self, fname, shell_futures=False): | CODE |
| LOW | IPython/core/shellapp.py | 302 | except Exception: | CODE |
| LOW | IPython/core/shellapp.py | 333 | except Exception: | CODE |
| LOW | IPython/core/shellapp.py | 342 | except Exception: | CODE |
| LOW | IPython/core/shellapp.py | 378 | except Exception: | CODE |
| LOW | IPython/core/shellapp.py | 382 | except Exception: | CODE |
| LOW | IPython/core/shellapp.py | 429 | except Exception: | CODE |
| LOW | IPython/core/shellapp.py | 442 | except Exception: | CODE |
| LOW | IPython/core/shellapp.py | 455 | except Exception: | CODE |
| LOW | IPython/core/shellapp.py | 467 | except Exception: | CODE |
| LOW | IPython/core/shellapp.py | 485 | except Exception: | CODE |
| MEDIUM⚡ | IPython/core/completer.py | 2563 | print("Error detecting if completing a non-finished string :", e, '|') | CODE |
| LOW⚡ | IPython/core/completer.py | 2560 | except Exception as e: | CODE |
| LOW⚡ | IPython/core/completer.py | 2569 | except Exception as e: | CODE |
| LOW | IPython/core/completer.py | 1295 | except Exception: | CODE |
| LOW | IPython/core/completer.py | 1389 | except Exception as e: | CODE |
| LOW | IPython/core/completer.py | 1410 | except Exception: | CODE |
| LOW | IPython/core/completer.py | 1578 | except Exception: | CODE |
| LOW | IPython/core/completer.py | 2649 | except Exception: | CODE |
| MEDIUM | IPython/core/completer.py | 3410 | print("Error in Jedi getting type of ", jm) | STRING |
| LOW | IPython/core/completer.py | 1165 | except Exception as e: | STRING |
| LOW | IPython/core/completer.py | 2983 | except Exception: | STRING |
| LOW | IPython/core/completer.py | 3000 | except Exception: | STRING |
| LOW | IPython/core/completer.py | 3005 | except Exception: | STRING |
| LOW | IPython/core/completer.py | 3408 | except Exception: | STRING |
| LOW | IPython/core/ultratb.py | 475 | except Exception: | CODE |
| LOW | IPython/core/ultratb.py | 643 | except Exception: | CODE |
| LOW | IPython/core/ultratb.py | 754 | except Exception: | CODE |
| LOW⚡ | IPython/core/display.py | 66 | except Exception: | CODE |
| LOW | IPython/core/application.py | 376 | except Exception: | CODE |
| LOW | IPython/core/interactiveshell.py | 826 | except Exception: | CODE |
| LOW | IPython/core/interactiveshell.py | 1627 | except Exception: | CODE |
| LOW | IPython/core/interactiveshell.py | 2233 | except Exception: | CODE |
| LOW | IPython/core/interactiveshell.py | 3223 | except Exception: | CODE |
| LOW | IPython/core/interactiveshell.py | 3308 | except Exception: | CODE |
| 87 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | IPython/paths.py | 20 | CODE | |
| LOW | IPython/core/prefilter.py | 605 | CODE | |
| LOW | IPython/core/magic.py | 429 | CODE | |
| LOW | IPython/core/magic.py | 688 | CODE | |
| LOW | IPython/core/formatters.py | 457 | CODE | |
| LOW | IPython/core/formatters.py | 572 | CODE | |
| LOW | IPython/core/inputtransformer2.py | 217 | CODE | |
| LOW | IPython/core/inputtransformer2.py | 598 | CODE | |
| LOW | IPython/core/inputtransformer2.py | 646 | CODE | |
| LOW | IPython/core/inputtransformer2.py | 89 | CODE | |
| LOW | IPython/core/inputtransformer2.py | 115 | CODE | |
| LOW | IPython/core/inputtransformer2.py | 359 | CODE | |
| LOW | IPython/core/tbtools.py | 128 | CODE | |
| LOW | IPython/core/guarded_eval.py | 149 | CODE | |
| LOW | IPython/core/guarded_eval.py | 594 | CODE | |
| LOW | IPython/core/guarded_eval.py | 764 | CODE | |
| LOW | IPython/core/guarded_eval.py | 1210 | CODE | |
| LOW | IPython/core/guarded_eval.py | 1273 | CODE | |
| LOW | IPython/core/guarded_eval.py | 1347 | CODE | |
| LOW | IPython/core/page.py | 126 | CODE | |
| LOW | IPython/core/doctb.py | 325 | CODE | |
| LOW | IPython/core/shellapp.py | 318 | CODE | |
| LOW | IPython/core/shellapp.py | 386 | CODE | |
| LOW | IPython/core/shellapp.py | 459 | CODE | |
| LOW | IPython/core/logger.py | 71 | CODE | |
| LOW | IPython/core/completer.py | 1486 | CODE | |
| LOW | IPython/core/completer.py | 1127 | CODE | |
| LOW | IPython/core/completer.py | 1207 | CODE | |
| LOW | IPython/core/completer.py | 1253 | CODE | |
| LOW | IPython/core/completer.py | 2310 | CODE | |
| LOW | IPython/core/completer.py | 2498 | CODE | |
| LOW | IPython/core/completer.py | 2652 | CODE | |
| LOW | IPython/core/completer.py | 2769 | CODE | |
| LOW | IPython/core/completer.py | 2815 | CODE | |
| LOW | IPython/core/completer.py | 2866 | CODE | |
| LOW | IPython/core/completer.py | 2906 | CODE | |
| LOW | IPython/core/completer.py | 3219 | CODE | |
| LOW | IPython/core/completer.py | 3349 | CODE | |
| LOW | IPython/core/completer.py | 3572 | CODE | |
| LOW | IPython/core/ultratb.py | 289 | CODE | |
| LOW | IPython/core/ultratb.py | 853 | CODE | |
| LOW | IPython/core/ultratb.py | 1126 | CODE | |
| LOW | IPython/core/display.py | 371 | CODE | |
| LOW | IPython/core/display.py | 884 | CODE | |
| LOW | IPython/core/debugger.py | 920 | CODE | |
| LOW | IPython/core/debugger.py | 1183 | CODE | |
| LOW | IPython/core/debugger.py | 1249 | CODE | |
| LOW | IPython/core/debugger.py | 438 | CODE | |
| LOW | IPython/core/application.py | 383 | CODE | |
| LOW | IPython/core/interactiveshell.py | 1464 | CODE | |
| LOW | IPython/core/interactiveshell.py | 1574 | CODE | |
| LOW | IPython/core/interactiveshell.py | 1596 | CODE | |
| LOW | IPython/core/interactiveshell.py | 1666 | CODE | |
| LOW | IPython/core/interactiveshell.py | 1710 | CODE | |
| LOW | IPython/core/interactiveshell.py | 1927 | CODE | |
| LOW | IPython/core/interactiveshell.py | 2170 | CODE | |
| LOW | IPython/core/interactiveshell.py | 2560 | CODE | |
| LOW | IPython/core/interactiveshell.py | 2946 | CODE | |
| LOW | IPython/core/interactiveshell.py | 3021 | CODE | |
| LOW | IPython/core/interactiveshell.py | 3503 | CODE | |
| 75 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | setupbase.py | 48 | # Create a dict with the basic information | COMMENT |
| MEDIUM | tools/gen_latex_symbols.py | 79 | # This file is autogenerated from the file: | COMMENT |
| MEDIUM | IPython/core/magic.py | 322 | # Create the actual decorators for public use | COMMENT |
| MEDIUM | IPython/core/magic.py | 541 | # Create the new method in the user_magics and register it in the | COMMENT |
| MEDIUM | IPython/core/historyapp.py | 76 | # Create the new history database. | STRING |
| MEDIUM | IPython/core/completer.py | 3231 | # Create a little structure to pass all the relevant information about | STRING |
| MEDIUM | IPython/core/debugger.py | 116 | # This file is licensed under the PSF license. | COMMENT |
| MEDIUM⚡ | IPython/core/interactiveshell.py | 1251 | # Create the namespace where the user will operate. user_ns is | COMMENT |
| MEDIUM | IPython/core/latex_symbols.py | 5 | # This file is autogenerated from the file: | COMMENT |
| MEDIUM | IPython/core/magics/script.py | 201 | # Create the event loop in which to run script magics | STRING |
| MEDIUM | IPython/terminal/ipapp.py | 295 | # Create an InteractiveShell instance. | COMMENT |
| MEDIUM | IPython/testing/plugin/ipdoctest.py | 189 | # Create an Example, and add it to the list. | STRING |
| MEDIUM⚡ | tests/test_zzz_autoreload.py | 1027 | # Create a test module with only 'foo' attribute | COMMENT |
| MEDIUM⚡ | tests/test_zzz_autoreload.py | 1036 | # Create a tracker | COMMENT |
| MEDIUM | tests/test_zzz_autoreload.py | 934 | # Create a test module with both 'foo' and 'bar' attributes | COMMENT |
| MEDIUM | tests/test_zzz_autoreload.py | 951 | # Create a tracker | COMMENT |
| MEDIUM | tests/test_zzz_autoreload.py | 982 | # Create a test module | COMMENT |
| MEDIUM | tests/test_zzz_autoreload.py | 999 | # Create a tracker | COMMENT |
| MEDIUM | tests/test_zzz_autoreload.py | 1061 | # Create a test module | COMMENT |
| MEDIUM | tests/test_zzz_autoreload.py | 1104 | # Create a test module | COMMENT |
| MEDIUM | tests/test_zzz_autoreload.py | 1147 | # Create a tracker | COMMENT |
| MEDIUM | tests/test_zzz_autoreload.py | 1180 | # Create a tracker | COMMENT |
| MEDIUM | tests/test_prefilter.py | 112 | # Create a callable broken object | COMMENT |
| MEDIUM | tests/test_completer.py | 1546 | # Create a subclass in __main__ (untrusted namespace) | COMMENT |
| MEDIUM | tests/test_application.py | 63 | # Create the config file, so it tries to load it. | COMMENT |
| MEDIUM | tests/test_application.py | 89 | # Create the config file, so it tries to load it. | COMMENT |
| MEDIUM | examples/Embedding/embed_class_short.py | 43 | # Define a dummy ipshell() so the same code doesn't crash inside an | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | IPython/core/historyapp.py | 0 | create table if not exists sessions (session integer primary key autoincrement, start timestamp, end timestamp, num_cmds | STRING |
| HIGH | IPython/core/history.py | 0 | create table if not exists sessions (session integer primary key autoincrement, start timestamp, end timestamp, num_cmds | STRING |
| HIGH | tests/test_historyapp.py | 0 | create table if not exists sessions (session integer primary key autoincrement, start timestamp, end timestamp, num_cmds | STRING |
| HIGH | IPython/core/historyapp.py | 0 | create table if not exists history (session integer, line integer, source text, source_raw text, primary key (session, l | STRING |
| HIGH | IPython/core/history.py | 0 | create table if not exists history (session integer, line integer, source text, source_raw text, primary key (session, l | STRING |
| HIGH | tests/test_historyapp.py | 0 | create table if not exists history (session integer, line integer, source text, source_raw text, primary key (session, l | STRING |
| HIGH | IPython/core/historyapp.py | 0 | create table if not exists output_history (session integer, line integer, output text, primary key (session, line)) | STRING |
| HIGH | IPython/core/history.py | 0 | create table if not exists output_history (session integer, line integer, output text, primary key (session, line)) | STRING |
| HIGH | tests/test_historyapp.py | 0 | create table if not exists output_history (session integer, line integer, output text, primary key (session, line)) | STRING |
| HIGH | IPython/terminal/pt_inputhooks/glut.py | 0 | run the wx event loop by processing pending events only. this is like inputhook_wx1, but it keeps processing pending eve | STRING |
| HIGH | IPython/terminal/pt_inputhooks/pyglet.py | 0 | run the wx event loop by processing pending events only. this is like inputhook_wx1, but it keeps processing pending eve | STRING |
| HIGH | IPython/terminal/pt_inputhooks/wx.py | 0 | run the wx event loop by processing pending events only. this is like inputhook_wx1, but it keeps processing pending eve | STRING |
| HIGH | IPython/utils/_process_posix.py | 0 | emscripten-specific implementation of process utilities. this file is only meant to be imported by process.py, not by en | STRING |
| HIGH | IPython/utils/_process_win32.py | 0 | emscripten-specific implementation of process utilities. this file is only meant to be imported by process.py, not by en | STRING |
| HIGH | IPython/utils/_process_emscripten.py | 0 | emscripten-specific implementation of process utilities. this file is only meant to be imported by process.py, not by en | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | setup.py | 69 | "cd docs/man && python -m gzip --best ipython.1", | STRING |
| HIGH | IPython/core/displayhook.py | 233 | self.shell.push({'_':self._, | CODE |
| HIGH | IPython/core/displayhook.py | 242 | self.shell.push(to_main, interactive=False) | CODE |
| HIGH | IPython/core/history.py | 1026 | self.shell.push(to_main, interactive=False) | CODE |
| HIGH | IPython/extensions/autoreload.py | 840 | self.shell.push({top_name: top_module}) | STRING |
| HIGH⚡ | tests/test_page.py | 272 | page_mod.pager_page(text, screen_lines=10, pager_cmd="cat > /dev/null; exit 3") | CODE |
| HIGH⚡ | tests/test_interactiveshell.py | 873 | ip.push({"f": f}) | CODE |
| HIGH | tests/test_interactiveshell.py | 258 | ip.push(myvars, interactive=False) | CODE |
| HIGH | tests/test_interactiveshell.py | 891 | ip.push({"f": f}) | CODE |
| HIGH | tests/test_interactiveshell.py | 906 | ip.push({"a": 10}) | CODE |
| HIGH | tests/test_interactiveshell.py | 969 | ip.push({"Integer": Integer}) | CODE |
| HIGH | tests/test_interactiveshell.py | 1000 | ip.push({"f": f}) | CODE |
| HIGH | tests/test_interactiveshell.py | 1018 | ip.push({"f": f}) | CODE |
| HIGH | tests/fake_ext_dir/daft_extension.py | 10 | ip.push(some_vars) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pyproject.toml | 421 | # that will be a problem for pytest fixture unless you swap with the usefixture decorator https://docs.pytest.org/en | COMMENT |
| LOW | pyproject.toml | 441 | "UP011", # 1 [*] Unnecessary parentheses to `functools.lru_cache` | COMMENT |
| LOW | pyproject.toml | 461 | # "UP035", # 2 [*] Import from `typing` instead | COMMENT |
| LOW | setup.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | tools/configure-git-blame-ignore-revs.sh | 1 | #!/bin/sh | COMMENT |
| LOW | IPython/__init__.py | 1 | # PYTHON_ARGCOMPLETE_OK | COMMENT |
| LOW | IPython/__main__.py | 1 | # PYTHON_ARGCOMPLETE_OK | COMMENT |
| LOW | IPython/core/prefilter.py | 41 | # RegExp to exclude strings with this start from autocalling. In | COMMENT |
| LOW | IPython/core/completerlib.py | 1 | """Implementations for various useful completers. | COMMENT |
| LOW | IPython/core/completerlib.py | 261 | # 'from xyz import abc<tab>' | COMMENT |
| LOW | IPython/core/release.py | 1 | """Release data for the IPython project.""" | COMMENT |
| LOW | IPython/core/completer.py | 621 | # prone to errors; by explicitly passing `cursor_position` we can decouple the matchers | COMMENT |
| LOW | IPython/core/completer.py | 3781 | """ | COMMENT |
| LOW | IPython/core/ultratb.py | 601 | [(Token, "in "), (Token.VName, func), (Token.ValEm, scope)] | COMMENT |
| LOW | IPython/core/tips.py | 21 | # [2/8/25, 23:29:05] Fernando Perez: Which is also archived here: | COMMENT |
| LOW | IPython/core/interactiveshell.py | 641 | # Check if we're in a virtualenv, and set up sys.path. | COMMENT |
| LOW | IPython/core/interactiveshell.py | 1241 | return | COMMENT |
| LOW | IPython/core/interactiveshell.py | 1261 | # should really track down where the problem is coming from. Alex | COMMENT |
| LOW | IPython/core/interactiveshell.py | 1281 | # should start with "import __builtin__" (note, no 's') which will | COMMENT |
| LOW | IPython/core/interactiveshell.py | 1301 | # script survive, because the user_ns is updated with them. However, | COMMENT |
| LOW | IPython/core/interactiveshell.py | 1401 | ----- | COMMENT |
| LOW | IPython/core/interactiveshell.py | 1841 | try: | COMMENT |
| LOW | IPython/core/interactiveshell.py | 2721 | else: | COMMENT |
| LOW | IPython/core/displayhook.py | 181 | The metadata dict to be associated with the display data. | COMMENT |
| LOW | IPython/core/compilerop.py | 161 | # Save the execution count | COMMENT |
| LOW | IPython/core/magics/logging.py | 1 | """Implementation of magic functions for IPython's own logging. | COMMENT |
| LOW | IPython/core/magics/execution.py | 881 | # being a module to becoming a dict missing some key data after | COMMENT |
| LOW | IPython/core/magics/config.py | 1 | """Implementation of configuration-related magic functions. | COMMENT |
| LOW | IPython/core/magics/pylab.py | 1 | """Implementation of magic functions for matplotlib/pylab support. | COMMENT |
| LOW | IPython/core/magics/code.py | 1 | """Implementation of code management magic functions. | COMMENT |
| LOW | IPython/core/magics/display.py | 1 | """Simple magics for display formats""" | COMMENT |
| LOW | IPython/core/magics/extension.py | 1 | """Implementation of magic functions for the extension machinery. | COMMENT |
| LOW | IPython/core/magics/namespace.py | 1 | """Implementation of namespace-related magic functions. | COMMENT |
| LOW | IPython/core/magics/auto.py | 1 | """Implementation of magic functions that control various automatic behaviors. | COMMENT |
| LOW | IPython/core/magics/history.py | 1 | """Implementation of magic functions related to History. | COMMENT |
| LOW | IPython/sphinxext/ipython_directive.py | 521 | # combined such that '' entries correspond to newlines. So if | COMMENT |
| LOW | IPython/sphinxext/ipython_directive.py | 541 | # tail end, and so this ensures proper spacing as well. E.g.: | COMMENT |
| LOW | IPython/terminal/pt_inputhooks/glut.py | 1 | """GLUT Input hook for interactive use with prompt_toolkit | COMMENT |
| LOW | IPython/terminal/pt_inputhooks/glut.py | 121 | # and switch between a short and long sleep time. Here are some | COMMENT |
| LOW | IPython/terminal/pt_inputhooks/gtk.py | 1 | # Code borrowed from python-prompt-toolkit examples | COMMENT |
| LOW | IPython/terminal/pt_inputhooks/tk.py | 1 | # Code borrowed from ptpython | COMMENT |
| LOW | IPython/terminal/pt_inputhooks/pyglet.py | 41 | window.dispatch_events() | COMMENT |
| LOW | IPython/terminal/pt_inputhooks/wx.py | 121 | ea = wx.EventLoopActivator(evtloop) | COMMENT |
| LOW | IPython/terminal/shortcuts/filters.py | 221 | "has_selection": has_selection, | COMMENT |
| LOW | IPython/utils/module_paths.py | 1 | """Utility functions for finding modules | COMMENT |
| LOW | IPython/utils/_process_posix.py | 101 | enc = DEFAULT_ENCODING | COMMENT |
| LOW | IPython/extensions/autoreload.py | 141 | # Copyright (C) 2008 Pauli Virtanen <pav@iki.fi> | COMMENT |
| LOW | IPython/lib/__init__.py | 1 | """ | COMMENT |
| LOW | tests/test_pycolorize.py | 1 | # coding: utf-8 | COMMENT |
| LOW | tests/test_debug_magic.py | 1 | """Test embedding of IPython""" | COMMENT |
| LOW | tests/test_backgroundjobs.py | 1 | """Tests for pylab tools module.""" | COMMENT |
| LOW | tests/test_async_helpers.py | 61 | def _get_top_level_cases(): | COMMENT |
| LOW | tests/nonascii.py | 1 | # coding: iso-8859-5 | COMMENT |
| LOW | tests/nonascii2.py | 1 | # coding: iso-8859-5 | COMMENT |
| LOW | docs/source/conf.py | 61 | # --------------------- | COMMENT |
| LOW | docs/source/conf.py | 101 | # ----------------------- | COMMENT |
| LOW | examples/Embedding/embed_class_long.py | 81 | COMMENT | |
| LOW | .github/workflows/downstream.yml | 61 | python -m pip install --upgrade --upgrade-strategy eager flaky ipyparallel | COMMENT |
| LOW | .github/workflows/python-package.yml | 41 | # echo " darker -r 60625f241f298b5039cb2debc365db38aa7bb522 ." | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | IPython/__init__.py | 40 | __all__ = ["start_ipython", "embed", "embed_kernel"] | CODE |
| LOW | IPython/core/hooks.py | 51 | __all__ = [ | CODE |
| LOW | IPython/core/tbtools.py | 452 | def _set_ostream(self, val) -> None: # type:ignore[no-untyped-def] | CODE |
| LOW | IPython/core/tbtools.py | 501 | def set_theme_name(self, name: str) -> None: | CODE |
| LOW | IPython/core/tbtools.py | 509 | def set_colors(self, name: str) -> None: | CODE |
| LOW | IPython/core/guarded_eval.py | 1649 | __all__ = [ | CODE |
| LOW⚡ | IPython/core/display_functions.py | 11 | __all__ = ['display', 'clear_output', 'publish_display_data', 'update_display', 'DisplayHandle'] | CODE |
| LOW | IPython/core/completer.py | 279 | __all__ = ["Completer", "IPCompleter"] | CODE |
| LOW | IPython/core/ultratb.py | 1173 | def set_mode(self, mode: str | None = None) -> None: | CODE |
| LOW | IPython/core/display.py | 30 | __all__ = [ | CODE |
| LOW | IPython/core/interactiveshell.py | 2396 | def set_custom_completer(self, completer, pos=0) -> None: | CODE |
| LOW | IPython/core/oinspect.py | 13 | __all__ = ["Inspector"] | CODE |
| LOW | IPython/core/magic_arguments.py | 310 | __all__ = ['magic_arguments', 'argument', 'argument_group', 'kwds', | CODE |
| LOW | IPython/terminal/shortcuts/__init__.py | 35 | __all__ = ["create_ipython_shortcuts"] | CODE |
| LOW | IPython/terminal/shortcuts/filters.py | 322 | __all__ = ["KEYBINDING_FILTERS", "filter_from_string"] | CODE |
| LOW⚡ | IPython/utils/_process_posix.py | 20 | __all__ = ["getoutput", "arg_split", "system", "check_pid"] | CODE |
| LOW⚡ | IPython/utils/ipstruct.py | 22 | __all__ = ['Struct'] | CODE |
| LOW | IPython/utils/PyColorize.py | 23 | __all__ = ["Parser", "Theme"] | CODE |
| LOW | IPython/utils/_process_emscripten.py | 22 | __all__ = ["system", "getoutput", "check_pid", "arg_split"] | CODE |
| LOW | IPython/extensions/deduperreload/deduperreload.py | 200 | def update_sources(self) -> None: | CODE |
| LOW | IPython/lib/display.py | 13 | __all__ = ['Audio', 'IFrame', 'YouTubeVideo', 'VimeoVideo', 'ScribdDocument', | CODE |
| LOW | IPython/lib/pretty.py | 115 | __all__ = ['pretty', 'pprint', 'PrettyPrinter', 'RepresentationPrinter', | CODE |
| LOW | IPython/lib/demo.py | 191 | __all__ = ['Demo','IPythonDemo','LineDemo','IPythonLineDemo','DemoError'] | CODE |
| LOW | IPython/lib/lexers.py | 24 | __all__ = [ | CODE |
| LOW | tests/bad_all.py | 15 | __all__ = [ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | IPython/core/magic.py | 734 | # Check if we have more than one argument to warrant extra processing: | COMMENT |
| LOW | IPython/core/guarded_eval.py | 191 | # Check if the method comes from this trusted base class | COMMENT |
| LOW | IPython/core/completer.py | 2635 | # Check if first token is a known alias | COMMENT |
| LOW | IPython/core/tips.py | 117 | # Check if argcomplete is installed and add tip | COMMENT |
| LOW | IPython/core/interactiveshell.py | 3531 | # Check if the exception (or its context) is an ExceptionGroup. | COMMENT |
| LOW | IPython/core/interactiveshell.py | 4093 | if os.path.isfile(tgt): # Read file | CODE |
| LOW | IPython/core/interactiveshell.py | 641 | # Check if we're in a virtualenv, and set up sys.path. | STRING |
| LOW | IPython/core/magics/basic.py | 636 | # Check if this execution_count is in exceptions (current session) | COMMENT |
| LOW | IPython/core/magics/packaging.py | 55 | # Check if there is a conda executable in the same directory as the Python executable. | COMMENT |
| LOW | IPython/core/magics/history.py | 164 | # Check if output to specific file was requested. | COMMENT |
| LOW | IPython/utils/text.py | 409 | # Check if all characters in this position are the same | COMMENT |
| LOW | IPython/extensions/autoreload.py | 500 | # Check if there's already a different mapping for the same resolved_name from a different original_name | COMMENT |
| LOW | tests/test_magic.py | 1030 | # Check if notebook is trusted | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | setup.py | 24 | # This check is also made in IPython/__init__, don't forget to update both when | COMMENT |
| LOW⚡ | setup.py | 24 | # This check is also made in IPython/__init__, don't forget to update both when | COMMENT |
| LOW⚡ | IPython/__init__.py | 30 | # Don't forget to also update setup.py when this changes! | COMMENT |
| MEDIUM | IPython/core/formatters.py | 636 | how to write pretty printers. Here is a simple example:: | STRING |
| LOW | IPython/core/magics/code.py | 571 | close it (don't forget to save it!). | STRING |
| MEDIUM | IPython/terminal/embed.py | 427 | Here is a simple example:: | STRING |
| MEDIUM | IPython/lib/latextools.py | 38 | # unicode pretty printing is used, you can use ["matplotlib"]. | COMMENT |
| MEDIUM | examples/Embedding/embed_class_long.py | 91 | # - A call-specific header string, which you can use to indicate where in the | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | IPython/core/tbtools.py | 129 | """Hopefully pretty robust repr equivalent.""" | STRING |
| LOW | IPython/core/completer.py | 1301 | # Note: ideally we would just return words here and the prefix | COMMENT |
| LOW | IPython/core/interactiveshell.py | 962 | # but others can symlink *to* the venv Python, so we can't just use sys.executable. | COMMENT |
| LOW | IPython/core/interactiveshell.py | 2670 | # pexpect or pipes to read from. Users can always just call | COMMENT |
| LOW | IPython/core/magics/script.py | 206 | # just create an event loop | STRING |
| LOW | IPython/sphinxext/ipython_directive.py | 791 | # exception, but for now, we just set the backend to 'agg'. | COMMENT |
| LOW | IPython/terminal/embed.py | 147 | # Ask-exit does not really ask, it just set internals flags to exit | COMMENT |
| LOW | IPython/utils/ipstruct.py | 110 | # I can't simply call hasattr here because it calls getattr, which | COMMENT |
| LOW | IPython/utils/timing.py | 69 | # There is no distinction of user/system time under windows, so we just use | COMMENT |
| MEDIUM | tests/test_debugger.py | 752 | """Create a comprehensive module hierarchy for testing all debugger commands.""" | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | IPython/core/doctb.py | 100 | CODE | |
| LOW | IPython/core/ultratb.py | 497 | CODE | |
| LOW | IPython/core/ultratb.py | 1089 | CODE | |
| LOW | IPython/core/display.py | 884 | CODE | |
| LOW | IPython/core/display.py | 1132 | CODE | |
| LOW | IPython/core/display.py | 1254 | CODE | |
| LOW | IPython/core/interactiveshell.py | 2493 | CODE | |
| LOW | IPython/core/interactiveshell.py | 2900 | CODE | |
| LOW | IPython/core/magic_arguments.py | 140 | CODE | |
| LOW | IPython/lib/display.py | 112 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | tests/test_debugger_backport.py | 93 | # the internal evaluation scaffolding must not leak into the locals | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_tokenutil.py | 48 | def test_function(): | CODE |
| LOW | tests/test_completer.py | 2103 | " def my_method(self) -> str:", | CODE |
| LOW | tests/test_completer.py | 2115 | " def my_method(self) -> str:", | CODE |
| LOW | tests/test_completer.py | 2127 | " def my_method(self) -> str:", | CODE |
| LOW | tests/test_completer.py | 2139 | " def my_method(self):", | CODE |
| LOW | tests/test_completer.py | 2225 | " def my_method(self):", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/test_shortcuts.py | 650 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_display_2.py | 406 | """use a tempfile, with dummy-data, to ensure that video embedding doesn't crash""" | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | IPython/core/guarded_eval.py | 788 | The purpose of this function is to guard against unwanted side-effects; | STRING |