Brython (Browser Python) is an implementation of Python 3 running in the browser
This report summarizes scanner evidence for brython-dev/brython, a Python project with 6,610 GitHub stars. SynthScan examined 943,749 lines of code across 2000 source files, recording 12648 pattern matches distributed across 27 syntactic categories. The legacy adjusted pattern signal is 18.2 (Elevated pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 9349 finding(s).
Are imports declared and package/API names verified? 993 finding(s).
Are wrappers, guards, and repeated structures necessary? 9838 finding(s).
Which changes need focused human review? 12648 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 12648 distinct pattern matches across 27 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | server_modular_send_head.py | 689 | except (TypeError, IndexError, OverflowError, ValueError): | CODE |
| HIGH | server_modular_send_head.py | 1223 | except OSError: | CODE |
| HIGH | server_modular_send_head.py | 1158 | except (binascii.Error, UnicodeError): | CODE |
| HIGH | www/speed/benchmarks/header.py | 39 | except: | CODE |
| HIGH | www/tests/test_string_methods.py | 49 | except ValueError: | CODE |
| HIGH | www/tests/issues.py | 177 | except TypeError: | CODE |
| HIGH | www/tests/issues.py | 183 | except TypeError: | CODE |
| HIGH | www/tests/issues.py | 364 | except AttributeError: | CODE |
| HIGH | www/tests/issues.py | 1025 | except TypeError: | CODE |
| HIGH | www/tests/issues.py | 1033 | except TypeError: | CODE |
| HIGH | www/tests/issues.py | 1041 | except IOError: | CODE |
| HIGH | www/tests/issues.py | 1131 | except TypeError: | CODE |
| HIGH | www/tests/issues.py | 1264 | except TypeError: | CODE |
| HIGH | www/tests/issues.py | 1301 | except TypeError: | CODE |
| HIGH | www/tests/issues.py | 1307 | except TypeError: | CODE |
| HIGH | www/tests/issues.py | 1314 | except TypeError: | CODE |
| HIGH | www/tests/issues.py | 1323 | except TypeError: | CODE |
| HIGH | www/tests/issues.py | 1340 | except TypeError: | CODE |
| HIGH | www/tests/issues.py | 1351 | except TypeError: | CODE |
| HIGH | www/tests/issues.py | 1520 | except SyntaxError: | CODE |
| HIGH | www/tests/issues.py | 1620 | except Exception: | CODE |
| HIGH | www/tests/issues.py | 1625 | except Exception: | CODE |
| HIGH | www/tests/issues.py | 1630 | except CustomException: | CODE |
| HIGH | www/tests/issues.py | 1635 | except CustomException: | CODE |
| HIGH | www/tests/issues.py | 1652 | except TypeError: | CODE |
| HIGH | www/tests/issues.py | 1740 | except NameError: | CODE |
| HIGH | www/tests/issues.py | 1817 | except AttributeError: | CODE |
| HIGH | www/tests/issues.py | 1870 | except TypeError: | CODE |
| HIGH | www/tests/issues.py | 2190 | except: | CODE |
| HIGH | www/tests/issues.py | 2374 | except ZeroDivisionError: | CODE |
| HIGH | www/tests/issues.py | 2380 | except ZeroDivisionError: | CODE |
| HIGH | www/tests/issues.py | 2386 | except ZeroDivisionError: | CODE |
| HIGH | www/tests/issues.py | 2392 | except ZeroDivisionError: | CODE |
| HIGH | www/tests/issues.py | 2431 | except SystemExit: | CODE |
| HIGH | www/tests/issues.py | 2613 | except SyntaxError: | CODE |
| HIGH | www/tests/issues.py | 2658 | except SyntaxError: | CODE |
| HIGH | www/tests/issues.py | 2664 | except SyntaxError: | CODE |
| HIGH | www/tests/issues.py | 2678 | except SyntaxError: | CODE |
| HIGH | www/tests/issues.py | 2835 | except NameError: | CODE |
| HIGH | www/tests/issues.py | 2866 | except NameError: | CODE |
| HIGH | www/tests/issues.py | 2886 | except TypeError: | CODE |
| HIGH | www/tests/issues.py | 2996 | except NameError: | CODE |
| HIGH | www/tests/test_iterators.py | 12 | except StopIteration: | CODE |
| HIGH | www/tests/test_iterators.py | 24 | except StopIteration: | CODE |
| HIGH | www/tests/test_iterators.py | 50 | except StopIteration: | CODE |
| HIGH | www/tests/issues_gc.py | 85 | except: | CODE |
| HIGH | www/tests/issues_gc.py | 411 | except SyntaxError: | CODE |
| HIGH | www/tests/issues_gc.py | 420 | except TypeError: | CODE |
| HIGH | www/tests/issues_gc.py | 428 | except TypeError: | CODE |
| HIGH | www/tests/issues_gc.py | 436 | except TypeError: | CODE |
| HIGH | www/tests/issues_gc.py | 444 | except TypeError: | CODE |
| HIGH | www/tests/issues_gc.py | 451 | except SyntaxError: | CODE |
| HIGH | www/tests/issues_gc.py | 37 | except: | CODE |
| HIGH | www/tests/issues_gc.py | 44 | except: | CODE |
| HIGH | www/tests/issues_gc.py | 51 | except: | CODE |
| HIGH | www/tests/issues_gc.py | 58 | except Exception: | CODE |
| HIGH | www/tests/issues_bb.py | 258 | except SyntaxError: | CODE |
| HIGH | www/tests/issues_bb.py | 267 | except TypeError: | CODE |
| HIGH | www/tests/issues_bb.py | 273 | except SyntaxError: | CODE |
| HIGH | www/tests/issues_bb.py | 494 | except (IndexError, TypeError) as err: | CODE |
| 1081 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | server_modular_send_head.py | 147 | class BaseHTTPRequestHandler(socketserver.StreamRequestHandler): | CODE |
| LOW | server_modular_send_head.py | 627 | class SimpleHTTPRequestHandler(BaseHTTPRequestHandler): | CODE |
| LOW | server_modular_send_head.py | 1011 | class CGIHTTPRequestHandler(SimpleHTTPRequestHandler): | CODE |
| LOW | www/tests/issues.py | 1895 | def test_yield_in_comprehensions(self): | STRING |
| LOW | www/tests/async_manager.py | 32 | def _set_exception_if_not_done(self, fut, ex): | CODE |
| LOW | www/tests/test_decorators.py | 25 | def function_decorate_function(f): | CODE |
| LOW | www/tests/test_decorators.py | 52 | def function_decorated_function(x=0): | CODE |
| LOW | www/tests/test_re.html | 236 | def test_sub_template_numeric_escape(self): | CODE |
| LOW | www/tests/test_re.html | 617 | def test_sre_character_literals(self): | CODE |
| LOW | www/tests/test_re.html | 649 | def test_character_set_errors(self): | CODE |
| LOW | www/tests/test_re.html | 686 | def test_re_groupref_overflow(self): | CODE |
| LOW | www/tests/test_re.html | 832 | def test_named_unicode_escapes(self): | CODE |
| LOW | www/tests/test_re.html | 1056 | def test_possible_set_operations(self): | CODE |
| LOW | www/tests/test_re.html | 1155 | def test_re_escape_non_ascii_bytes(self): | CODE |
| LOW | www/tests/test_re.html | 1221 | def test_unlimited_zero_width_repeat(self): | CODE |
| LOW | www/tests/test_re.html | 1471 | def test_dollar_matches_twice(self): | CODE |
| LOW | www/tests/test_re.html | 1496 | def test_ascii_and_unicode_flag(self): | CODE |
| LOW | www/tests/test_re.html | 1682 | def test_repeat_minmax_overflow(self): | CODE |
| LOW | www/tests/test_re.html | 1698 | def test_repeat_minmax_overflow_maxrepeat(self): | CODE |
| LOW | www/tests/test_re.html | 1712 | def test_backref_group_name_in_exception(self): | CODE |
| LOW | www/tests/test_re.html | 1717 | def test_group_name_in_exception(self): | CODE |
| LOW | www/tests/test_re.html | 2017 | def test_pattern_compare_bytes(self): | STRING |
| LOW | www/tests/test_time.py | 171 | def test_strftime_bounding_check(self): | CODE |
| LOW | www/tests/test_time.py | 174 | def test_default_values_for_zero(self): | CODE |
| LOW | www/tests/test_time.py | 204 | def test_strptime_exception_context(self): | CODE |
| LOW | www/tests/test_time.py | 229 | def test_asctime_bounding_check(self): | CODE |
| LOW | www/tests/test_time.py | 345 | def test_localtime_without_arg(self): | CODE |
| LOW | www/tests/test_jsobjects.py | 340 | def pyfunc_receives_js_number(num): | CODE |
| LOW | www/tests/test_set.py | 142 | def symmetric_difference_update(s): | CODE |
| LOW | www/tests/test_set.py | 179 | def symmetric_difference_update_self(t): | CODE |
| LOW | www/tests/test_suite.py | 596 | def assign_expr_in_comp_global(): | CODE |
| LOW | www/tests/test_suite.py | 603 | def assign_expr_in_comp_nonlocal(): | CODE |
| LOW | www/tests/test_suite.py | 993 | def optional_keyword_only_arg(*, a, b=None): | STRING |
| LOW⚡ | www/tests/test_patma.py | 28 | def check_sequence_then_mapping(x): | CODE |
| LOW⚡ | www/tests/test_patma.py | 36 | def check_mapping_then_sequence(x): | CODE |
| LOW⚡ | www/tests/test_patma.py | 43 | def test_multiple_inheritance_mapping(self): | CODE |
| LOW | www/tests/test_patma.py | 63 | def test_multiple_inheritance_sequence(self): | CODE |
| LOW | www/tests/test_patma.py | 83 | def test_late_registration_mapping(self): | CODE |
| LOW | www/tests/test_patma.py | 106 | def test_late_registration_sequence(self): | CODE |
| LOW | www/tests/test_patma.py | 2665 | def test_attribute_name_repeated_in_class_pattern(self): | STRING |
| LOW | www/tests/test_patma.py | 2714 | def test_mapping_pattern_keys_may_only_match_literals_and_attribute_lookups(self): | STRING |
| LOW | www/tests/test_patma.py | 2904 | def test_mapping_pattern_duplicate_key(self): | STRING |
| LOW | www/tests/test_patma.py | 2991 | def test_match_args_elements_must_be_strings(self): | STRING |
| LOW | www/tests/brython_test_utils/__init__.py | 6 | def discover_brython_test_modules(): | CODE |
| LOW | www/tests/unittests/test/test_int.py | 233 | def test_non_numeric_input_types(self): | CODE |
| LOW | www/tests/compression/huffman.py | 4 | def codelengths_from_frequencies(freqs): | CODE |
| LOW | www/cgi-bin/cgi.py | 747 | def read_lines_to_outerboundary(self): | CODE |
| LOW | www/src/Lib/shutil.py | 118 | def _determine_linux_fastcopy_blocksize(infd): | CODE |
| LOW | www/src/Lib/shutil.py | 137 | def _fastcopy_copy_file_range(fsrc, fdst): | CODE |
| LOW | www/src/Lib/shutil.py | 1181 | def unregister_archive_format(name): | CODE |
| LOW | www/src/Lib/pkgutil.py | 131 | def _iter_file_finder_modules(importer, prefix=''): | CODE |
| LOW | www/src/Lib/ipaddress.py | 184 | def _count_righthand_zero_bits(number, bits): | CODE |
| LOW | www/src/Lib/ipaddress.py | 255 | def _collapse_addresses_internal(addresses): | CODE |
| LOW | www/src/Lib/ipaddress.py | 475 | def _prefix_from_prefix_string(cls, prefixlen_str): | CODE |
| LOW | www/src/Lib/ipaddress.py | 1144 | def _explode_shorthand_ip_string(self): | CODE |
| LOW | www/src/Lib/ipaddress.py | 1810 | def _explode_shorthand_ip_string(self): | CODE |
| LOW | www/src/Lib/zipimport.py | 560 | def _get_zlib_decompress_func(): | CODE |
| LOW | www/src/Lib/zipimport.py | 590 | def _get_zstd_decompressor_class(): | CODE |
| LOW | www/src/Lib/zipimport.py | 764 | def _get_mtime_and_size_of_source(self, path): | CODE |
| LOW | www/src/Lib/functools.py | 1182 | def _warn_python_reduce_kwargs(py_reduce): | CODE |
| 7427 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | www/speed/benchmarks/augm_assign_and_append.py | 10 | list.push(i); | CODE |
| HIGH | www/tests/test_jsobjects.py | 90 | obj = javascript.JSON.parse('{"foo": null}') | CODE |
| HIGH⚡ | www/tests/test_null.py | 3 | assert(JSObject(null) == None) | CODE |
| HIGH⚡ | www/tests/test_null.py | 4 | assert(JSObject(null) is None) | CODE |
| HIGH⚡ | www/tests/test_null.py | 6 | assert(None is JSObject(null)) | CODE |
| HIGH⚡ | www/tests/test_null.py | 7 | assert(None == JSObject(null)) | CODE |
| HIGH⚡ | www/tests/test_null.py | 8 | assert(JSObject(null) is JSObject(null)) | CODE |
| HIGH | www/tests/test_suite.py | 55 | print("Failed.. n should be undefined, but n:", n) | CODE |
| HIGH | www/tests/test_json.py | 49 | assert json.loads("[0, null]") == [0, None] | CODE |
| HIGH | www/tests/compression/huffman.py | 73 | currentlen = self.length() | CODE |
| HIGH | www/tests/compression/huffman.py | 123 | while self.length() > maxlevels: | CODE |
| HIGH | www/src/Lib/code.py | 276 | more = self.push(line) | CODE |
| HIGH | www/src/Lib/_csv.py | 578 | def field_size_limit(limit=undefined): | CODE |
| HIGH | www/src/Lib/numbers.py | 53 | ## binary floats (i.e. Decimal('3.14') + 2.71828 is undefined). But, | COMMENT |
| HIGH | www/src/Lib/zlib.py | 86 | currentlen = self.length() | CODE |
| HIGH | www/src/Lib/zlib.py | 136 | while self.length() > maxlevels: | CODE |
| HIGH | www/src/Lib/posixpath.py | 81 | path[:0] + sep #23780: Ensure compatible data type even if p is null. | CODE |
| HIGH⚡ | www/src/Lib/locale.py | 1734 | print('Language: ', lang or '(undefined)') | CODE |
| HIGH⚡ | www/src/Lib/locale.py | 1735 | print('Encoding: ', enc or '(undefined)') | CODE |
| HIGH⚡ | www/src/Lib/locale.py | 1743 | print(' Language: ', lang or '(undefined)') | CODE |
| HIGH⚡ | www/src/Lib/locale.py | 1744 | print(' Encoding: ', enc or '(undefined)') | CODE |
| HIGH | www/src/Lib/locale.py | 1760 | print(' Language: ', lang or '(undefined)') | CODE |
| HIGH | www/src/Lib/locale.py | 1761 | print(' Encoding: ', enc or '(undefined)') | CODE |
| HIGH | www/src/Lib/select.py | 22 | return error(-1, 'Unmapped java exception: <%s:%s>' % (exc.toString(), circumstance)) | CODE |
| HIGH | www/src/Lib/ntpath.py | 119 | path[:0] + sep #23780: Ensure compatible data type even if p is null. | CODE |
| HIGH⚡ | www/src/Lib/test/test_poplib.py | 81 | self.push('-ERR unrecognized POP3 command "%s".' %cmd) | CODE |
| HIGH⚡ | www/src/Lib/test/test_poplib.py | 87 | asynchat.async_chat.push(self, data.encode("ISO-8859-1") + b'\r\n') | CODE |
| HIGH⚡ | www/src/Lib/test/test_poplib.py | 91 | self.push(arg) | CODE |
| HIGH⚡ | www/src/Lib/test/test_poplib.py | 95 | self.push("-ERR no such user") | CODE |
| HIGH⚡ | www/src/Lib/test/test_poplib.py | 96 | self.push('+OK password required') | CODE |
| HIGH⚡ | www/src/Lib/test/test_poplib.py | 100 | self.push("-ERR wrong password") | CODE |
| HIGH⚡ | www/src/Lib/test/test_poplib.py | 101 | self.push('+OK 10 messages') | CODE |
| HIGH⚡ | www/src/Lib/test/test_poplib.py | 104 | self.push('+OK 10 100') | CODE |
| HIGH⚡ | www/src/Lib/test/test_poplib.py | 108 | self.push('+OK %s %s' % (arg, arg)) | CODE |
| HIGH⚡ | www/src/Lib/test/test_poplib.py | 110 | self.push('+OK') | CODE |
| HIGH⚡ | www/src/Lib/test/test_poplib.py | 111 | asynchat.async_chat.push(self, LIST_RESP) | CODE |
| HIGH⚡ | www/src/Lib/test/test_poplib.py | 116 | self.push('+OK %s bytes' %len(RETR_RESP)) | CODE |
| HIGH⚡ | www/src/Lib/test/test_poplib.py | 117 | asynchat.async_chat.push(self, RETR_RESP) | CODE |
| HIGH⚡ | www/src/Lib/test/test_poplib.py | 122 | self.push('+OK message marked for deletion.') | CODE |
| HIGH⚡ | www/src/Lib/test/test_poplib.py | 125 | self.push('+OK done nothing.') | CODE |
| HIGH⚡ | www/src/Lib/test/test_poplib.py | 128 | self.push('+OK done nothing.') | CODE |
| HIGH⚡ | www/src/Lib/test/test_poplib.py | 131 | self.push('+OK done nothing.') | CODE |
| HIGH⚡ | www/src/Lib/test/test_poplib.py | 134 | self.push('+OK closing.') | CODE |
| HIGH⚡ | www/src/Lib/test/test_poplib.py | 144 | self.push('+OK Capability list follows') | CODE |
| HIGH⚡ | www/src/Lib/test/test_poplib.py | 150 | self.push(' '.join(_ln)) | CODE |
| HIGH⚡ | www/src/Lib/test/test_poplib.py | 151 | self.push('.') | CODE |
| HIGH⚡ | www/src/Lib/test/test_poplib.py | 154 | self.push('+OK I know RFC6856' | CODE |
| HIGH⚡ | www/src/Lib/test/test_poplib.py | 162 | self.push('+OK Begin TLS negotiation') | CODE |
| HIGH | www/src/Lib/test/test_poplib.py | 60 | self.push('+OK dummy pop3 server ready. <timestamp>') | CODE |
| HIGH | www/src/Lib/test/test_poplib.py | 176 | self.push('-ERR Command not permitted when TLS active') | CODE |
| HIGH | www/src/Lib/test/test_poplib.py | 444 | self.push('+OK dummy pop3 server ready. <timestamp>') | CODE |
| HIGH⚡ | www/src/Lib/test/test_gettext.py | 530 | f = gettext.c2py('n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < 20)) ? 1 : 2') | CODE |
| HIGH⚡ | www/src/Lib/test/test_gettext.py | 536 | f = gettext.c2py('n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2') | CODE |
| HIGH⚡ | www/src/Lib/test/test_gettext.py | 536 | f = gettext.c2py('n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2') | CODE |
| HIGH⚡ | www/src/Lib/test/test_gettext.py | 542 | f = gettext.c2py('n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2') | CODE |
| HIGH⚡ | www/src/Lib/test/test_gettext.py | 542 | f = gettext.c2py('n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2') | CODE |
| HIGH⚡ | www/src/Lib/test/test_gettext.py | 548 | f = gettext.c2py('(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2') | CODE |
| HIGH⚡ | www/src/Lib/test/test_gettext.py | 554 | f = gettext.c2py('n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2') | CODE |
| HIGH⚡ | www/src/Lib/test/test_gettext.py | 554 | f = gettext.c2py('n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2') | CODE |
| HIGH⚡ | www/src/Lib/test/test_gettext.py | 560 | f = gettext.c2py('n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3') | CODE |
| 239 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | server_modular_send_head.py | 940 | CODE | |
| LOW | server_modular_send_head.py | 648 | CODE | |
| LOW | server_modular_send_head.py | 679 | CODE | |
| LOW | server_modular_send_head.py | 1084 | CODE | |
| LOW | setup/brython/list_modules.py | 507 | CODE | |
| LOW | setup/brython/list_modules.py | 574 | CODE | |
| LOW | setup/brython/list_modules.py | 113 | CODE | |
| LOW | setup/brython/list_modules.py | 167 | CODE | |
| LOW | setup/brython/list_modules.py | 215 | CODE | |
| LOW | setup/brython/list_modules.py | 254 | CODE | |
| LOW | setup/brython/list_modules.py | 309 | CODE | |
| LOW | setup/brython/list_modules.py | 381 | CODE | |
| LOW | setup/brython/list_modules.py | 661 | CODE | |
| LOW | setup/brython/list_modules.py | 703 | CODE | |
| LOW | setup/brython/make_package.py | 46 | CODE | |
| LOW | www/speed/benchmarks/pystone.py | 186 | CODE | |
| LOW | www/gallery/synth_keyboard.py | 393 | CODE | |
| LOW | www/gallery/synth_keyboard.py | 455 | CODE | |
| LOW | www/gallery/show_source.py | 93 | CODE | |
| LOW | www/gallery/editor.py | 20 | CODE | |
| LOW | www/gallery/editor.py | 94 | CODE | |
| LOW | www/gallery/kanban.py | 300 | CODE | |
| LOW | www/gallery/sudoku.py | 29 | CODE | |
| LOW | www/gallery/draw.py | 206 | CODE | |
| LOW | www/gallery/draw.py | 99 | CODE | |
| LOW | www/gallery/music/drum_score.py | 168 | CODE | |
| LOW | www/tests/issues.py | 2490 | CODE | |
| LOW | www/tests/async_manager.py | 43 | CODE | |
| LOW | www/tests/console.py | 135 | CODE | |
| LOW | www/tests/console.py | 215 | CODE | |
| LOW | www/tests/tester.py | 403 | CODE | |
| LOW | www/tests/test_web_worker.py | 11 | CODE | |
| LOW | www/tests/editor.py | 117 | CODE | |
| LOW | www/tests/editor.py | 136 | CODE | |
| LOW | www/tests/input_interpreter.py | 54 | CODE | |
| LOW | www/tests/input_interpreter.py | 206 | CODE | |
| LOW | www/tests/input_interpreter.py | 373 | CODE | |
| LOW | www/tests/test_aio.py | 214 | CODE | |
| LOW | www/tests/unittests/test/pystone.py | 188 | CODE | |
| LOW | www/tests/unittests/test/test_int.py | 29 | CODE | |
| LOW | www/tests/compression/deflate.py | 33 | CODE | |
| LOW | www/tests/compression/deflate.py | 74 | CODE | |
| LOW | www/tests/compression/deflate.py | 162 | CODE | |
| LOW | www/tests/compression/deflate.py | 183 | CODE | |
| LOW | www/tests/compression/deflate.py | 218 | CODE | |
| LOW | www/tests/compression/deflate.py | 249 | CODE | |
| LOW | www/tests/compression/deflate.py | 453 | CODE | |
| LOW | www/tests/compression/huffman.py | 249 | CODE | |
| LOW | www/tests/compression/bitio.py | 32 | CODE | |
| LOW | www/tests/compression/lz77.py | 3 | CODE | |
| LOW | www/cgi-bin/cgi.py | 129 | CODE | |
| LOW | www/cgi-bin/cgi.py | 747 | CODE | |
| LOW | www/assets/header.py | 73 | CODE | |
| LOW | www/assets/header.py | 169 | CODE | |
| LOW | www/slideshow/en/slideshow.py | 40 | CODE | |
| LOW | www/src/Lib/zipfile.py | 689 | CODE | |
| LOW | www/src/Lib/zipfile.py | 724 | CODE | |
| LOW | www/src/Lib/zipfile.py | 2475 | CODE | |
| LOW | www/src/Lib/zipfile.py | 487 | CODE | |
| LOW | www/src/Lib/zipfile.py | 1168 | CODE | |
| 934 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | www/gallery/kanban.py | 1 | # ---------------------------------------------------------- | COMMENT |
| MEDIUM | www/gallery/kanban.py | 9 | # ---------------------------------------------------------- | COMMENT |
| MEDIUM | www/gallery/kanban.py | 26 | # ---------------------------------------------------------- | COMMENT |
| MEDIUM | www/gallery/kanban.py | 31 | # ---------------------------------------------------------- | COMMENT |
| MEDIUM | www/gallery/kanban.py | 82 | # ---------------------------------------------------------- | COMMENT |
| MEDIUM | www/gallery/kanban.py | 101 | # ---------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | www/gallery/kanban.py | 291 | # ---------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | www/gallery/kanban.py | 295 | # ---------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | www/gallery/kanban.py | 299 | # ---------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | www/gallery/kanban.py | 338 | # ---------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | www/gallery/kanban.py | 343 | # ---------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | www/gallery/kanban.py | 349 | # ---------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | www/gallery/kanban.py | 355 | # ---------------------------------------------------------- | COMMENT |
| MEDIUM | www/gallery/kanban.py | 379 | # ---------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | www/gallery/raphael/raphael-min.js | 1 | // ┌────────────────────────────────────────────────────────────────────┐ \\ | COMMENT |
| MEDIUM⚡ | www/gallery/raphael/raphael-min.js | 3 | // ├────────────────────────────────────────────────────────────────────┤ \\ | COMMENT |
| MEDIUM⚡ | www/gallery/raphael/raphael-min.js | 6 | // ├────────────────────────────────────────────────────────────────────┤ \\ | COMMENT |
| MEDIUM⚡ | www/gallery/raphael/raphael-min.js | 8 | // └────────────────────────────────────────────────────────────────────┘ \\ | COMMENT |
| MEDIUM | www/tests/issues.py | 3505 | # ========================================== | STRING |
| MEDIUM | www/tests/issues.py | 3507 | # ========================================== | STRING |
| MEDIUM | www/tests/delegator.py | 1 | #--------------------------------------------- | COMMENT |
| MEDIUM | www/cgi-bin/cgi.py | 60 | # =============== | COMMENT |
| MEDIUM | www/cgi-bin/cgi.py | 123 | # ================= | COMMENT |
| MEDIUM | www/cgi-bin/cgi.py | 260 | # ========================= | COMMENT |
| MEDIUM | www/cgi-bin/cgi.py | 851 | # =============== | COMMENT |
| MEDIUM | www/cgi-bin/cgi.py | 1008 | # =============== | STRING |
| MEDIUM | www/src/Lib/heapq.py | 412 | # ============================================== | COMMENT |
| MEDIUM | www/src/Lib/heapq.py | 442 | # ----------------------------------------------- | COMMENT |
| MEDIUM | www/src/Lib/heapq.py | 462 | # ---------------------- | COMMENT |
| MEDIUM | www/src/Lib/heapq.py | 469 | # ---------------------- | COMMENT |
| MEDIUM | www/src/Lib/numbers.py | 50 | ## ---------------- | COMMENT |
| MEDIUM | www/src/Lib/random.py | 203 | ## ------------------------------------------------------- | COMMENT |
| MEDIUM | www/src/Lib/random.py | 277 | ## -------------------------------------------------------- | COMMENT |
| MEDIUM | www/src/Lib/random.py | 889 | ## ------------------------------------------------------------------ | COMMENT |
| MEDIUM | www/src/Lib/random.py | 930 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | www/src/Lib/random.py | 964 | ## ------------------------------------------------------ | COMMENT |
| MEDIUM | www/src/Lib/random.py | 1005 | ## ------------------------------------------------------ | COMMENT |
| MEDIUM | www/src/Lib/random.py | 1012 | # ------------------------------------------------------ | COMMENT |
| MEDIUM | www/src/Lib/re1.py | 184 | # -------------------------------------------------------------------- | STRING |
| MEDIUM | www/src/Lib/re1.py | 282 | # -------------------------------------------------------------------- | COMMENT |
| MEDIUM | www/src/Lib/re1.py | 343 | # -------------------------------------------------------------------- | COMMENT |
| MEDIUM | www/src/Lib/argparse.py | 106 | # ============================= | COMMENT |
| MEDIUM | www/src/Lib/argparse.py | 108 | # ============================= | COMMENT |
| MEDIUM | www/src/Lib/argparse.py | 157 | # =============== | COMMENT |
| MEDIUM | www/src/Lib/argparse.py | 159 | # =============== | COMMENT |
| MEDIUM | www/src/Lib/argparse.py | 239 | # =============================== | COMMENT |
| MEDIUM | www/src/Lib/argparse.py | 241 | # =============================== | COMMENT |
| MEDIUM | www/src/Lib/argparse.py | 291 | # ======================== | COMMENT |
| MEDIUM | www/src/Lib/argparse.py | 293 | # ======================== | COMMENT |
| MEDIUM | www/src/Lib/argparse.py | 335 | # ======================= | COMMENT |
| MEDIUM | www/src/Lib/argparse.py | 337 | # ======================= | COMMENT |
| MEDIUM⚡ | www/src/Lib/argparse.py | 866 | # ===================== | STRING |
| MEDIUM⚡ | www/src/Lib/argparse.py | 868 | # ===================== | STRING |
| MEDIUM⚡ | www/src/Lib/argparse.py | 1576 | # ==================== | STRING |
| MEDIUM⚡ | www/src/Lib/argparse.py | 1578 | # ==================== | STRING |
| MEDIUM⚡ | www/src/Lib/argparse.py | 1587 | # ================================== | STRING |
| MEDIUM⚡ | www/src/Lib/argparse.py | 1589 | # ================================== | STRING |
| MEDIUM | www/src/Lib/argparse.py | 918 | # ============== | STRING |
| MEDIUM | www/src/Lib/argparse.py | 920 | # ============== | STRING |
| MEDIUM | www/src/Lib/argparse.py | 1439 | # ============== | STRING |
| 259 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | manage.py | 3 | CODE | |
| LOW | small_node_app.py | 1 | CODE | |
| LOW | small_node_app.py | 2 | CODE | |
| LOW | small_node_app.py | 3 | CODE | |
| LOW | setup/brython/make_file_system.py | 3 | CODE | |
| LOW | setup/brython/make_file_system.py | 4 | CODE | |
| LOW | setup/brython/make_package.py | 3 | CODE | |
| LOW | www/speed/speed.py | 7 | CODE | |
| LOW | www/speed/speed.py | 8 | CODE | |
| LOW | www/speed/speed.py | 11 | CODE | |
| LOW | www/speed/make_report.py | 7 | CODE | |
| LOW | www/speed/perf_bookkeeping.py | 3 | CODE | |
| LOW | www/speed/benchmarks/bm_ai.py | 13 | CODE | |
| LOW | www/speed/benchmarks/bm_ai.py | 14 | CODE | |
| LOW | www/speed/benchmarks/header.py | 2 | CODE | |
| LOW | www/speed/benchmarks/pystone_proc8.py | 33 | CODE | |
| LOW | www/gallery/synth_keyboard.py | 1 | CODE | |
| LOW | www/gallery/synth_keyboard.py | 3 | CODE | |
| LOW | www/gallery/synth_keyboard.py | 3 | CODE | |
| LOW | www/gallery/sidebar.py | 4 | CODE | |
| LOW | www/gallery/three_webgl_interactive_cubes.py | 7 | CODE | |
| LOW | www/gallery/navi.py | 4 | CODE | |
| LOW | www/gallery/synthesizer.py | 1 | CODE | |
| LOW | www/gallery/sudoku.py | 9 | CODE | |
| LOW | www/gallery/draw.py | 1 | CODE | |
| LOW | www/gallery/music/synth_drums.py | 5 | CODE | |
| LOW | www/gallery/music/synth_drums.py | 8 | CODE | |
| LOW | www/gallery/music/synth_drums.py | 8 | CODE | |
| LOW | www/gallery/music/player.py | 5 | CODE | |
| LOW | www/gallery/music/player.py | 6 | CODE | |
| LOW | www/gallery/music/player.py | 8 | CODE | |
| LOW | www/gallery/music/player.py | 10 | CODE | |
| LOW | www/gallery/music/drum_score.py | 1 | CODE | |
| LOW | www/gallery/music/drum_score.py | 1 | CODE | |
| LOW | www/gallery/highcharts/examples/gauge-clock/chart.py | 2 | CODE | |
| LOW | www/gallery/raphael/picker.py | 1 | CODE | |
| LOW | www/tests/issues.py | 3198 | CODE | |
| LOW | www/tests/issues.py | 3229 | CODE | |
| LOW | www/tests/issues.py | 511 | CODE | |
| LOW | www/tests/async_manager.py | 3 | CODE | |
| LOW | www/tests/console.py | 5 | CODE | |
| LOW | www/tests/console.py | 5 | CODE | |
| LOW | www/tests/tester.py | 17 | CODE | |
| LOW | www/tests/test_pages.py | 5 | CODE | |
| LOW | www/tests/test_decorators.py | 1 | CODE | |
| LOW | www/tests/test_numbers.py | 285 | CODE | |
| LOW | www/tests/test_unittest.py | 39 | CODE | |
| LOW | www/tests/test_generators.py | 301 | CODE | |
| LOW | www/tests/test_exceptions.py | 219 | CODE | |
| LOW | www/tests/recursive_import.py | 1 | CODE | |
| LOW | www/tests/test_functools.py | 3 | CODE | |
| LOW | www/tests/test_file.py | 1 | CODE | |
| LOW | www/tests/test_file.py | 1 | CODE | |
| LOW | www/tests/test_file.py | 1 | CODE | |
| LOW | www/tests/test_strings.py | 2 | CODE | |
| LOW | www/tests/editor.py | 3 | CODE | |
| LOW | www/tests/editor.py | 8 | CODE | |
| LOW | www/tests/exception_traces.py | 5 | CODE | |
| LOW | www/tests/exception_traces.py | 134 | CODE | |
| LOW | www/tests/test_markdown.py | 2 | CODE | |
| 553 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | www/speed/speed.py | 100 | except Exception as exc: | CODE |
| LOW | www/speed/make_report.py | 40 | except Exception as exc: | CODE |
| LOW | www/speed/perf_bookkeeping.py | 22 | except Exception as exc: | CODE |
| LOW | www/tests/issues.py | 2976 | except Exception as e: | CODE |
| LOW | www/tests/issues.py | 2978 | except Exception as e: | CODE |
| LOW | www/tests/issues.py | 1620 | except Exception: | STRING |
| LOW | www/tests/issues.py | 1625 | except Exception: | STRING |
| LOW | www/tests/tester.py | 259 | except Exception as exc: | CODE |
| LOW | www/tests/issues_gc.py | 58 | except Exception: | CODE |
| LOW | www/tests/issues_gc.py | 65 | except Exception as ex: | CODE |
| MEDIUM | www/tests/issues_gc.py | 33 | def test1(): | CODE |
| MEDIUM | www/tests/issues_gc.py | 61 | def test5(): | CODE |
| LOW | www/tests/index.html | 171 | except Exception as exc: | CODE |
| LOW | www/tests/test_re.html | 108 | except Exception as exc: | CODE |
| MEDIUM | www/tests/test_re.html | 103 | def checkPatternError(self, pattern, errmsg, pos=None): | CODE |
| LOW | www/tests/test_jsobjects.py | 260 | except Exception as exc: | CODE |
| LOW | www/tests/test_generators.py | 1156 | except Exception as ee: | CODE |
| LOW | www/tests/test_generators.py | 1202 | except Exception as ee: | CODE |
| LOW⚡ | www/tests/test_generators.py | 1224 | except Exception as exc: | CODE |
| LOW⚡ | www/tests/test_generators.py | 1230 | except Exception as exc: | CODE |
| LOW⚡ | www/tests/test_generators.py | 1236 | except Exception as exc: | CODE |
| MEDIUM | www/tests/test_indexedDB.py | 40 | print("Error: %s" % (event.result)) | CODE |
| LOW | www/tests/test_suite.py | 510 | except Exception as exc: | CODE |
| LOW | www/tests/editor.py | 217 | except Exception as exc: | CODE |
| LOW | www/tests/test_pattern_matching.py | 22 | except Exception as exc: | CODE |
| LOW | www/tests/test_pattern_matching.py | 41 | except Exception as exc: | CODE |
| LOW | www/tests/test_pattern_matching.py | 53 | except Exception as exc: | CODE |
| MEDIUM | www/tests/test_pattern_matching.py | 5 | def assert_syntax_error(self, code): | CODE |
| LOW | www/tests/test_aio.py | 157 | except Exception as e: | CODE |
| LOW | www/tests/test_aio.py | 348 | except Exception as exc: | CODE |
| MEDIUM | www/tests/test_aio.py | 344 | def wait_error(): | CODE |
| LOW | www/tests/test_classes.py | 337 | except Exception as __e: | CODE |
| LOW | www/tests/test_classes.py | 738 | except Exception as exc: | CODE |
| MEDIUM | www/tests/test_classes.py | 334 | def test(self): | CODE |
| LOW⚡ | www/tests/test_traceback.py | 16 | except Exception: | STRING |
| LOW⚡ | www/tests/test_traceback.py | 24 | except Exception: | STRING |
| LOW | www/tests/brython_test_utils/__init__.py | 111 | except Exception as exc: | CODE |
| LOW | www/benchmarks/index.html | 52 | except Exception as exc: | CODE |
| LOW | www/src/Lib/shutil.py | 105 | except Exception as err: | CODE |
| LOW | www/src/Lib/shutil.py | 147 | except Exception as err: | CODE |
| LOW | www/src/Lib/shutil.py | 196 | except Exception as err: | CODE |
| LOW | www/src/Lib/pkgutil.py | 83 | except Exception: | CODE |
| LOW | www/src/Lib/rlcompleter.py | 159 | except Exception: | CODE |
| LOW | www/src/Lib/zipimport.py | 575 | except Exception: | CODE |
| LOW | www/src/Lib/zipimport.py | 605 | except Exception: | CODE |
| LOW | www/src/Lib/zipimport.py | 669 | except Exception: | CODE |
| LOW | www/src/Lib/zipimport.py | 675 | except Exception: | CODE |
| MEDIUM | www/src/Lib/zipimport.py | 295 | def _read_directory(archive): | CODE |
| LOW | www/src/Lib/_typing.py | 241 | except Exception as exc: | CODE |
| LOW | www/src/Lib/weakref.py | 569 | except Exception: | CODE |
| LOW | www/src/Lib/traceback.py | 1160 | except Exception as e: | CODE |
| LOW | www/src/Lib/traceback.py | 1440 | except Exception: | CODE |
| LOW | www/src/Lib/traceback.py | 1901 | except Exception: | CODE |
| LOW | www/src/Lib/traceback.py | 1913 | except Exception: | CODE |
| LOW | www/src/Lib/traceback.py | 1921 | except Exception: | CODE |
| LOW | www/src/Lib/traceback.py | 1946 | except Exception: | CODE |
| MEDIUM | www/src/Lib/code.py | 155 | print('Error in sys.excepthook:', file=sys.stderr) | CODE |
| MEDIUM | www/src/Lib/pydoc.py | 591 | def repr_instance(self, x, level): | CODE |
| LOW | www/src/Lib/pydoc.py | 948 | except Exception: | CODE |
| LOW | www/src/Lib/pydoc.py | 994 | except Exception: | CODE |
| 479 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | setup/brython/list_modules.py | 384 | # Create a temporary directory | COMMENT |
| MEDIUM | setup/brython/list_modules.py | 390 | # Create a package "data" in this directory | COMMENT |
| MEDIUM | www/demo.html | 1016 | # Create a new DOM FileReader instance | COMMENT |
| MEDIUM | www/gallery/binary_file_reader.html | 116 | # Create a new DOM FileReader instance | COMMENT |
| MEDIUM | www/gallery/webworker_mdn.html | 87 | # Create a web worker, identified by a script id in this page. | COMMENT |
| MEDIUM | www/gallery/webcomponent.html | 204 | # Create a shadow root | STRING |
| MEDIUM | www/gallery/webcomponent.html | 243 | # Create a shadow root | STRING |
| MEDIUM | www/gallery/music/synth_drums.py | 42 | # Create a new DOM FileReader instance | COMMENT |
| MEDIUM | www/gallery/music/play_song_part.html | 270 | # Create a new DOM FileReader instance | COMMENT |
| MEDIUM | www/tests/editor.html | 100 | # Create a lambda around editor.run() so that the event object is not passed to it | COMMENT |
| MEDIUM | www/src/Lib/_pyio.py | 273 | # Define a default pure-Python implementation for open_code() | STRING |
| MEDIUM | www/src/Lib/_struct.py | 2 | # This module is a pure Python version of pypy.module.struct. | COMMENT |
| MEDIUM | www/src/Lib/ipaddress.py | 1452 | """This class represents and manipulates 32-bit IPv4 network + addresses.. | STRING |
| MEDIUM | www/src/Lib/ipaddress.py | 2164 | """This class represents and manipulates 128-bit IPv6 networks. | STRING |
| MEDIUM | www/src/Lib/_compat_pickle.py | 1 | # This module is used to map the old Python 2 names to the new names used in | COMMENT |
| MEDIUM | www/src/Lib/bdb.py | 885 | # The following methods can be called by clients to use | COMMENT |
| MEDIUM | www/src/Lib/bdb.py | 936 | # This method is more useful to debug a single function call. | COMMENT |
| MEDIUM | www/src/Lib/gc.py | 1 | """This module provides access to the garbage collector for reference cycles. | STRING |
| MEDIUM | www/src/Lib/gettext.py | 13 | # This module represents the integration of work, contributions, feedback, and | COMMENT |
| MEDIUM | www/src/Lib/subprocess.py | 1974 | # This method is called (indirectly) by __del__, so it cannot | COMMENT |
| MEDIUM | www/src/Lib/subprocess.py | 2172 | # This method is called from the _communicate_with_*() methods | COMMENT |
| MEDIUM | www/src/Lib/profile.py | 438 | # This method is more useful to profile a single function call. | COMMENT |
| MEDIUM | www/src/Lib/code.py | 162 | # This method is being overwritten in | COMMENT |
| MEDIUM | www/src/Lib/pydoc.py | 757 | # Create a link for methods like 'self.method(...)' | COMMENT |
| MEDIUM⚡ | www/src/Lib/types.py | 328 | # The following code is primarily to support functions that | COMMENT |
| MEDIUM | www/src/Lib/pdb.py | 697 | """This method is called when there is the remote possibility | STRING |
| MEDIUM | www/src/Lib/pdb.py | 706 | """This function is called when we stop or break at this line.""" | STRING |
| MEDIUM | www/src/Lib/pdb.py | 739 | """This function is called when a return trap is set here.""" | STRING |
| MEDIUM | www/src/Lib/pdb.py | 748 | """This function is called if an exception occurs, | STRING |
| MEDIUM | www/src/Lib/zlib.py | 320 | # Create a Huffman tree for the codelengths | COMMENT |
| MEDIUM | www/src/Lib/threading.py | 330 | # This method is called only if _lock doesn't have _is_owned(). | COMMENT |
| MEDIUM | www/src/Lib/threading.py | 1308 | # Create a local namespace to ensure that variables remain alive | COMMENT |
| MEDIUM | www/src/Lib/threading.py | 1552 | # Create the main thread object, | COMMENT |
| MEDIUM | www/src/Lib/threading.py | 147 | """This class implements reentrant lock objects. | STRING |
| MEDIUM | www/src/Lib/threading.py | 460 | """This class implements semaphore objects. | STRING |
| MEDIUM | www/src/Lib/_frozen_importlib.py | 465 | # This function is meant for use in _setup(). | COMMENT |
| MEDIUM | www/src/Lib/inspect.py | 29 | # This module is in the public domain. No warranties. | COMMENT |
| MEDIUM | www/src/Lib/faulthandler.py | 44 | """This method is called when a class is subclassed. | STRING |
| MEDIUM | www/src/Lib/annotationlib.py | 167 | # Create a new locals dict if necessary, | COMMENT |
| MEDIUM | www/src/Lib/_pydatetime.py | 494 | # This function is intended to validate datetimes, but because | COMMENT |
| MEDIUM | www/src/Lib/fractions.py | 183 | """This class implements rational numbers. | STRING |
| MEDIUM | www/src/Lib/_ast_unparse.py | 1 | # This module contains ``ast.unparse()``, defined here | COMMENT |
| MEDIUM | www/src/Lib/ast.py | 628 | # The following code is for backward compatibility. | COMMENT |
| MEDIUM | www/src/Lib/doctest.py | 153 | # Create a new flag unless `name` is already known. | STRING |
| MEDIUM | www/src/Lib/doctest.py | 676 | # Create an Example, and add it to the list. | STRING |
| MEDIUM | www/src/Lib/doctest.py | 1299 | # Create a fake output target for capturing doctest output. | STRING |
| MEDIUM | www/src/Lib/dataclasses.py | 381 | # This function is used instead of exposing Field creation directly, | COMMENT |
| MEDIUM | www/src/Lib/dataclasses.py | 530 | # Create an __annotate__ function for a dataclass | COMMENT |
| MEDIUM | www/src/Lib/dataclasses.py | 1203 | # Create a comparison function. If the fields in the object are | COMMENT |
| MEDIUM | www/src/Lib/dataclasses.py | 1229 | # Create a class doc-string lazily via descriptor protocol | COMMENT |
| MEDIUM | www/src/Lib/dataclasses.py | 1349 | # Create a new dict for our new class. | COMMENT |
| MEDIUM | www/src/Lib/dataclasses.py | 1816 | # Create the new object, which calls __init__() and | COMMENT |
| MEDIUM | www/src/Lib/_signal.py | 1 | """This module provides mechanisms to use signal handlers in Python. | STRING |
| MEDIUM | www/src/Lib/tarfile.py | 1128 | # Create a pax extended header if necessary. | COMMENT |
| MEDIUM | www/src/Lib/tarfile.py | 2336 | # Create a TarInfo object from the file. | COMMENT |
| MEDIUM | www/src/Lib/stringprep.py | 1 | # This file is generated by mkstringprep.py. DO NOT EDIT. | COMMENT |
| MEDIUM | www/src/Lib/uuid.py | 573 | # The following functions call external programs to 'get' a macaddr value to | COMMENT |
| MEDIUM | www/src/Lib/imp.py | 1 | """This module provides the components needed to build your own __import__ | STRING |
| MEDIUM | www/src/Lib/encodings/idna.py | 1 | # This module implements the RFCs 3490 (IDNA) and 3491 (Nameprep) | COMMENT |
| MEDIUM | www/src/Lib/unittest/test/test_break.py | 175 | # Creating a TextTestRunner with the appropriate argument should | COMMENT |
| 110 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | server.py | 0 | <!doctype html> <html> <head> <meta charset="utf-8"> <title>brython speed compared to cpython</title> <link rel="stylesh | STRING |
| HIGH | bihan_app.py | 0 | <!doctype html> <html> <head> <meta charset="utf-8"> <title>brython speed compared to cpython</title> <link rel="stylesh | STRING |
| HIGH | server_aiohttp.py | 0 | <!doctype html> <html> <head> <meta charset="utf-8"> <title>brython speed compared to cpython</title> <link rel="stylesh | STRING |
| HIGH | www/cgi-bin/store_speed.py | 0 | <!doctype html> <html> <head> <meta charset="utf-8"> <title>brython speed compared to cpython</title> <link rel="stylesh | STRING |
| HIGH | www/speed/pystone.html | 0 | "pystone" benchmark program version: python/1.1 (corresponds to c/1.1 plus 2 pystone fixes) author: reinhold p. weicker, | STRING |
| HIGH | www/speed/pystone_old_versions.html | 0 | "pystone" benchmark program version: python/1.1 (corresponds to c/1.1 plus 2 pystone fixes) author: reinhold p. weicker, | STRING |
| HIGH | www/speed/benchmarks/pystone_proc8.py | 0 | "pystone" benchmark program version: python/1.1 (corresponds to c/1.1 plus 2 pystone fixes) author: reinhold p. weicker, | STRING |
| HIGH | www/speed/benchmarks/pystone.py | 0 | "pystone" benchmark program version: python/1.1 (corresponds to c/1.1 plus 2 pystone fixes) author: reinhold p. weicker, | STRING |
| HIGH | www/tests/unittests/test/pystone.py | 0 | "pystone" benchmark program version: python/1.1 (corresponds to c/1.1 plus 2 pystone fixes) author: reinhold p. weicker, | STRING |
| HIGH | www/src/Lib/test/pystone.py | 0 | "pystone" benchmark program version: python/1.1 (corresponds to c/1.1 plus 2 pystone fixes) author: reinhold p. weicker, | STRING |
| HIGH | www/gallery/webworker_mdn.html | 0 | handle a message sent by the main script. evt.data is the message body. | STRING |
| HIGH | www/doc/fr/browser.worker.md | 0 | handle a message sent by the main script. evt.data is the message body. | STRING |
| HIGH | www/doc/es/worker.md | 0 | handle a message sent by the main script. evt.data is the message body. | STRING |
| HIGH | www/doc/en/browser.worker.md | 0 | handle a message sent by the main script. evt.data is the message body. | STRING |
| HIGH | www/gallery/webworker_mdn.html | 0 | called when the value in one of the input fields changes. | STRING |
| HIGH | www/doc/fr/browser.worker.md | 0 | called when the value in one of the input fields changes. | STRING |
| HIGH | www/doc/es/worker.md | 0 | called when the value in one of the input fields changes. | STRING |
| HIGH | www/doc/en/browser.worker.md | 0 | called when the value in one of the input fields changes. | STRING |
| HIGH | www/gallery/kanban.py | 0 | copyright 2012-2024 pierre quentel pierre.quentel@gmail.com redistribution and use in source and binary forms, with or w | STRING |
| HIGH | www/tests/console.py | 0 | copyright 2012-2024 pierre quentel pierre.quentel@gmail.com redistribution and use in source and binary forms, with or w | STRING |
| HIGH | www/tests/input_interpreter.py | 0 | copyright 2012-2024 pierre quentel pierre.quentel@gmail.com redistribution and use in source and binary forms, with or w | STRING |
| HIGH | www/src/Lib/optparse.py | 0 | copyright 2012-2024 pierre quentel pierre.quentel@gmail.com redistribution and use in source and binary forms, with or w | STRING |
| HIGH | www/src/Lib/interpreter.py | 0 | copyright 2012-2024 pierre quentel pierre.quentel@gmail.com redistribution and use in source and binary forms, with or w | STRING |
| HIGH | www/tests/console.py | 0 | thanks to cwi, cnri, beopen.com, zope corporation and a cast of thousands for supporting python development. see www.pyt | STRING |
| HIGH | www/tests/input_interpreter.py | 0 | thanks to cwi, cnri, beopen.com, zope corporation and a cast of thousands for supporting python development. see www.pyt | STRING |
| HIGH | www/src/Lib/interpreter.py | 0 | thanks to cwi, cnri, beopen.com, zope corporation and a cast of thousands for supporting python development. see www.pyt | STRING |
| HIGH | www/tests/console.py | 0 | copyright (c) 2012, pierre quentel pierre.quentel@gmail.com all rights reserved. copyright (c) 2001-2022 python software | STRING |
| HIGH | www/tests/input_interpreter.py | 0 | copyright (c) 2012, pierre quentel pierre.quentel@gmail.com all rights reserved. copyright (c) 2001-2022 python software | STRING |
| HIGH | www/src/Lib/interpreter.py | 0 | copyright (c) 2012, pierre quentel pierre.quentel@gmail.com all rights reserved. copyright (c) 2001-2022 python software | STRING |
| HIGH | www/tests/console.py | 0 | remove calls to function in this script from the traceback. | STRING |
| HIGH | www/tests/console_input.html | 0 | remove calls to function in this script from the traceback. | STRING |
| HIGH | www/tests/input_interpreter.py | 0 | remove calls to function in this script from the traceback. | STRING |
| HIGH | www/src/Lib/interpreter.py | 0 | remove calls to function in this script from the traceback. | STRING |
| HIGH | www/tests/test_re.html | 0 | \ subpattern 1 0 0 literal 46 branch in literal 99 literal 104 or literal 112 literal 121 groupref_exists 1 at at_end el | STRING |
| HIGH | www/src/Lib/test/test_re_original.py | 0 | \ subpattern 1 0 0 literal 46 branch in literal 99 literal 104 or literal 112 literal 121 groupref_exists 1 at at_end el | STRING |
| HIGH | www/src/Lib/test/test_re.py | 0 | \ subpattern 1 0 0 literal 46 branch in literal 99 literal 104 or literal 112 literal 121 groupref_exists 1 at at_end el | STRING |
| HIGH | www/tests/test_re.html | 0 | re.compile('both \\'single\\' and "double" quotes') | STRING |
| HIGH | www/src/Lib/test/test_re_original.py | 0 | re.compile('both \\'single\\' and "double" quotes') | STRING |
| HIGH | www/src/Lib/test/test_re.py | 0 | re.compile('both \\'single\\' and "double" quotes') | STRING |
| HIGH | www/tests/compression/test_huffman.py | 0 | pleurez, doux alcyons, ô vous, oiseaux sacrés, oiseaux chers à thétis, doux alcyons, pleurez. elle a vécu, myrto, la jeu | STRING |
| HIGH | www/tests/compression/test_deflate.py | 0 | pleurez, doux alcyons, ô vous, oiseaux sacrés, oiseaux chers à thétis, doux alcyons, pleurez. elle a vécu, myrto, la jeu | STRING |
| HIGH | www/tests/compression/bitio.py | 0 | pleurez, doux alcyons, ô vous, oiseaux sacrés, oiseaux chers à thétis, doux alcyons, pleurez. elle a vécu, myrto, la jeu | STRING |
| HIGH | www/tests/compression/test_lz77.py | 0 | pleurez, doux alcyons, ô vous, oiseaux sacrés, oiseaux chers à thétis, doux alcyons, pleurez. elle a vécu, myrto, la jeu | STRING |
| HIGH | www/doc/fr/browser.svg.md | 0 | 75,38 90,80 135,80 98,107 111,150 75,125 38,150 51,107 15,80 60,80 | STRING |
| HIGH | www/doc/es/svg.md | 0 | 75,38 90,80 135,80 98,107 111,150 75,125 38,150 51,107 15,80 60,80 | STRING |
| HIGH | www/doc/en/browser.svg.md | 0 | 75,38 90,80 135,80 98,107 111,150 75,125 38,150 51,107 15,80 60,80 | STRING |
| HIGH | www/src/Lib/genericpath.py | 0 | test whether a path exists. returns true for broken symbolic links | STRING |
| HIGH | www/src/Lib/posixpath.py | 0 | test whether a path exists. returns true for broken symbolic links | STRING |
| HIGH | www/src/Lib/ntpath.py | 0 | test whether a path exists. returns true for broken symbolic links | STRING |
| HIGH | www/src/Lib/_frozen_importlib.py | 0 | core implementation of path-based import. this module is not meant to be directly imported! it has been designed such th | STRING |
| HIGH | www/src/Lib/importlib/_bootstrap.py | 0 | core implementation of path-based import. this module is not meant to be directly imported! it has been designed such th | STRING |
| HIGH | www/src/Lib/importlib/_bootstrap_external.py | 0 | core implementation of path-based import. this module is not meant to be directly imported! it has been designed such th | STRING |
| HIGH | www/src/Lib/_frozen_importlib.py | 0 | meta path import for frozen modules. all methods are either class or static methods to avoid the need to instantiate the | STRING |
| HIGH | www/src/Lib/faulthandler.py | 0 | meta path import for frozen modules. all methods are either class or static methods to avoid the need to instantiate the | STRING |
| HIGH | www/src/Lib/importlib/_bootstrap.py | 0 | meta path import for frozen modules. all methods are either class or static methods to avoid the need to instantiate the | STRING |
| HIGH | www/src/Lib/_frozen_importlib.py | 0 | return repr for the module. the method is deprecated. the import machinery does the job itself. | STRING |
| HIGH | www/src/Lib/faulthandler.py | 0 | return repr for the module. the method is deprecated. the import machinery does the job itself. | STRING |
| HIGH | www/src/Lib/importlib/_bootstrap.py | 0 | return repr for the module. the method is deprecated. the import machinery does the job itself. | STRING |
| HIGH | www/src/Lib/encodings/raw_unicode_escape.py | 0 | python 'utf-16' codec written by marc-andre lemburg (mal@lemburg.com). (c) copyright cnri, all rights reserved. no warra | STRING |
| HIGH | www/src/Lib/encodings/utf_8.py | 0 | python 'utf-16' codec written by marc-andre lemburg (mal@lemburg.com). (c) copyright cnri, all rights reserved. no warra | STRING |
| 12 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | server_modular_send_head.py | 41 | # | COMMENT |
| LOW | server_modular_send_head.py | 61 | # | | COMMENT |
| LOW | www/gallery/highcharts/js/modules/funnel.js | 21 | //# sourceMappingURL=funnel.js.map | COMMENT |
| LOW | www/gallery/pygame/chimp.html | 181 | #while going: | COMMENT |
| LOW | www/gallery/raphael/raphael-min.js | 1 | // ┌────────────────────────────────────────────────────────────────────┐ \\ | COMMENT |
| LOW | www/tests/test_time.py | 1 | from test import support | COMMENT |
| LOW | www/tests/test_time.py | 41 | #self.assertFalse(info.monotonic) | COMMENT |
| LOW | www/tests/test_time.py | 61 | #a = time.clock_gettime(time.CLOCK_MONOTONIC) | COMMENT |
| LOW | www/tests/test_time.py | 241 | # If mktime fails, ctime will fail too. This may happen | COMMENT |
| LOW | www/tests/test_time.py | 261 | ## systems. | COMMENT |
| LOW | www/tests/test_time.py | 281 | COMMENT | |
| LOW | www/tests/test_time.py | 301 | ## (non-DST timezone), and "EDT" instead of "AEDT" (DST timezone), | COMMENT |
| LOW | www/tests/test_time.py | 361 | #continue | COMMENT |
| LOW | www/tests/test_time.py | 401 | self.assertGreater(t2, t1) | COMMENT |
| LOW | www/tests/test_time.py | 421 | COMMENT | |
| LOW | www/tests/test_time.py | 461 | #clocks = ['clock', 'perf_counter', 'process_time', 'time'] | COMMENT |
| LOW | www/tests/test_time.py | 481 | #def setUp(self): | COMMENT |
| LOW | www/tests/test_time.py | 601 | #def test_time_t(self): | COMMENT |
| LOW | www/tests/test_time.py | 621 | #rnd = _PyTime_ROUND_DOWN | COMMENT |
| LOW | www/tests/test_time.py | 641 | #(1.1234560, (1, 123456), _PyTime_ROUND_DOWN), | COMMENT |
| LOW | www/tests/test_time.py | 661 | #(-0.0000041, (-1, 999995), _PyTime_ROUND_UP), | COMMENT |
| LOW | www/tests/test_time.py | 681 | #(1e-9, (0, 1), _PyTime_ROUND_DOWN), | COMMENT |
| LOW | www/tests/test_time.py | 701 | #(1.1234567890, (1, 123456790), _PyTime_ROUND_UP), | COMMENT |
| LOW | www/benchmarks/performance/bm_regex_effbot.py | 141 | COMMENT | |
| LOW | www/benchmarks/performance/bm_regex_v8.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | www/benchmarks/performance/bm_regex_v8.py | 21 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | COMMENT |
| LOW | www/benchmarks/performance/bm_regex_v8.py | 1681 | return util.run_benchmark(geo_mean, num_runs, test_regex_v8) | COMMENT |
| LOW | www/benchmarks/performance/bm_html5lib.py | 61 | # with open(spec_filename) as spec_fh: | COMMENT |
| LOW | www/benchmarks/performance/bm_nbody.py | 141 | # util.add_standard_options_to(parser) | COMMENT |
| LOW | www/cgi-bin/cgi.py | 21 | """ | COMMENT |
| LOW | www/cgi-bin/cgi.py | 441 | if 'name' in pdict: | COMMENT |
| LOW | www/src/py_utils.js | 201 | if (kw && kw.hasOwnProperty(arg_name)) { | COMMENT |
| LOW | www/src/gen_parse.js | 1121 | } | COMMENT |
| LOW | www/src/gen_parse.js | 1741 | } | COMMENT |
| LOW | www/src/gen_parse.js | 20021 | _res = NULL | COMMENT |
| LOW | www/src/py_import.js | 1201 | // Main entry point for __import__ | COMMENT |
| LOW | www/src/libs/_random.js | 1 | // Javascript implementation of the _random module | COMMENT |
| LOW | www/src/Lib/zipfile.py | 141 | # _MASK_UNUSED_BIT_8 = 1 << 8 | COMMENT |
| LOW | www/src/Lib/tabnanny.py | 141 | # the number of leading whitespace characters in raw | COMMENT |
| LOW | www/src/Lib/tabnanny.py | 181 | def longest_run_of_spaces(self): | COMMENT |
| LOW | www/src/Lib/tabnanny.py | 221 | a.append( (ts, | COMMENT |
| LOW | www/src/Lib/zipimport.py | 281 | # | COMMENT |
| LOW | www/src/Lib/_markupbase.py | 61 | # This is some sort of declaration; in "HTML as | COMMENT |
| LOW | www/src/Lib/gettext.py | 21 | # which also included a pure-Python implementation to read .mo files if | COMMENT |
| LOW | www/src/Lib/gettext.py | 641 | return dnpgettext(_current_domain, context, msgid1, msgid2, n) | COMMENT |
| LOW | www/src/Lib/cmath.py | 121 | def sqrt(x): | COMMENT |
| LOW | www/src/Lib/cmath.py | 481 | # problematic: | COMMENT |
| LOW | www/src/Lib/heapq.py | 241 | # both its children, but turns out that's not a good idea, and despite that | COMMENT |
| LOW | www/src/Lib/heapq.py | 261 | # 1837 cut to 1663 14996 cut to 8680 | COMMENT |
| LOW | www/src/Lib/heapq.py | 421 | # ------------- ---------------- --------------------- ----------------- | COMMENT |
| LOW | www/src/Lib/heapq.py | 441 | # Computing the number of comparisons for step 3: | COMMENT |
| LOW | www/src/Lib/heapq.py | 461 | # Worst-case for step 3: | COMMENT |
| LOW | www/src/Lib/traceback.py | 861 | Given source code `segment` corresponding to a FrameSummary, determine: | COMMENT |
| LOW | www/src/Lib/traceback.py | 1721 | print(line, file=file, end="") | COMMENT |
| LOW | www/src/Lib/subprocess.py | 241 | # we can write up to _PIPE_BUF bytes without risk of blocking. | COMMENT |
| LOW | www/src/Lib/subprocess.py | 981 | COMMENT | |
| LOW | www/src/Lib/subprocess.py | 2181 | COMMENT | |
| LOW | www/src/Lib/profile.py | 1 | # | COMMENT |
| LOW | www/src/Lib/profile.py | 441 | sys.setprofile(self.dispatcher) | COMMENT |
| LOW | www/src/Lib/profile.py | 461 | # done on the fly during init() time, but it is not worth the | COMMENT |
| 310 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | server_modular_send_head.py | 85 | __all__ = [ | CODE |
| LOW | setup/brython/list_modules.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | www/cgi-bin/cgi.py | 51 | __all__ = ["MiniFieldStorage", "FieldStorage", "parse", "parse_multipart", | CODE |
| LOW | www/src/Lib/zipfile.py | 38 | __all__ = ["BadZipFile", "BadZipfile", "error", | CODE |
| LOW | www/src/Lib/shutil.py | 65 | __all__ = ["copyfileobj", "copyfile", "copymode", "copystat", "copy", "copy2", | CODE |
| LOW | www/src/Lib/tempfile.py | 26 | __all__ = [ | CODE |
| LOW | www/src/Lib/queue.py | 13 | __all__ = [ | CODE |
| LOW | www/src/Lib/pkgutil.py | 15 | __all__ = [ | CODE |
| LOW | www/src/Lib/_dummy_thread.py | 16 | __all__ = ['error', 'start_new_thread', 'exit', 'get_ident', 'allocate_lock', | CODE |
| LOW | www/src/Lib/copyreg.py | 7 | __all__ = ["pickle", "constructor", | CODE |
| LOW | www/src/Lib/rlcompleter.py | 41 | __all__ = ["Completer"] | CODE |
| LOW | www/src/Lib/gzip.py | 14 | __all__ = ["BadGzipFile", "GzipFile", "open", "compress", "decompress"] | CODE |
| LOW | www/src/Lib/bdb.py | 11 | __all__ = ["BdbQuit", "Bdb", "Breakpoint"] | CODE |
| LOW | www/src/Lib/cmd.py | 47 | __all__ = ["Cmd"] | CODE |
| LOW | www/src/Lib/tabnanny.py | 23 | __all__ = ["check", "NannyNag", "process_tokens"] | CODE |
| LOW | www/src/Lib/zipimport.py | 21 | __all__ = ['ZipImportError', 'zipimporter'] | CODE |
| LOW | www/src/Lib/token.py | 4 | __all__ = ['tok_name', 'ISTERMINAL', 'ISNONTERMINAL', 'ISEOF', | CODE |
| LOW | www/src/Lib/textwrap.py | 10 | __all__ = ['TextWrapper', 'wrap', 'fill', 'dedent', 'indent', 'shorten'] | CODE |
| LOW | www/src/Lib/base64.py | 10 | __all__ = [ | CODE |
| LOW | www/src/Lib/_threading_local.py | 12 | __all__ = ["local"] | CODE |
| LOW | www/src/Lib/pyclbr.py | 48 | __all__ = ["readmodule", "readmodule_ex", "Class", "Function"] | CODE |
| LOW | www/src/Lib/gettext.py | 51 | __all__ = ['NullTranslations', 'GNUTranslations', 'Catalog', | CODE |
| LOW | www/src/Lib/weakref.py | 30 | __all__ = ["ref", "proxy", "getweakrefcount", "getweakrefs", | CODE |
| LOW | www/src/Lib/opcode.py | 8 | __all__ = ["cmp_op", "stack_effect", "hascompare", "opname", "opmap", | CODE |
| LOW | www/src/Lib/heapq.py | 129 | __all__ = ['heappush', 'heappop', 'heapify', 'heapreplace', 'heappushpop', | STRING |
| LOW | www/src/Lib/functools.py | 12 | __all__ = ['update_wrapper', 'wraps', 'WRAPPER_ASSIGNMENTS', 'WRAPPER_UPDATES', | CODE |
| LOW | www/src/Lib/codeop.py | 41 | __all__ = ["compile_command", "Compile", "CommandCompiler"] | STRING |
| LOW | www/src/Lib/fnmatch.py | 19 | __all__ = ["filter", "filterfalse", "fnmatch", "fnmatchcase", "translate"] | CODE |
| LOW | www/src/Lib/traceback.py | 28 | __all__ = ['extract_stack', 'extract_tb', 'format_exception', | CODE |
| LOW | www/src/Lib/warnings.py | 3 | __all__ = [ | CODE |
| LOW | www/src/Lib/subprocess.py | 63 | __all__ = ["Popen", "PIPE", "STDOUT", "call", "check_call", "getstatusoutput", | STRING |
| LOW | www/src/Lib/profile.py | 33 | __all__ = ["run", "runctx", "Profile"] | CODE |
| LOW | www/src/Lib/codecs.py | 20 | __all__ = ["register", "lookup", "open", "EncodedFile", "BOM", "BOM_BE", | CODE |
| LOW | www/src/Lib/_weakrefset.py | 8 | __all__ = ['WeakSet'] | CODE |
| LOW | www/src/Lib/io.py | 44 | __all__ = ["BlockingIOError", "open", "open_code", "IOBase", "RawIOBase", | CODE |
| LOW | www/src/Lib/code.py | 13 | __all__ = ["InteractiveInterpreter", "InteractiveConsole", "interact", | CODE |
| LOW | www/src/Lib/operator.py | 13 | __all__ = ['abs', 'add', 'and_', 'attrgetter', 'call', 'concat', 'contains', 'countOf', | CODE |
| LOW | www/src/Lib/difflib.py | 29 | __all__ = ['get_close_matches', 'ndiff', 'restore', 'SequenceMatcher', | CODE |
| LOW | www/src/Lib/pydoc.py | 39 | __all__ = ['help'] | CODE |
| LOW | www/src/Lib/copy.py | 60 | __all__ = ["Error", "copy", "deepcopy", "replace"] | CODE |
| LOW | www/src/Lib/genericpath.py | 9 | __all__ = ['commonprefix', 'exists', 'getatime', 'getctime', 'getmtime', | CODE |
| LOW | www/src/Lib/linecache.py | 8 | __all__ = ["getline", "clearcache", "checkcache", "lazycache"] | CODE |
| LOW | www/src/Lib/types.py | 354 | __all__ = [n for n in globals() if not n.startswith('_')] # for pydoc | CODE |
| LOW | www/src/Lib/mimetypes.py | 36 | __all__ = [ | CODE |
| LOW | www/src/Lib/colorsys.py | 24 | __all__ = ["rgb_to_yiq","yiq_to_rgb","rgb_to_hls","hls_to_rgb", | CODE |
| LOW | www/src/Lib/numbers.py | 35 | __all__ = ["Number", "Complex", "Real", "Rational", "Integral"] | CODE |
| LOW | www/src/Lib/_strptime.py | 26 | __all__ = [] | CODE |
| LOW | www/src/Lib/random.py | 65 | __all__ = [ | CODE |
| LOW | www/src/Lib/optparse.py | 24 | __all__ = ['Option', | CODE |
| LOW | www/src/Lib/pdb.py | 115 | __all__ = ["run", "pm", "Pdb", "runeval", "runctx", "runcall", "set_trace", | CODE |
| LOW | www/src/Lib/threading.py | 26 | __all__ = ['get_ident', 'active_count', 'Condition', 'current_thread', | CODE |
| LOW | www/src/Lib/glob.py | 14 | __all__ = ["glob", "iglob", "escape", "translate"] | CODE |
| LOW | www/src/Lib/quopri.py | 5 | __all__ = ["encode", "decode", "encodestring", "decodestring"] | CODE |
| LOW | www/src/Lib/symtable.py | 18 | __all__ = ["symtable", "SymbolTableType", "SymbolTable", "Class", "Function", "Symbol"] | CODE |
| LOW | www/src/Lib/pprint.py | 42 | __all__ = ["pprint","pformat","isreadable","isrecursive","saferepr", | CODE |
| LOW | www/src/Lib/calendar.py | 14 | __all__ = ["IllegalMonthError", "IllegalWeekdayError", "setfirstweekday", | CODE |
| LOW | www/src/Lib/inspect.py | 34 | __all__ = [ | CODE |
| LOW | www/src/Lib/keyword.py | 16 | __all__ = ["iskeyword", "issoftkeyword", "kwlist", "softkwlist"] | CODE |
| LOW | www/src/Lib/_py_warnings.py | 8 | __all__ = ["warn", "warn_explicit", "showwarning", | CODE |
| LOW | www/src/Lib/reprlib.py | 3 | __all__ = ["Repr", "repr", "recursive_repr"] | CODE |
| 122 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | www/src/Lib/ipaddress.py | 29 | Take an IP string/int and return an object of the correct type. Args: address: A string or integer, the IP | STRING |
| HIGH | www/src/Lib/ipaddress.py | 58 | Take an IP string/int and return an object of the correct type. Args: address: A string or integer, the IP | STRING |
| HIGH | www/src/Lib/ipaddress.py | 87 | Take an IP string/int and return an object of the correct type. Args: address: A string or integer, the IP | STRING |
| HIGH | www/src/Lib/ipaddress.py | 121 | Represent an address as 4 packed bytes in network (big-endian) order. Args: address: An integer representat | STRING |
| HIGH | www/src/Lib/ipaddress.py | 305 | Collapse a list of IP objects. Example: collapse_addresses([IPv4Network('192.0.2.0/25'), | STRING |
| HIGH | www/src/Lib/ipaddress.py | 446 | Return prefix length from the bitwise netmask. Args: ip_int: An integer, the netmask in expanded bi | STRING |
| HIGH | www/src/Lib/ipaddress.py | 476 | Return prefix length from a numeric string Args: prefixlen_str: The string to be converted | STRING |
| HIGH | www/src/Lib/ipaddress.py | 501 | Turn a netmask/hostmask string into a prefix length Args: ip_str: The netmask/hostmask to be conver | STRING |
| HIGH | www/src/Lib/ipaddress.py | 797 | Remove an address from a larger block. For example: addr1 = ip_network('192.0.2.0/28') | STRING |
| HIGH | www/src/Lib/ipaddress.py | 872 | Compare two IP objects. This is only concerned about the comparison of the integer representation of th | STRING |
| HIGH | www/src/Lib/ipaddress.py | 930 | The subnets which join to make the current subnet. In the case that self contains only one IP (self._pr | STRING |
| HIGH | www/src/Lib/ipaddress.py | 983 | The supernet containing the current network. Args: prefixlen_diff: An integer, the amount the prefi | STRING |
| HIGH | www/src/Lib/ipaddress.py | 1175 | Turn the given IP string into an integer for comparison. Args: ip_str: A string, the IP ip_str. | STRING |
| HIGH | www/src/Lib/ipaddress.py | 1201 | Convert a decimal octet into an integer. Args: octet_str: A string, the number to parse. R | STRING |
| HIGH | www/src/Lib/ipaddress.py | 1608 | Turn an IPv6 ip_str into an integer. Args: ip_str: A string, the IPv6 ip_str. Returns: | STRING |
| HIGH | www/src/Lib/ipaddress.py | 1712 | Convert an IPv6 hextet string into an integer. Args: hextet_str: A string, the number to parse. | STRING |
| HIGH | www/src/Lib/ipaddress.py | 1786 | Turns a 128-bit integer into hexadecimal notation. Args: ip_int: An integer, the IP address. | STRING |
| HIGH | www/src/Lib/selectors.py | 22 | Return a file descriptor from a file object. Parameters: fileobj -- file object or file descriptor Returns | STRING |
| HIGH | www/src/Lib/selectors.py | 101 | Register a file object. Parameters: fileobj -- file object or file descriptor events -- events | STRING |
| HIGH | www/src/Lib/selectors.py | 124 | Unregister a file object. Parameters: fileobj -- file object or file descriptor Returns: | STRING |
| HIGH | www/src/Lib/selectors.py | 142 | Change a registered file object monitored events or attached data. Parameters: fileobj -- file object o | STRING |
| HIGH | www/src/Lib/getpass.py | 69 | Prompt for a password, with echo turned off. Args: prompt: Written on stream to ask for the input. Default: | STRING |
| HIGH | www/src/Lib/concurrent/futures/_base.py | 194 | An iterator over the given futures that yields each as it completes. Args: fs: The sequence of Futures (pos | STRING |
| HIGH | www/src/Lib/concurrent/futures/_base.py | 423 | Return the result of the call that the future represents. Args: timeout: The number of seconds to w | STRING |
| HIGH | www/src/Lib/concurrent/futures/_base.py | 458 | Return the exception raised by the call that the future represents. Args: timeout: The number of se | STRING |
| HIGH | www/src/Lib/concurrent/futures/_base.py | 605 | Returns an iterator equivalent to map(fn, iter). Args: fn: A callable that will take as many argume | STRING |
| HIGH | www/src/Lib/concurrent/futures/process.py | 836 | Returns an iterator equivalent to map(fn, iter). Args: fn: A callable that will take as many argume | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | www/gallery/highcharts/js/highcharts-more.js | 209 | this.xAxis.center,k=e.plotLeft,l=e.plotTop,m=this.options.animation,n,p,q,r;if(e.polar)if(d.isRadialBar)b||(d.startAngle | CODE |
| CRITICAL | www/gallery/highcharts/js/highcharts.js | 297 | "attr"]({d:this.haloPath(g.size)}),r.attr({"class":"highcharts-halo highcharts-color-"+y(this.colorIndex,f.colorIndex)+( | CODE |
| CRITICAL | www/gallery/highcharts/js/highcharts.js | 562 | this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(d.x,d.y,d.r+a,d.r+a,{innerR:d | CODE |
| CRITICAL | www/src/ast_to_js.js | 1550 | return $B.ast.For.prototype.to_js.bind(this)(scopes) | CODE |
| CRITICAL | www/src/ast_to_js.js | 1554 | return $B.ast.FunctionDef.prototype.to_js.bind(this)(scopes) | CODE |
| CRITICAL | www/src/brython.min.js | 1 | "use strict";var __BRYTHON__=globalThis.__BRYTHON__||{};try{eval("async function* f(){}")}catch(e){console.warn("Your br | CODE |
| CRITICAL | www/src/Lib/test/test_urllib2net.py | 362 | self.assertIsNone(u.fp.fp.raw._sock.gettimeout()) | CODE |
| CRITICAL | www/src/Lib/test/test_urllib2net.py | 373 | self.assertEqual(u.fp.fp.raw._sock.gettimeout(), 60) | CODE |
| CRITICAL | www/src/Lib/test/test_urllib2net.py | 385 | self.assertIsNone(u.fp.fp.raw._sock.gettimeout()) | CODE |
| CRITICAL | www/src/Lib/test/test_urllib2net.py | 392 | self.assertEqual(u.fp.fp.raw._sock.gettimeout(), 60) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | www/tests/test_generators.py | 14 | CODE | |
| MEDIUM | www/tests/test_generators.py | 84 | CODE | |
| MEDIUM | www/src/Lib/external_import.py | 36 | CODE | |
| MEDIUM | www/src/Lib/VFS_import.py | 33 | CODE | |
| MEDIUM | www/src/Lib/unittest/test/test_async_case.py | 91 | CODE | |
| MEDIUM | www/src/Lib/unittest/test/test_async_case.py | 199 | CODE | |
| MEDIUM | www/src/Lib/test/test_fractions.py | 175 | CODE | |
| MEDIUM | www/src/Lib/test/test_threading.py | 2488 | CODE | |
| MEDIUM | www/src/Lib/test/test_itertools.py | 2440 | CODE | |
| MEDIUM | www/src/Lib/test/test_array.py | 1136 | CODE | |
| MEDIUM | www/src/Lib/test/test_generators.py | 577 | CODE | |
| MEDIUM | www/src/Lib/test/test_generators.py | 588 | CODE | |
| MEDIUM | www/src/Lib/test/test_exceptions.py | 1830 | CODE | |
| MEDIUM | www/src/Lib/test/test_compile.py | 905 | CODE | |
| MEDIUM | www/src/Lib/test/test_set.py | 21 | CODE | |
| MEDIUM | www/src/Lib/test/test_set.py | 1109 | CODE | |
| MEDIUM | www/src/Lib/test/test_deque.py | 16 | CODE | |
| MEDIUM | www/src/Lib/test/test_sys_settrace.py | 2762 | CODE | |
| MEDIUM | www/src/Lib/test/test_asyncgen.py | 417 | CODE | |
| MEDIUM | www/src/Lib/test/test_asyncgen.py | 450 | CODE | |
| MEDIUM | www/src/Lib/test/test_asyncgen.py | 587 | CODE | |
| MEDIUM | www/src/Lib/test/test_asyncgen.py | 868 | CODE | |
| MEDIUM | www/src/Lib/test/test_asyncgen.py | 996 | CODE | |
| MEDIUM | www/src/Lib/test/test_asyncgen.py | 2046 | CODE | |
| MEDIUM | www/src/Lib/test/test_asyncgen.py | 2067 | CODE | |
| MEDIUM | www/src/Lib/test/test_asyncgen.py | 2091 | CODE | |
| MEDIUM | www/src/Lib/test/test_asyncgen.py | 837 | CODE | |
| MEDIUM | www/src/Lib/test/test_asyncgen.py | 911 | CODE | |
| MEDIUM | www/src/Lib/test/test_pep380.py | 205 | CODE | |
| MEDIUM | www/src/Lib/test/test_pep380.py | 206 | CODE | |
| MEDIUM | www/src/Lib/test/test_pep380.py | 207 | CODE | |
| MEDIUM | www/src/Lib/test/test_builtin.py | 1429 | CODE | |
| MEDIUM | www/src/Lib/test/test_dict.py | 291 | CODE | |
| MEDIUM | scripts/make_brython_standard_parser.py | 287 | CODE | |
| MEDIUM | scripts/make_brython_standard_parser.py | 288 | CODE | |
| MEDIUM | scripts/make_brython_standard_parser.py | 289 | CODE | |
| MEDIUM | scripts/make_brython_standard_parser.py | 290 | CODE | |
| MEDIUM | scripts/make_brython_standard_parser.py | 291 | CODE | |
| MEDIUM | scripts/make_brython_standard_parser.py | 292 | CODE | |
| MEDIUM | scripts/make_brython_standard_parser.py | 293 | CODE | |
| MEDIUM | scripts/make_brython_standard_parser.py | 294 | CODE | |
| MEDIUM | scripts/make_brython_standard_parser.py | 296 | CODE | |
| MEDIUM | scripts/make_brython_standard_parser.py | 298 | CODE | |
| MEDIUM | scripts/make_brython_standard_parser.py | 299 | CODE | |
| MEDIUM | scripts/make_brython_standard_parser.py | 307 | CODE | |
| MEDIUM | scripts/make_brython_standard_parser.py | 308 | CODE | |
| MEDIUM | scripts/make_brython_standard_parser.py | 315 | CODE | |
| MEDIUM | scripts/make_brython_standard_parser.py | 316 | CODE | |
| MEDIUM | scripts/make_brython_standard_parser.py | 342 | CODE | |
| MEDIUM | scripts/make_brython_standard_parser.py | 343 | CODE | |
| MEDIUM | scripts/make_brython_standard_parser.py | 347 | CODE | |
| MEDIUM | scripts/make_brython_standard_parser.py | 352 | CODE | |
| MEDIUM | scripts/make_brython_standard_parser.py | 355 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | server_modular_send_head.py | 611 | # Essentially static class variables | COMMENT |
| LOW | www/src/Lib/zipfile.py | 248 | # end-of-archive record, so just return the end record we were given. | COMMENT |
| LOW | www/src/Lib/shutil.py | 1628 | # what file suffixes are executable, so just pass on cmd as-is. | COMMENT |
| LOW | www/src/Lib/difflib.py | 1431 | # Handle case where no user markup is to be added, just return line of | STRING |
| LOW | www/src/Lib/difflib.py | 1820 | # if blank line or context separator, just add it to the output list | COMMENT |
| LOW | www/src/Lib/difflib.py | 1825 | # if line text doesn't need wrapping, just add it to the output list | COMMENT |
| LOW | www/src/Lib/_contextvars.py | 19 | # single-threaded environment: just call (no context switching) | COMMENT |
| LOW | www/src/Lib/optparse.py | 565 | # Check all the attributes we just set. There are lots of | COMMENT |
| LOW | www/src/Lib/pdb.py | 3366 | # No logic applied whatsoever, just pass the raw reply back. | COMMENT |
| LOW | www/src/Lib/threading.py | 299 | # these override the default implementations (which just call | COMMENT |
| MEDIUM | www/src/Lib/doctest.py | 1777 | # in conjunction with the ELLIPSIS flag. | STRING |
| LOW | www/src/Lib/argparse.py | 2480 | # for regular arguments, just add them back into the list | STRING |
| LOW | www/src/Lib/dataclasses.py | 574 | # via object.__setattr__. Otherwise, just use a simple | COMMENT |
| LOW | www/src/Lib/dataclasses.py | 630 | # just use the class attribute that contains the default. | COMMENT |
| LOW | www/src/Lib/tarfile.py | 1541 | # Normally, we could just use "utf-8" as the encoding and "strict" | COMMENT |
| LOW | www/src/Lib/_pydecimal.py | 3315 | # otherwise, simply return the adjusted exponent of self, as a | COMMENT |
| LOW | www/src/Lib/ntpath.py | 637 | # just return the old path. | COMMENT |
| LOW | www/src/Lib/unittest/test/test_loader.py | 776 | # XXX Should this raise a ValueError or just return an empty TestSuite? | COMMENT |
| LOW | www/src/Lib/unittest/test/testmock/testmock.py | 1096 | # need to do this because MagicMock.mock_calls used to just return | COMMENT |
| LOW | www/src/Lib/test/test_winsound.py | 19 | # even *should* play. Instead of guessing, just call the function and assume | COMMENT |
| MEDIUM | www/src/Lib/test/test_wsgiref.py | 445 | # Not comprehensive, just a few random header names | COMMENT |
| MEDIUM | www/src/Lib/test/test_logging.py | 8 | # not be used in advertising or publicity pertaining to distribution | COMMENT |
| LOW | www/src/Lib/test/test_urllib2.py | 1165 | # required, so just use a dummy one to instantiate | COMMENT |
| MEDIUM | www/src/Lib/test/test_pdb.py | 1 | # A test suite for pdb; not very comprehensive at the moment. | COMMENT |
| MEDIUM⚡ | www/src/Lib/test/test_lzma.py | 511 | # Test robust handling of non-LZMA data following the compressed stream(s). | COMMENT |
| MEDIUM | www/src/Lib/test/test_os.py | 2219 | # We spawn a new process to make the test more robust (if getrlimit() | COMMENT |
| MEDIUM | www/src/Lib/test/test_decimal.py | 5880 | """The C Context docstrings use 'x' in order to prevent confusion | STRING |
| MEDIUM | www/src/Lib/test/test_grammar.py | 1970 | # This is not intended to be a comprehensive test, rather just to be few | STRING |
| MEDIUM | www/src/Lib/test/test_bytes.py | 2330 | # comprehensive for things like partition, etc. | COMMENT |
| LOW | www/src/Lib/test/test_py_compile.py | 284 | # assert_python_* helpers don't return proc object. We'll just use | COMMENT |
| LOW | www/src/Lib/test/test_subprocess.py | 1487 | # Subsequent invocations should just return the returncode | STRING |
| LOW | www/src/Lib/test/test_subprocess.py | 1493 | # Subsequent invocations should just return the returncode | STRING |
| MEDIUM | www/src/Lib/test/test_urllib2net.py | 35 | # Connecting to remote hosts is flaky. Make it more robust by retrying | COMMENT |
| MEDIUM | www/src/Lib/test/test_startfile.py | 29 | # means the test harness provided directory isn't a safe option. | COMMENT |
| MEDIUM | www/src/Lib/test/test_signal.py | 1392 | # a signal is ignored due to the aforementioned | STRING |
| MEDIUM | www/src/Lib/test/test_socketserver.py | 54 | # Don't raise an exception; it would be caught by the test harness. | COMMENT |
| LOW | www/src/Lib/test/test_unicode_file.py | 120 | # The 'test' functions are unittest entry points, and simply call our | COMMENT |
| LOW | www/src/Lib/test/test_long.py | 1240 | # nonnegative second argument: round(x, n) should just return x | COMMENT |
| LOW | www/src/Lib/test/test_argparse.py | 231 | # redirected, simply call the function and let the enclosing function | COMMENT |
| LOW | www/src/Lib/test/test_gdb.py | 362 | # We cannot simply call locale.getpreferredencoding() here, | COMMENT |
| LOW | www/src/Lib/test/test_types.py | 522 | # So, just use a sign flag | COMMENT |
| MEDIUM | www/src/Lib/test/support/asyncore.py | 20 | # Rushing not be used in advertising or publicity pertaining to | COMMENT |
| MEDIUM | www/src/Lib/test/support/asynchat.py | 20 | # Rushing not be used in advertising or publicity pertaining to | COMMENT |
| MEDIUM | www/src/Lib/http/cookies.py | 12 | # pertaining to distribution of the software without specific, written | COMMENT |
| MEDIUM | www/src/Lib/_pyrepl/reader.py | 383 | # facilitate the tab completion hack implemented for | COMMENT |
| MEDIUM | www/src/Lib/logging/config.py | 8 | # not be used in advertising or publicity pertaining to distribution | COMMENT |
| MEDIUM | www/src/Lib/logging/handlers.py | 8 | # not be used in advertising or publicity pertaining to distribution | COMMENT |
| MEDIUM | www/src/Lib/logging/__init__.py | 8 | # not be used in advertising or publicity pertaining to distribution | COMMENT |
| MEDIUM | www/src/Lib/logging/__init__.py | 190 | # _srcfile is only used in conjunction with sys._getframe(). | COMMENT |
| LOW | www/src/Lib/email/header.py | 73 | # If it is a Header object, we can just return the encoded chunks. | STRING |
| LOW | www/src/Lib/email/header.py | 77 | # If no encoding, just return the header with no charset. | STRING |
| LOW | www/src/Lib/email/header.py | 168 | # None means us-ascii but we can simply pass it on to h.append() | STRING |
| LOW | scripts/pegen/build.py | 57 | # To further add to the shared builds fun on Unix, we can't just add | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | server_modular_send_head.py | 614 | # Set this to HTTP/1.1 to enable automatic keepalive | COMMENT |
| LOW | www/demo.html | 1018 | # Read the file content as text | COMMENT |
| LOW | www/gallery/binary_file_reader.html | 118 | # Read file as ArrayBuffer | COMMENT |
| LOW | www/gallery/taquin.py | 149 | # Check if puzzle is solved | COMMENT |
| LOW | www/gallery/music/synth_drums.py | 44 | # Read the file content as text | COMMENT |
| LOW | www/gallery/music/play_song_part.html | 272 | # Read the file content as text | COMMENT |
| LOW | www/src/Lib/zipfile.py | 441 | # Set these to zero because we write them after the file data | COMMENT |
| LOW | www/src/Lib/zipfile.py | 1269 | # Check if we were passed a file-like object | COMMENT |
| LOW⚡ | www/src/Lib/_py_abc.py | 131 | # Check if it's a direct subclass | COMMENT |
| LOW⚡ | www/src/Lib/_py_abc.py | 135 | # Check if it's a subclass of a registered class (recursive) | COMMENT |
| LOW⚡ | www/src/Lib/_py_abc.py | 140 | # Check if it's a subclass of a subclass (recursive) | COMMENT |
| LOW | www/src/Lib/zipimport.py | 307 | # Check if there's a comment. | COMMENT |
| LOW | www/src/Lib/pyclbr.py | 143 | # Check if it is a built-in module; we don't do much for these. | COMMENT |
| LOW | www/src/Lib/heapq.py | 281 | # Set childpos to index of smaller child. | COMMENT |
| LOW | www/src/Lib/heapq.py | 317 | # Set childpos to index of larger child. | COMMENT |
| LOW | www/src/Lib/traceback.py | 1505 | # Check if it works | COMMENT |
| LOW | www/src/Lib/traceback.py | 1826 | # Check if attr_name is a descriptor - if so, skip it | COMMENT |
| LOW⚡ | www/src/Lib/types.py | 315 | # Check if 'func' is a coroutine function. | COMMENT |
| LOW⚡ | www/src/Lib/types.py | 320 | # Check if 'func' is a generator function. | COMMENT |
| LOW | www/src/Lib/pdb.py | 231 | # Open the file each time because the file may be modified | COMMENT |
| LOW | www/src/Lib/pdb.py | 2998 | # Check if the interpreter is finalizing every quarter of a second. | COMMENT |
| LOW | www/src/Lib/_py_warnings.py | 468 | # Check if message is already a Warning object | COMMENT |
| LOW | www/src/Lib/_py_warnings.py | 622 | # Print message and context | COMMENT |
| LOW | www/src/Lib/doctest.py | 1830 | # Check if we should use diff. | STRING |
| LOW | www/src/Lib/doctest.py | 2227 | # Read the file, convert it to a test, and run it. | STRING |
| LOW | www/src/Lib/tarfile.py | 1233 | # Check if one of the fields contains surrogate characters and thereby | COMMENT |
| LOW | www/src/Lib/tarfile.py | 1518 | # Check if the pax header contains a hdrcharset field. This tells us | COMMENT |
| LOW | www/src/Lib/typing.py | 1292 | # Check if any base that occurs after us in `bases` is either itself a | COMMENT |
| LOW | www/src/Lib/typing.py | 2122 | # Check if the members appears in the class dictionary... | COMMENT |
| LOW | www/src/Lib/tokenize.py | 390 | # Check if the line matches the encoding. | COMMENT |
| LOW | www/src/Lib/unittest/mock.py | 456 | # Check if spec is an async object or function | COMMENT |
| LOW⚡ | www/src/Lib/unittest/test/testmock/testmagicmethods.py | 494 | # Check if you can change behaviour of magic methods in MagicMock init | COMMENT |
| LOW | www/src/Lib/test/test_gzip.py | 203 | # Open the file for writing, then close it. | STRING |
| LOW | www/src/Lib/test/test_zipfile.py | 2268 | # Read the file completely to definitely call any eof integrity | COMMENT |
| LOW | www/src/Lib/test/test_logging.py | 6296 | # Set level to NOTSET and ensure caches are empty | COMMENT |
| LOW | www/src/Lib/test/test_pdb.py | 3667 | # Check if the custom prefix appeared in the output | COMMENT |
| LOW | www/src/Lib/test/test_difflib.py | 260 | # Check if the problem described in patch #1413711 exists. | COMMENT |
| LOW | www/src/Lib/test/test_type_cache.py | 32 | # Check if global version tag has already overflowed. | COMMENT |
| LOW | www/src/Lib/test/test_typing.py | 5093 | # Check if a dictionary conforms to Dict type | COMMENT |
| LOW | www/src/Lib/test/test_typing.py | 5108 | # Check if an instance conforms to the generic class | COMMENT |
| LOW | www/src/Lib/test/test_typing.py | 5120 | # Check if list conforms to a List subclass | COMMENT |
| LOW | www/src/Lib/test/test_http_cookies.py | 104 | # Check if the cookie is loaded correctly | COMMENT |
| LOW | www/src/Lib/test/test_smtpd.py | 886 | # Set decode_data to True | STRING |
| LOW | www/src/Lib/test/test_io.py | 3348 | # Check if the BOM is written only once (see issue1753). | COMMENT |
| LOW | www/src/Lib/test/test_compile.py | 1395 | # Check if bytecode containing jumps that simply point to the next line | STRING |
| LOW | www/src/Lib/test/test_annotationlib.py | 2351 | # Check if the passed in mutable arguments equal the originals | COMMENT |
| LOW | www/src/Lib/test/test_memoryio.py | 766 | bytearray(state[0]) # Check if state[0] supports the buffer interface. | CODE |
| LOW | www/src/Lib/test/test_memoryio_back.py | 776 | bytearray(state[0]) # Check if state[0] supports the buffer interface. | CODE |
| LOW | www/src/Lib/test/test_codecs.py | 2919 | # Check if the BOM is written only once | COMMENT |
| LOW | www/src/Lib/test/support/__init__.py | 988 | # Check if Python was built with ./configure --enable-optimizations: | COMMENT |
| LOW | www/src/Lib/test/support/__init__.py | 1942 | # Check if the 'Crash Reporter' on OSX was configured | COMMENT |
| LOW | www/src/Lib/test/support/__init__.py | 720 | # Check if subprocess is still alive after probing | STRING |
| LOW | www/src/Lib/urllib/parse.py | 1079 | # Check if ' ' in string, where string may either be a str or bytes. If | COMMENT |
| LOW | www/src/Lib/http/cookies.py | 451 | # Return the result | STRING |
| LOW | www/src/Lib/_pyrepl/utils.py | 352 | # Check if the next span starts at the same position | STRING |
| LOW | www/src/Lib/importlib/_bootstrap_external.py | 1373 | # Check if the module is the name of a directory (and thus a package). | COMMENT |
| LOW | scripts/pegen/grammar.py | 38 | # Check if there are repeated rules in "rules" | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | www/src/ast_to_js.js | 2770 | // add an explicit "return None" | COMMENT |
| HIGH | www/src/py_import.js | 1372 | * @return None | COMMENT |
| HIGH | www/src/py_builtin_functions.js | 32 | return None | CODE |
| HIGH | www/src/py_builtin_functions.js | 1790 | return None | CODE |
| HIGH | www/src/py_builtin_functions.js | 1936 | // Must return None: pickle's load_build treats a NULL/undefined result | COMMENT |
| HIGH | www/src/builtins_docstrings.js | 83 | all:"Return True if bool(x) is True for all values x in the iterable.\n\nIf the iterable is empty, return True.", | CODE |
| HIGH | www/src/builtins_docstrings.js | 85 | any:"Return True if bool(x) is True for any x in the iterable.\n\nIf the iterable is empty, return False.", | CODE |
| HIGH | www/src/py_string.js | 2092 | // return False. suffix can also be a tuple of suffixes to look for. | COMMENT |
| HIGH | www/src/py_string.js | 3124 | // Return True if string starts with the prefix, otherwise return False. | COMMENT |
| HIGH | www/src/brython.min.js | 1 | "use strict";var __BRYTHON__=globalThis.__BRYTHON__||{};try{eval("async function* f(){}")}catch(e){console.warn("Your br | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | www/tests/test_traceback.py | 5 | fake_name = "<fake_file>" | CODE |
| LOW⚡ | www/tests/test_traceback.py | 6 | linecache.cache[fake_name] = (len(src), None, src.splitlines(True), fake_name) | CODE |
| LOW⚡ | www/tests/test_traceback.py | 7 | exec(compile(src, fake_name, "exec")) | CODE |
| LOW | www/src/Lib/test/test_xml_etree.py | 1974 | <xi:fallback><a href="mailto:bob@example.org">Report error</a></xi:fallback> | CODE |
| LOW | www/src/Lib/test/test_xml_etree.py | 2140 | ' <ns0:fallback><a href="mailto:bob@example.org">Report error</a></ns0:fallback>\n' | STRING |
| LOW | www/src/Lib/test/make_ssl_certs.py | 271 | 'email.1 = user@example.org', | STRING |
| LOW⚡ | www/src/Lib/test/test_curses.py | 438 | self.assertEqual(win.instr(0, 0), b'Lorem ipsum ') | CODE |
| LOW⚡ | www/src/Lib/test/test_curses.py | 441 | self.assertEqual(win.instr(3, 0), b'dolor sit amet,') | CODE |
| LOW⚡ | www/src/Lib/test/test_curses.py | 447 | self.assertEqual(win.instr(0, 0), b'Lorem ipsum ') | CODE |
| LOW⚡ | www/src/Lib/test/test_curses.py | 457 | self.assertEqual(win.instr(0, 0), b'dolor sit amet,') | CODE |
| LOW | www/src/Lib/test/test_curses.py | 397 | self.assertEqual(win.instr(1, 0).rstrip(), b'dolor sit amet,') | CODE |
| LOW | www/src/Lib/test/test_curses.py | 479 | win.addstr(2, 0, 'Lorem ipsum') | CODE |
| LOW | www/src/Lib/test/test_curses.py | 480 | win.addstr(3, 0, 'dolor sit amet') | CODE |
| LOW | www/src/Lib/test/test_curses.py | 509 | win.addstr(0, 0, 'Lorem ipsum') | CODE |
| LOW | www/src/Lib/test/test_curses.py | 597 | win.addstr(2, 1, 'Lorem ipsum') | CODE |
| LOW | www/src/Lib/test/test_curses.py | 605 | self.assertEqual(win.instr(2, 0), b' Lorem ipsum') | CODE |
| LOW | www/src/Lib/test/test_curses.py | 1349 | 'Lorem ipsum', | CODE |
| LOW | www/src/Lib/test/test_curses.py | 1350 | 'dolor sit amet,', | CODE |
| LOW | www/src/Lib/test/test_ssl.py | 548 | ('email', 'null@python.org\x00user@example.org'), | CODE |
| LOW | www/src/Lib/test/test_ssl.py | 555 | ('email', 'null@python.org\x00user@example.org'), | CODE |
| LOW | www/src/Lib/test/test_ssl.py | 569 | ('email', 'user@example.org'), | CODE |
| LOW⚡ | www/src/Lib/test/test_urlparse.py | 450 | self.assertEqual(urlparse('mailto:1337@example.org'), | CODE |
| LOW⚡ | www/src/Lib/test/test_urlparse.py | 451 | ('mailto', '', '1337@example.org', '', '', '')) | CODE |
| LOW⚡ | www/src/Lib/test/test_urlparse.py | 452 | self.assertEqual(urlparse('mailto:1337@example.org', missing_as_none=True), | CODE |
| LOW⚡ | www/src/Lib/test/test_urlparse.py | 453 | ('mailto', None, '1337@example.org', None, None, None)) | CODE |
| LOW | www/src/Lib/test/test_pickletools.py | 583 | data = ('fake_data',) | STRING |
| LOW | www/src/Lib/test/test_pickletools.py | 587 | 11: \x8c SHORT_BINUNICODE 'fake_data' | CODE |
| LOW | www/src/Lib/test/test_pickletools.py | 608 | data = ('fake_data',) | STRING |
| LOW | www/src/Lib/test/test_pickletools.py | 612 | 11: \x8c SHORT_BINUNICODE 'fake_data' | CODE |
| LOW | www/src/Lib/test/test_pickletools.py | 624 | data = ('fake_data',) | STRING |
| LOW | www/src/Lib/test/test_pickletools.py | 628 | 11: \x8c SHORT_BINUNICODE 'fake_data' | CODE |
| LOW | www/src/Lib/test/test_pickletools.py | 640 | data = ('fake_data',) | STRING |
| LOW | www/src/Lib/test/test_pickletools.py | 644 | 11: \x8c SHORT_BINUNICODE 'fake_data' Push a Python Unicode string object. | CODE |
| LOW⚡ | www/src/Lib/test/test_pickletools.py | 656 | data = ('fake_data',) | STRING |
| LOW⚡ | www/src/Lib/test/test_pickletools.py | 661 | 11: \x8c SHORT_BINUNICODE 'fake_data' | CODE |
| LOW⚡ | www/src/Lib/test/test_pickletools.py | 670 | 11: \x8c SHORT_BINUNICODE 'fake_data' | CODE |
| LOW | www/src/Lib/test/test_smtplib.py | 518 | m['From'] = 'foo@bar.com' | CODE |
| LOW | www/src/Lib/test/test_smtplib.py | 555 | m['From'] = 'foo@bar.com' | CODE |
| LOW | www/src/Lib/test/test_smtplib.py | 584 | m['From'] = 'foo@bar.com' | CODE |
| LOW | www/src/Lib/test/test_smtplib.py | 644 | m['From'] = 'foo@bar.com' | CODE |
| LOW | www/src/Lib/test/test_smtplib.py | 681 | m['From'] = 'foo@bar.com' | CODE |
| LOW | www/src/Lib/test/test_email/test_generator.py | 456 | msg["From"] = Address(addr_spec="foo@bar.com", display_name="Páolo") | STRING |
| LOW⚡ | www/src/Lib/test/test_email/test_email.py | 3502 | address = '"Alice, alice@example.org" <bob@example.com>' | STRING |
| LOW⚡ | www/src/Lib/test/test_email/test_email.py | 3503 | expected_strict = ('Alice, alice@example.org', 'bob@example.com') | STRING |
| LOW⚡ | www/src/Lib/test/test_email/test_email.py | 3512 | expected_strict = ('Alice', 'alice@example.org') | STRING |
| LOW⚡ | www/src/Lib/test/test_email/test_email.py | 3523 | [('', 'alice@example.org'), ('', ''), ('', 'Alice')]) | STRING |
| LOW⚡ | www/src/Lib/test/test_email/test_email.py | 3529 | address = '"Jane Doe" <jane@example.net>, "John Doe" <john@example.net>' | STRING |
| LOW⚡ | www/src/Lib/test/test_email/test_email.py | 3529 | address = '"Jane Doe" <jane@example.net>, "John Doe" <john@example.net>' | STRING |
| LOW⚡ | www/src/Lib/test/test_email/test_email.py | 3531 | [('Jane Doe', 'jane@example.net'), | STRING |
| LOW⚡ | www/src/Lib/test/test_email/test_email.py | 3532 | ('John Doe', 'john@example.net')]) | STRING |
| LOW⚡ | www/src/Lib/test/test_email/test_email.py | 3534 | [('Jane Doe', 'jane@example.net'), | STRING |
| LOW⚡ | www/src/Lib/test/test_email/test_email.py | 3535 | ('John Doe', 'john@example.net')]) | STRING |
| LOW⚡ | www/src/Lib/test/test_email/test_email.py | 3591 | eq(addrs[0][1], 'foo@bar.com') | STRING |
| LOW⚡ | www/src/Lib/test/test_email/test_email.py | 3791 | check('"Jane Doe" <jane@example.net>, "John Doe" <john@example.net>', | STRING |
| LOW⚡ | www/src/Lib/test/test_email/test_email.py | 3791 | check('"Jane Doe" <jane@example.net>, "John Doe" <john@example.net>', | STRING |
| LOW | www/src/Lib/test/test_email/test_email.py | 3457 | alice = 'alice@example.org' | STRING |
| LOW | www/src/Lib/test/test_email/test_email.py | 4298 | ('From: foo@bar.com', ('From', 'foo@bar.com')), | STRING |
| LOW | www/src/Lib/test/test_email/test_email.py | 4331 | ['foo@bar.com', | STRING |
| LOW | www/src/Lib/test/test_email/test_email.py | 4342 | [('From', 'foo@bar.com'), | STRING |
| LOW | www/src/Lib/test/test_email/test_email.py | 4354 | ['foo@bar.com', | STRING |
| 1 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | www/tests/test_suite.py | 223 | def do_something(self): | CODE |
| LOW | www/src/Lib/contextlib.py | 366 | def helper(*args, **kwds): | CODE |
| LOW | www/src/Lib/contextlib.py | 399 | def helper(*args, **kwds): | CODE |
| LOW | www/src/Lib/unittest/test/test_break.py | 82 | def test_function(): | CODE |
| LOW | www/src/Lib/unittest/test/test_break.py | 113 | def test_function(): | CODE |
| LOW | www/src/Lib/unittest/test/test_break.py | 125 | def test_function(): | CODE |
| LOW | www/src/Lib/unittest/test/test_break.py | 155 | def test_function(): | CODE |
| LOW | www/src/Lib/unittest/test/_test_warnings.py | 55 | def test_function(self): | CODE |
| LOW | www/src/Lib/unittest/test/testmock/testhelpers.py | 747 | def test_function(self): | CODE |
| LOW | www/src/Lib/test/test_unparse.py | 927 | def test_function(self): | CODE |
| LOW | www/src/Lib/test/test_gc.py | 228 | def test_function(self): | CODE |
| LOW | www/src/Lib/test/test_logging.py | 2169 | def handle_request(self, request): | CODE |
| LOW | www/src/Lib/test/test_with.py | 44 | def helper(*args, **kwds): | CODE |
| LOW | www/src/Lib/test/test_marshal.py | 19 | def helper(self, sample, *extra): | CODE |
| LOW | www/src/Lib/test/test_pdb.py | 721 | def do_something(): | CODE |
| LOW | www/src/Lib/test/test_pdb.py | 53 | >>> def test_function(foo, bar): | STRING |
| LOW | www/src/Lib/test/test_pdb.py | 98 | >>> def test_function(): | STRING |
| LOW | www/src/Lib/test/test_pdb.py | 234 | >>> def test_function(): | STRING |
| LOW | www/src/Lib/test/test_pdb.py | 365 | >>> def test_function(): | STRING |
| LOW | www/src/Lib/test/test_pdb.py | 416 | >>> def test_function(): | STRING |
| LOW | www/src/Lib/test/test_pdb.py | 441 | >>> def test_function(): | STRING |
| LOW | www/src/Lib/test/test_pdb.py | 487 | >>> def test_function(): | STRING |
| LOW | www/src/Lib/test/test_pdb.py | 520 | >>> def test_function(): | STRING |
| LOW | www/src/Lib/test/test_pdb.py | 642 | >>> def test_function(): | STRING |
| LOW | www/src/Lib/test/test_pdb.py | 668 | >>> def test_function(): | STRING |
| LOW | www/src/Lib/test/test_pdb.py | 689 | >>> def test_function(): | STRING |
| LOW | www/src/Lib/test/test_pdb.py | 743 | >>> def test_function(): | STRING |
| LOW | www/src/Lib/test/test_pdb.py | 770 | 1 def test_function(): | STRING |
| LOW | www/src/Lib/test/test_pdb.py | 816 | ... def do_something(): | STRING |
| LOW | www/src/Lib/test/test_pdb.py | 834 | >>> def test_function(): | STRING |
| LOW | www/src/Lib/test/test_pdb.py | 867 | >>> def test_function(): | STRING |
| LOW | www/src/Lib/test/test_pdb.py | 937 | >>> def test_function(): | STRING |
| LOW | www/src/Lib/test/test_pdb.py | 1009 | >>> def test_function(): | STRING |
| LOW | www/src/Lib/test/test_pdb.py | 1094 | >>> def test_function(): | STRING |
| LOW | www/src/Lib/test/test_pdb.py | 1115 | >>> def test_function(): | STRING |
| LOW | www/src/Lib/test/test_pdb.py | 1133 | >>> def test_function(): | STRING |
| LOW | www/src/Lib/test/test_pdb.py | 1190 | >>> def test_function(): | STRING |
| LOW | www/src/Lib/test/test_pdb.py | 1286 | >>> def test_function(): | STRING |
| LOW | www/src/Lib/test/test_pdb.py | 1368 | >>> def test_function(): | STRING |
| LOW | www/src/Lib/test/test_pdb.py | 1422 | >>> def test_function(): | STRING |
| LOW | www/src/Lib/test/test_pdb.py | 1495 | >>> def test_function(): | STRING |
| LOW | www/src/Lib/test/test_pdb.py | 1528 | >>> def test_function(): | STRING |
| LOW | www/src/Lib/test/test_pdb.py | 1560 | >>> def test_function(): | STRING |
| LOW | www/src/Lib/test/test_pdb.py | 1635 | >>> def test_function(): | STRING |
| LOW | www/src/Lib/test/test_pdb.py | 1687 | >>> def test_function(): | STRING |
| LOW | www/src/Lib/test/test_pdb.py | 1724 | 1 def test_function(): | STRING |
| LOW | www/src/Lib/test/test_pdb.py | 1754 | >>> def test_function(): | STRING |
| LOW | www/src/Lib/test/test_pdb.py | 1824 | >>> def test_function(): | STRING |
| LOW | www/src/Lib/test/test_pdb.py | 1912 | >>> def test_function(): | STRING |
| LOW | www/src/Lib/test/test_pdb.py | 2005 | >>> def test_function(): | STRING |
| LOW | www/src/Lib/test/test_pdb.py | 2069 | >>> def test_function(): | STRING |
| LOW | www/src/Lib/test/test_pdb.py | 2134 | >>> def test_function(): | STRING |
| LOW | www/src/Lib/test/test_pdb.py | 2166 | >>> def test_function(): | STRING |
| LOW | www/src/Lib/test/test_pdb.py | 2228 | >>> def test_function(): | STRING |
| LOW | www/src/Lib/test/test_pdb.py | 2281 | >>> def test_function(): | STRING |
| LOW | www/src/Lib/test/test_pdb.py | 2336 | >>> def test_function(): | STRING |
| LOW | www/src/Lib/test/test_pdb.py | 2397 | >>> def test_function(): | STRING |
| LOW | www/src/Lib/test/test_pdb.py | 2450 | >>> def test_function(): | STRING |
| LOW | www/src/Lib/test/test_pdb.py | 2515 | >>> def test_function(): | STRING |
| LOW | www/src/Lib/test/test_pdb.py | 2553 | >>> def test_function(): | STRING |
| 36 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | www/gallery/synthesizer.py | 18 | CODE | |
| LOW | www/tests/issues.py | 3237 | CODE | |
| LOW | www/tests/input_interpreter.py | 206 | CODE | |
| LOW | www/cgi-bin/cgi.py | 330 | CODE | |
| LOW | www/src/Lib/tempfile.py | 558 | CODE | |
| LOW | www/src/Lib/tempfile.py | 631 | CODE | |
| LOW | www/src/Lib/tempfile.py | 713 | CODE | |
| LOW | www/src/Lib/time.py | 137 | CODE | |
| LOW | www/src/Lib/time.py | 178 | CODE | |
| LOW | www/src/Lib/time.py | 316 | CODE | |
| LOW | www/src/Lib/textwrap.py | 112 | CODE | |
| LOW | www/src/Lib/cmath.py | 401 | CODE | |
| LOW | www/src/Lib/functools.py | 630 | CODE | |
| LOW | www/src/Lib/subprocess.py | 814 | CODE | |
| LOW | www/src/Lib/pydoc.py | 1365 | CODE | |
| LOW | www/src/Lib/optparse.py | 1168 | CODE | |
| LOW | www/src/Lib/pdb.py | 499 | CODE | |
| LOW | www/src/Lib/interpreter.py | 159 | CODE | |
| LOW | www/src/Lib/configparser.py | 654 | CODE | |
| LOW | www/src/Lib/reprlib.py | 51 | CODE | |
| LOW | www/src/Lib/_pydatetime.py | 1789 | CODE | |
| LOW | www/src/Lib/_pydatetime.py | 2083 | CODE | |
| LOW | www/src/Lib/tarfile.py | 978 | CODE | |
| LOW | www/src/Lib/tarfile.py | 1747 | CODE | |
| LOW | www/src/Lib/_pydecimal.py | 3872 | CODE | |
| LOW | www/src/Lib/_colorize.py | 483 | CODE | |
| LOW | www/src/Lib/unittest/main.py | 66 | CODE | |
| LOW | www/src/Lib/unittest/mock.py | 446 | CODE | |
| LOW | www/src/Lib/unittest/mock.py | 465 | CODE | |
| LOW | www/src/Lib/unittest/mock.py | 1154 | CODE | |
| LOW | www/src/Lib/test/test_pdb.py | 5073 | CODE | |
| LOW | www/src/Lib/test/test_faulthandler.py | 108 | CODE | |
| LOW | www/src/Lib/test/test_decimal.py | 4323 | CODE | |
| LOW | www/src/Lib/test/test_code.py | 850 | CODE | |
| LOW | www/src/Lib/test/mock_socket.py | 54 | CODE | |
| LOW | www/src/Lib/test/test_ssl.py | 281 | CODE | |
| LOW | www/src/Lib/test/test_ssl.py | 322 | CODE | |
| LOW | www/src/Lib/test/test_ssl.py | 2751 | CODE | |
| LOW | www/src/Lib/json/__init__.py | 155 | CODE | |
| LOW | www/src/Lib/json/encoder.py | 260 | CODE | |
| LOW | www/src/Lib/json/encoder.py | 105 | CODE | |
| LOW | www/src/Lib/http/cookiejar.py | 885 | CODE | |
| LOW | www/src/Lib/_pyrepl/_minimal_curses.py | 64 | CODE | |
| LOW | www/src/Lib/logging/handlers.py | 216 | CODE | |
| LOW | www/src/Lib/email/contentmanager.py | 172 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | www/src/Lib/encodings/idna.py | 82 | # Step 2: nameprep | COMMENT |
| LOW⚡ | www/src/Lib/encodings/idna.py | 85 | # Step 3: UseSTD3ASCIIRules is false | COMMENT |
| LOW⚡ | www/src/Lib/encodings/idna.py | 86 | # Step 4: try ASCII | COMMENT |
| LOW⚡ | www/src/Lib/encodings/idna.py | 100 | # Step 5: Check ACE prefix | COMMENT |
| LOW⚡ | www/src/Lib/encodings/idna.py | 105 | # Step 6: Encode with PUNYCODE | COMMENT |
| LOW⚡ | www/src/Lib/encodings/idna.py | 108 | # Step 7: Prepend ACE prefix | COMMENT |
| LOW⚡ | www/src/Lib/encodings/idna.py | 111 | # Step 8: Check size | COMMENT |
| LOW⚡ | www/src/Lib/encodings/idna.py | 141 | # Step 2: Perform nameprep | COMMENT |
| LOW⚡ | www/src/Lib/encodings/idna.py | 149 | # Step 3: Check for ACE prefix | COMMENT |
| LOW⚡ | www/src/Lib/encodings/idna.py | 154 | # Step 4: Remove ACE prefix | COMMENT |
| LOW⚡ | www/src/Lib/encodings/idna.py | 157 | # Step 5: Decode using PUNYCODE | COMMENT |
| LOW⚡ | www/src/Lib/encodings/idna.py | 164 | # Step 6: Apply ToASCII | COMMENT |
| LOW⚡ | www/src/Lib/encodings/idna.py | 167 | # Step 7: Compare the result of step 6 with the one of step 3 | COMMENT |
| LOW⚡ | www/src/Lib/encodings/idna.py | 173 | # Step 8: return the result of step 5 | COMMENT |
| LOW | www/src/Lib/encodings/idna.py | 68 | # Step 1: try ASCII | COMMENT |
| LOW | www/src/Lib/encodings/idna.py | 130 | # Step 1: Check for ASCII | COMMENT |
| LOW | www/src/Lib/test/test_curses.py | 947 | # range may be restricted, so we need to check if the limit is still | COMMENT |
| LOW | www/src/Lib/email/header.py | 390 | # Step 1: Normalize the chunks so that all runs of identical charsets | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | www/src/Lib/encodings/idna.py | 82 | # Step 2: nameprep | COMMENT |
| LOW⚡ | www/src/Lib/encodings/idna.py | 85 | # Step 3: UseSTD3ASCIIRules is false | COMMENT |
| LOW⚡ | www/src/Lib/encodings/idna.py | 86 | # Step 4: try ASCII | COMMENT |
| LOW⚡ | www/src/Lib/encodings/idna.py | 100 | # Step 5: Check ACE prefix | COMMENT |
| LOW⚡ | www/src/Lib/encodings/idna.py | 105 | # Step 6: Encode with PUNYCODE | COMMENT |
| LOW⚡ | www/src/Lib/encodings/idna.py | 108 | # Step 7: Prepend ACE prefix | COMMENT |
| LOW⚡ | www/src/Lib/encodings/idna.py | 111 | # Step 8: Check size | COMMENT |
| LOW⚡ | www/src/Lib/encodings/idna.py | 141 | # Step 2: Perform nameprep | COMMENT |
| LOW⚡ | www/src/Lib/encodings/idna.py | 149 | # Step 3: Check for ACE prefix | COMMENT |
| LOW⚡ | www/src/Lib/encodings/idna.py | 154 | # Step 4: Remove ACE prefix | COMMENT |
| LOW⚡ | www/src/Lib/encodings/idna.py | 157 | # Step 5: Decode using PUNYCODE | COMMENT |
| LOW⚡ | www/src/Lib/encodings/idna.py | 164 | # Step 6: Apply ToASCII | COMMENT |
| LOW⚡ | www/src/Lib/encodings/idna.py | 167 | # Step 7: Compare the result of step 6 with the one of step 3 | COMMENT |
| LOW⚡ | www/src/Lib/encodings/idna.py | 173 | # Step 8: return the result of step 5 | COMMENT |
| LOW | www/src/Lib/encodings/idna.py | 68 | # Step 1: try ASCII | COMMENT |
| LOW | www/src/Lib/encodings/idna.py | 130 | # Step 1: Check for ASCII | COMMENT |
| LOW | www/src/Lib/email/header.py | 390 | # Step 1: Normalize the chunks so that all runs of identical charsets | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | www/gallery/markdown_exec.html | 17 | example = """Here is a simple example: | CODE |
| MEDIUM | www/src/Lib/heapq.py | 267 | # you can use it. | COMMENT |
| LOW | www/src/Lib/quopri.py | 91 | # Don't forget to include the soft line break `=' sign in the | COMMENT |
| MEDIUM | www/src/Lib/ntpath.py | 408 | # XXX With COMMAND.COM you can use any characters in a variable name, | COMMENT |
| MEDIUM⚡ | www/src/Lib/unittest/test/testmock/testmagicmethods.py | 494 | # Check if you can change behaviour of magic methods in MagicMock init | COMMENT |
| LOW | www/src/Lib/test/test_gc.py | 1729 | # make sure to always test gc.enable() | STRING |
| MEDIUM | www/src/Lib/test/test_logging.py | 425 | # level values which do not fit into these limitations, you can use a | COMMENT |
| LOW | www/src/Lib/test/test_bigmem.py | 46 | # - Don't forget to test for large indices, offsets and results and such, | COMMENT |
| LOW | www/src/Lib/_pyrepl/fancycompleter.py | 177 | # sort the words now to make sure to return completions in | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | www/src/Lib/subprocess.py | 258 | # which is calling `CloseHandle` as requested in [1]), so there is nothing | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | www/src/Lib/test/test_asyncgen.py | 74 | # all methods of the iterator protocol. In this implementation | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | www/src/Lib/zipfile.py | 576 | # Usage: | COMMENT |
| LOW⚡ | www/src/Lib/unittest/test/testmock/testmock.py | 504 | # Usage example | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | www/src/py_type.js | 2238 | if ($B.is_type(arg)) { // TODO: Add test | CODE |
| LOW | www/src/Lib/test/test_smtplib.py | 1285 | #TODO: add tests for correct AUTH method fallback now that the | COMMENT |