Python for Windows (pywin32) Extensions
This report summarizes scanner evidence for mhammond/pywin32, a C++ project with 5,620 GitHub stars. SynthScan examined 360,308 lines of code across 1411 source files, recording 1767 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 8.6 (Moderate 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? 1227 finding(s).
Are imports declared and package/API names verified? 154 finding(s).
Are wrappers, guards, and repeated structures necessary? 420 finding(s).
Which changes need focused human review? 1767 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 1767 distinct pattern matches across 20 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | setup.py | 485 | except (AttributeError, TypeError): | CODE |
| HIGH | AutoDuck/BuildHHP.py | 100 | except: | CODE |
| HIGH | AutoDuck/BuildHHP.py | 109 | except: | CODE |
| HIGH | AutoDuck/makedfromi.py | 64 | except ValueError: | CODE |
| HIGH | pythonwin/pywin/idle/CallTips.py | 99 | except: | CODE |
| HIGH | pythonwin/pywin/idle/CallTips.py | 140 | except AttributeError: | CODE |
| HIGH | pythonwin/pywin/idle/AutoIndent.py | 530 | except (tokenize.TokenError, IndentationError): | CODE |
| HIGH | pythonwin/pywin/idle/IdleHistory.py | 75 | except ValueError: | CODE |
| HIGH | pythonwin/pywin/tools/hierlist.py | 193 | except win32ui.error: | CODE |
| HIGH | pythonwin/pywin/tools/hierlist.py | 274 | except win32ui.error: # No status bar! | CODE |
| HIGH | pythonwin/pywin/tools/browser.py | 62 | except (AttributeError, TypeError): | CODE |
| HIGH | pythonwin/pywin/tools/browser.py | 77 | except (AttributeError, TypeError): | CODE |
| HIGH | pythonwin/pywin/tools/browser.py | 82 | except (AttributeError, TypeError): | CODE |
| HIGH | pythonwin/pywin/tools/browser.py | 88 | except (AttributeError, TypeError): | CODE |
| HIGH | pythonwin/pywin/tools/browser.py | 107 | except (AttributeError, TypeError): | CODE |
| HIGH | pythonwin/pywin/tools/browser.py | 112 | except (AttributeError, TypeError): | CODE |
| HIGH | pythonwin/pywin/tools/browser.py | 118 | except (AttributeError, TypeError): | CODE |
| HIGH | pythonwin/pywin/tools/browseProjects.py | 119 | except win32api.error: | CODE |
| HIGH | pythonwin/pywin/tools/browseProjects.py | 192 | except win32ui.error: | CODE |
| HIGH | pythonwin/pywin/framework/toolmenu.py | 123 | except (NameError, AttributeError): | CODE |
| HIGH | pythonwin/pywin/framework/winout.py | 481 | except ( | CODE |
| HIGH | pythonwin/pywin/framework/scriptutils.py | 151 | except AttributeError: | CODE |
| HIGH | pythonwin/pywin/framework/scriptutils.py | 155 | except AttributeError: | CODE |
| HIGH | pythonwin/pywin/framework/scriptutils.py | 201 | except (win32ui.error, AttributeError): | CODE |
| HIGH | pythonwin/pywin/framework/scriptutils.py | 403 | except AttributeError: | CODE |
| HIGH | pythonwin/pywin/framework/scriptutils.py | 624 | except ImportError: | CODE |
| HIGH | pythonwin/pywin/framework/scriptutils.py | 553 | except: | CODE |
| HIGH | pythonwin/pywin/framework/sgrepmdi.py | 746 | except NameError: | CODE |
| HIGH | pythonwin/pywin/framework/sgrepmdi.py | 199 | except: | CODE |
| HIGH | pythonwin/pywin/framework/sgrepmdi.py | 419 | except: | CODE |
| HIGH | pythonwin/pywin/framework/sgrepmdi.py | 322 | except: | CODE |
| HIGH | pythonwin/pywin/framework/app.py | 373 | except: | CODE |
| HIGH | pythonwin/pywin/framework/app.py | 141 | except AttributeError: | CODE |
| HIGH | pythonwin/pywin/framework/app.py | 180 | except KeyboardInterrupt: | CODE |
| HIGH | pythonwin/pywin/framework/app.py | 93 | except win32ui.error: | CODE |
| HIGH | pythonwin/pywin/framework/app.py | 175 | except ValueError: # Item not in list. | CODE |
| HIGH | pythonwin/pywin/framework/bitmap.py | 131 | except NameError: | CODE |
| HIGH | pythonwin/pywin/framework/intpyapp.py | 84 | except win32ui.error: | CODE |
| HIGH | pythonwin/pywin/framework/intpyapp.py | 119 | except (win32ui.error, AttributeError): | CODE |
| HIGH | pythonwin/pywin/framework/intpyapp.py | 233 | except win32ui.error: | CODE |
| HIGH | pythonwin/pywin/framework/intpyapp.py | 255 | except: | CODE |
| HIGH | pythonwin/pywin/framework/intpydde.py | 64 | except win32ui.error: | CODE |
| HIGH | pythonwin/pywin/framework/interact.py | 803 | except win32ui.error: | CODE |
| HIGH | pythonwin/pywin/framework/interact.py | 808 | except win32ui.error: | CODE |
| HIGH | pythonwin/pywin/framework/interact.py | 690 | except win32ui.error: | CODE |
| HIGH | pythonwin/pywin/framework/editor/ModuleBrowser.py | 169 | except (KeyError, AttributeError): | CODE |
| HIGH | pythonwin/pywin/framework/editor/__init__.py | 81 | except win32ui.error: | CODE |
| HIGH | pythonwin/pywin/framework/editor/document.py | 73 | except (OSError, NameError): | CODE |
| HIGH | pythonwin/pywin/framework/editor/document.py | 80 | except (OSError, NameError): | CODE |
| HIGH | pythonwin/pywin/framework/editor/document.py | 68 | except OSError: | CODE |
| HIGH | pythonwin/pywin/framework/editor/template.py | 56 | except (win32api.error, IndexError) as details: | CODE |
| HIGH | pythonwin/pywin/framework/editor/editor.py | 507 | except (NameError, win32ui.error): | CODE |
| HIGH | pythonwin/pywin/framework/editor/editor.py | 146 | except: | CODE |
| HIGH | pythonwin/pywin/framework/editor/editor.py | 323 | except IndexError: | CODE |
| HIGH | pythonwin/pywin/framework/editor/color/coloreditor.py | 642 | except NameError: | CODE |
| HIGH | pythonwin/pywin/scintilla/config.py | 122 | except (OSError, EOFError): | CODE |
| HIGH | pythonwin/pywin/scintilla/config.py | 170 | except (OSError, EOFError): | CODE |
| HIGH | pythonwin/pywin/scintilla/IDLEenvironment.py | 66 | except AttributeError: # GetIDLEModule may return None | CODE |
| HIGH | pythonwin/pywin/scintilla/control.py | 27 | except ( | CODE |
| HIGH | pythonwin/pywin/scintilla/control.py | 36 | except win32api.error: | CODE |
| 233 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pythonwin/pythonppage.cpp | 1 | // pythonppage.cpp : implementation file | COMMENT |
| LOW | pythonwin/pythonview.h | 61 | // typedef CPythonViewFramework<CCtrlView> CPythonCtrlView; | COMMENT |
| LOW | pythonwin/respw.h | 1 | //{{NO_DEPENDENCIES}} | COMMENT |
| LOW | pythonwin/stdafx.h | 1 | // stdafx.h : include file for standard system include files, | COMMENT |
| LOW | pythonwin/stdafx.h | 21 | #include "limits.h" | COMMENT |
| LOW | pythonwin/stdafx.h | 41 | #include "win32ui.h" | COMMENT |
| LOW | pythonwin/win32RichEditDocTemplate.cpp | 1 | #include "stdafx.h" | COMMENT |
| LOW | pythonwin/pythondoc.cpp | 1 | // pythondoc.cpp : implementation of the CPythonDoc class | COMMENT |
| LOW | pythonwin/stdafxole.h | 1 | // stdafx.h : include file for standard system include files, | COMMENT |
| LOW | pythonwin/stdafxole.h | 21 | // allow memory leaks to give me the line number. | COMMENT |
| LOW | pythonwin/reswin32ui.h | 1 | //{{NO_DEPENDENCIES}} | COMMENT |
| LOW | pythonwin/reswin32ui.h | 21 | #define IDD_LARGE_EDIT 11147 | COMMENT |
| LOW | pythonwin/reswin32ui.h | 41 | #define IDC_PROMPT1 15014 | COMMENT |
| LOW | pythonwin/reswin32ui.h | 61 | #define IDC_DEMO3 15035 | COMMENT |
| LOW | pythonwin/reswin32ui.h | 81 | #define IDC_RADIO2 15062 | COMMENT |
| LOW | pythonwin/reswin32ui.h | 101 | #define IDC_FOLD_ENABLE 15078 | COMMENT |
| LOW | pythonwin/reswin32ui.h | 121 | #define ID_VIEW_BROWSE 36869 | COMMENT |
| LOW | pythonwin/reswin32ui.h | 141 | #define ID_VIEW_FOLD_TOPLEVEL 36900 | COMMENT |
| LOW | pythonwin/win32pen.cpp | 1 | // -*- Mode: C++; tab-width: 4 -*- | COMMENT |
| LOW | pythonwin/Win32uiHostGlue.h | 21 | // placeholder in case application want to provide custom status text. | COMMENT |
| LOW | pythonwin/win32util.cpp | 21 | #include "win32dlg.h" | COMMENT |
| LOW | pythonwin/win32util.cpp | 921 | } | COMMENT |
| LOW | pythonwin/ddemodule.cpp | 181 | ADD_CONSTANT(APPCLASS_MONITOR); // Makes it possible for the application to monitor DDE activity in the system. | COMMENT |
| LOW | pythonwin/ddemodule.cpp | 201 | // application. This flag is equivalent to combining all CBF_FAIL_ flags. | COMMENT |
| LOW | pythonwin/pythonpsheet.cpp | 1 | // pythonpsheet.cpp : implementation file | COMMENT |
| LOW | pythonwin/win32ctrlList.cpp | 161 | MAKE_SETBOOL_INT_METH(PyCListCtrl_SetTextBkColor, SetTextBkColor) | COMMENT |
| LOW | pythonwin/win32ctrlList.cpp | 781 | // @pyparm point|x,y||The point to test. | COMMENT |
| LOW | pythonwin/win32win.cpp | 141 | return (CPythonMDIChildWnd *)PyCWnd::GetPythonGenericWnd(self, &PyCFrameWnd::type); | COMMENT |
| LOW | pythonwin/win32win.cpp | 1461 | CString csText; | COMMENT |
| LOW | pythonwin/win32win.cpp | 1481 | // This may be an ascii code, or a virtual key code. | COMMENT |
| LOW | pythonwin/pythonwin.cpp | 1 | // pythonwin.cpp : Defines the class behaviors for the application. | COMMENT |
| LOW | pythonwin/stdafxpw.cpp | 1 | // stdafxpw.cpp : source file that includes just the standard includes | COMMENT |
| LOW | pythonwin/win32uiExt.h | 101 | // @pyvirtual tuple|PyCWnd|PreTranslateMessage|Allows a Window to override the PreTranslateMessage handling. | COMMENT |
| LOW | pythonwin/win32uiExt.h | 1081 | ON_COMMAND(IDC_PRINT_COLLATE, &CPythonPrtDlgFramework<T>::HandleCollate) | COMMENT |
| LOW | pythonwin/pythonview.cpp | 1 | // Pythonview.cpp - implementation of a CEditView, especially set up for | COMMENT |
| LOW | pythonwin/win32prinfo.cpp | 581 | GUI_END_SAVE; \ | COMMENT |
| LOW | pythonwin/stdafxdde.h | 1 | #define _USING_V110_SDK71_ | COMMENT |
| LOW | pythonwin/win32prop.cpp | 81 | if (max == 0) | COMMENT |
| LOW | pythonwin/stdafxole.cpp | 1 | // stdafx.cpp : source file that includes just the standard includes | COMMENT |
| LOW | pythonwin/win32font.cpp | 21 | PyObject *PyCFont::create(PyObject *self, PyObject *args) | COMMENT |
| LOW | pythonwin/pythonRichEdit.cpp | 1 | // pythonRichEdit.cpp : implementation file | COMMENT |
| LOW | pythonwin/win32uiole.cpp | 1 | #include "stdafxole.h" | COMMENT |
| LOW | pythonwin/win32control.cpp | 21 | #include "win32bitmap.h" | COMMENT |
| LOW | pythonwin/win32virt.cpp | 1 | /* | COMMENT |
| LOW | pythonwin/win32uimodule.cpp | 21 | #include "win32dc.h" | COMMENT |
| LOW | pythonwin/win32uimodule.cpp | 801 | PyObject *arglst = Py_BuildValue("(O)", object); | COMMENT |
| LOW | pythonwin/win32uimodule.cpp | 2261 | // This template replaces the default template for the Print Setup dialog box. | COMMENT |
| LOW | pythonwin/win32uimodule.cpp | 2281 | // subsystem to query the user for the name of the output file. | COMMENT |
| LOW | pythonwin/win32uimodule.cpp | 2301 | ADD_CONSTANT( | COMMENT |
| LOW | pythonwin/win32uimodule.cpp | 2541 | { | COMMENT |
| LOW | pythonwin/win32dc.cpp | 621 | // @rdesc Always none. If the function fails, an exception is raised. | COMMENT |
| LOW | pythonwin/win32dc.cpp | 2181 | // @pyparm (int, int, int, int)|tuple||The bounding rectangle in the form: | COMMENT |
| LOW | pythonwin/win32dc.cpp | 2201 | // def drawtext_test():<nl> | COMMENT |
| LOW | pythonwin/win32ctrlTree.cpp | 281 | // @pymethod int|PyCTreeCtrl|GetIndent|Retrieves the offset (in pixels) of a tree view item from its parent. | COMMENT |
| LOW | pythonwin/win32ctrlTree.cpp | 861 | // @rdesc The result is a tuple of (flags, hItem). | COMMENT |
| LOW | pythonwin/win32tooltip.cpp | 1 | // Contributed by kk@epsilon.com.gr | COMMENT |
| LOW | pythonwin/stddde.cpp | 1 | // stddde.cpp | COMMENT |
| LOW | pythonwin/stddde.cpp | 41 | //////////////////////////////////////////////////////////////////////////////////// | COMMENT |
| LOW | pythonwin/stddde.cpp | 841 | // | COMMENT |
| LOW | pythonwin/stddde.cpp | 901 | { | COMMENT |
| 828 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | ruff.toml | 2 | # This file is not UTF-8 | COMMENT |
| MEDIUM | pythonwin/Scintilla/win32/DepGen.py | 20 | # Create the dependencies file for g++ | COMMENT |
| MEDIUM | pythonwin/Scintilla/win32/DepGen.py | 33 | # Create the dependencies file for MSVC | COMMENT |
| MEDIUM | pythonwin/pywin/framework/toolmenu.py | 80 | # Create the new menu | COMMENT |
| MEDIUM | pythonwin/pywin/framework/winout.py | 20 | # This module is thread safe - output can originate from any thread. If any thread | COMMENT |
| MEDIUM | pythonwin/pywin/framework/scriptutils.py | 256 | # Create the debugger, but _dont_ init the debugger GUI. | COMMENT |
| MEDIUM | pythonwin/pywin/framework/intpyapp.py | 211 | # Create the taskbar icon | COMMENT |
| MEDIUM | pythonwin/pywin/framework/interact.py | 286 | # This class handles the Python interactive interpreter. | STRING |
| MEDIUM | pythonwin/pywin/framework/editor/frame.py | 11 | # Create the default view as specified by the template (ie, the editor view) | COMMENT |
| MEDIUM | pythonwin/pywin/framework/editor/frame.py | 13 | # Create the browser view. | COMMENT |
| MEDIUM | pythonwin/pywin/framework/editor/color/coloreditor.py | 20 | # Define a few common markers | COMMENT |
| MEDIUM | pythonwin/pywin/framework/editor/color/coloreditor.py | 64 | # Define the markers | COMMENT |
| MEDIUM | pythonwin/pywin/framework/editor/color/coloreditor.py | 76 | # Define the folding markers | COMMENT |
| MEDIUM | pythonwin/pywin/scintilla/IDLEenvironment.py | 580 | # Create a new Scintilla Window. | STRING |
| MEDIUM | pythonwin/pywin/docking/DockingBar.py | 98 | # Create the child dialog | COMMENT |
| MEDIUM | pythonwin/pywin/debugger/debugger.py | 681 | # This function is called when a return trap is set here | COMMENT |
| MEDIUM | pythonwin/pywin/debugger/debugger.py | 691 | # This function is called if an exception occurs, | COMMENT |
| MEDIUM | pythonwin/pywin/Demos/dlgtest.py | 94 | # Create a completely standard PropertyPage. | COMMENT |
| MEDIUM | win32/test/test_odbc.py | 24 | # Create a local MSAccess DB for testing. | COMMENT |
| MEDIUM | win32/test/test_odbc.py | 27 | # Create a brand-new database - what is the story with these? | COMMENT |
| MEDIUM | win32/test/test_win32file.py | 73 | # Create a file in the %TEMP% directory. | COMMENT |
| MEDIUM | win32/test/test_win32file.py | 138 | # Create a file in the %TEMP% directory. | COMMENT |
| MEDIUM | win32/test/test_win32file.py | 313 | # Create a file in the %TEMP% directory. | COMMENT |
| MEDIUM | win32/test/test_win32file.py | 321 | # Create the file and write shit-loads of data to it. | COMMENT |
| MEDIUM | win32/test/test_win32file.py | 424 | # Create the pipe. | COMMENT |
| MEDIUM | win32/test/test_win32file.py | 439 | # Create an IOCP and associate it with the handle. | COMMENT |
| MEDIUM | win32/scripts/pywin32_postinstall.py | 76 | # Create a function with the same signature as create_shortcut | COMMENT |
| MEDIUM | win32/scripts/pywin32_postinstall.py | 499 | # Create the win32com\gen_py directory. | COMMENT |
| MEDIUM | win32/scripts/setup_d.py | 88 | # Create the debug key. | COMMENT |
| MEDIUM | win32/Lib/pywin32_testutil.py | 180 | # This module is typically always in the installed dir, so use argv[0] | COMMENT |
| MEDIUM | win32/Lib/win32gui_struct.py | 8 | # This module defines some helpers for the commonly used structures. | COMMENT |
| MEDIUM | win32/Lib/win32gui_struct.py | 175 | # Create the struct. | COMMENT |
| MEDIUM | win32/Lib/win32gui_struct.py | 324 | # Create the struct. | COMMENT |
| MEDIUM | win32/Lib/win32evtlogutil.py | 41 | # Create a new key for our application | COMMENT |
| MEDIUM | win32/Lib/regcheck.py | 1 | # This module is very old and useless in this day and age! It will be | COMMENT |
| MEDIUM | win32/Demos/win32gui_taskbar.py | 37 | # Create the Window. | COMMENT |
| MEDIUM | win32/Demos/win32gui_menu.py | 95 | # Create the Window. | COMMENT |
| MEDIUM | win32/Demos/win32gui_menu.py | 173 | # Create a top-level menu with a bitmap | COMMENT |
| MEDIUM | win32/Demos/win32gui_menu.py | 250 | # Create a sub-menu, and put a few funky ones there. | COMMENT |
| MEDIUM | win32/Demos/win32gui_dialog.py | 409 | # Create the window via CreateDialogBoxIndirect - it can then | COMMENT |
| MEDIUM | win32/Demos/security/set_file_audit.py | 75 | ## Create a file in the dir and add some specific permissions to it | COMMENT |
| MEDIUM | win32/Demos/service/pipeTestService.py | 54 | # Create a security object giving World read/write access, | COMMENT |
| MEDIUM | win32/Demos/service/pipeTestService.py | 75 | # Create a loop, reading large data. If we knew the data stream was | COMMENT |
| MEDIUM | com/win32comext/axscript/client/framework.py | 265 | # Create an event handler for the item. | COMMENT |
| MEDIUM | com/win32comext/shell/demos/explorer_browser.py | 56 | # Create the Window. | COMMENT |
| MEDIUM | com/win32comext/adsi/demos/test.py | 103 | # Create a list of names to fetch | COMMENT |
| MEDIUM | com/win32comext/adsi/demos/objectPicker.py | 13 | # Create an instance of the object picker. | COMMENT |
| MEDIUM | com/win32comext/adsi/demos/scp.py | 132 | # This function is described in detail in the MSDN article titled | COMMENT |
| MEDIUM | com/win32comext/adsi/demos/scp.py | 324 | # Create a Service Principal Name" | COMMENT |
| MEDIUM | com/help/adsi.html | 179 | # Create the Global Providers object | COMMENT |
| MEDIUM | com/win32com/test/testADOEvents.py | 64 | # Create the ADO connection object, and link the event | COMMENT |
| MEDIUM | com/win32com/test/testPyComTest.py | 82 | # The following class has the same GUID as TestStruct2 from the TypeLibrary. | COMMENT |
| MEDIUM | com/win32com/test/testPyComTest.py | 528 | # Create an instance of a Record type with a nested Record field. | COMMENT |
| MEDIUM | com/win32com/test/testPyComTest.py | 541 | # Create a seperate instance of the nested Record type. | COMMENT |
| MEDIUM | com/win32com/test/testPyComTest.py | 565 | # Create a nested 3 dimensional tuple of COM Records. | COMMENT |
| MEDIUM | com/win32com/test/testPyComTest.py | 577 | # Create an instance of a COM Record that has a member of type | COMMENT |
| MEDIUM | com/win32com/test/testPyComTest.py | 638 | # Create an instance of the server. | COMMENT |
| MEDIUM | com/win32com/test/testPyComTest.py | 818 | # Create a connection object. | COMMENT |
| MEDIUM | com/win32com/test/testPyComTest.py | 1046 | # Create a local server | COMMENT |
| MEDIUM | com/win32com/test/testAccess.py | 51 | # Create a second test table. | COMMENT |
| 10 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.py | 408 | CODE | |
| LOW | AutoDuck/makedfromi.py | 34 | CODE | |
| LOW | AutoDuck/makedfromi.py | 142 | CODE | |
| LOW | AutoDuck/document_object.py | 9 | CODE | |
| LOW | AutoDuck/Dump2HHC.py | 94 | CODE | |
| LOW | AutoDuck/py2d.py | 94 | CODE | |
| LOW | pythonwin/pywin/idle/CallTips.py | 117 | CODE | |
| LOW | pythonwin/pywin/idle/AutoIndent.py | 93 | CODE | |
| LOW | pythonwin/pywin/idle/AutoIndent.py | 195 | CODE | |
| LOW | pythonwin/pywin/idle/AutoIndent.py | 514 | CODE | |
| LOW | pythonwin/pywin/idle/PyParse.py | 226 | CODE | |
| LOW | pythonwin/pywin/idle/PyParse.py | 504 | CODE | |
| LOW | pythonwin/pywin/tools/hierlist.py | 198 | CODE | |
| LOW | pythonwin/pywin/tools/browser.py | 23 | CODE | |
| LOW | pythonwin/pywin/tools/browseProjects.py | 123 | CODE | |
| LOW | pythonwin/pywin/framework/scriptutils.py | 172 | CODE | |
| LOW | pythonwin/pywin/framework/scriptutils.py | 213 | CODE | |
| LOW | pythonwin/pywin/framework/scriptutils.py | 653 | CODE | |
| LOW | pythonwin/pywin/framework/sgrepmdi.py | 44 | CODE | |
| LOW | pythonwin/pywin/framework/sgrepmdi.py | 288 | CODE | |
| LOW | pythonwin/pywin/framework/app.py | 162 | CODE | |
| LOW | pythonwin/pywin/framework/intpyapp.py | 166 | CODE | |
| LOW | pythonwin/pywin/framework/intpyapp.py | 270 | CODE | |
| LOW | pythonwin/pywin/framework/help.py | 32 | CODE | |
| LOW | pythonwin/pywin/framework/help.py | 80 | CODE | |
| LOW | pythonwin/pywin/framework/interact.py | 144 | CODE | |
| LOW | pythonwin/pywin/framework/interact.py | 232 | CODE | |
| LOW | pythonwin/pywin/framework/interact.py | 519 | CODE | |
| LOW | pythonwin/pywin/framework/editor/document.py | 54 | CODE | |
| LOW | pythonwin/pywin/framework/editor/document.py | 352 | CODE | |
| LOW | pythonwin/pywin/framework/editor/editor.py | 246 | CODE | |
| LOW | pythonwin/pywin/framework/editor/editor.py | 296 | CODE | |
| LOW | pythonwin/pywin/framework/editor/color/coloreditor.py | 355 | CODE | |
| LOW | pythonwin/pywin/framework/editor/color/coloreditor.py | 367 | CODE | |
| LOW | pythonwin/pywin/framework/editor/color/coloreditor.py | 441 | CODE | |
| LOW | pythonwin/pywin/scintilla/formatter.py | 468 | CODE | |
| LOW | pythonwin/pywin/scintilla/formatter.py | 487 | CODE | |
| LOW | pythonwin/pywin/scintilla/config.py | 81 | CODE | |
| LOW | pythonwin/pywin/scintilla/config.py | 173 | CODE | |
| LOW | pythonwin/pywin/scintilla/IDLEenvironment.py | 229 | CODE | |
| LOW | pythonwin/pywin/scintilla/IDLEenvironment.py | 106 | CODE | |
| LOW | pythonwin/pywin/scintilla/view.py | 129 | CODE | |
| LOW | pythonwin/pywin/scintilla/view.py | 464 | CODE | |
| LOW | pythonwin/pywin/scintilla/view.py | 562 | CODE | |
| LOW | pythonwin/pywin/scintilla/view.py | 643 | CODE | |
| LOW | pythonwin/pywin/scintilla/document.py | 163 | CODE | |
| LOW | pythonwin/pywin/scintilla/find.py | 78 | CODE | |
| LOW | pythonwin/pywin/docking/DockingBar.py | 311 | CODE | |
| LOW | pythonwin/pywin/docking/DockingBar.py | 381 | CODE | |
| LOW | pythonwin/pywin/docking/DockingBar.py | 457 | CODE | |
| LOW | pythonwin/pywin/docking/DockingBar.py | 500 | CODE | |
| LOW | pythonwin/pywin/debugger/debugger.py | 367 | CODE | |
| LOW | pythonwin/pywin/debugger/debugger.py | 386 | CODE | |
| LOW | pythonwin/pywin/debugger/debugger.py | 729 | CODE | |
| LOW | pythonwin/pywin/debugger/debugger.py | 864 | CODE | |
| LOW | win32/test/test_win32wnet.py | 57 | CODE | |
| LOW | win32/test/testall.py | 37 | CODE | |
| LOW | win32/test/test_win32trace.py | 205 | CODE | |
| LOW | win32/test/test_win32trace.py | 317 | CODE | |
| LOW | win32/test/test_win32file.py | 992 | CODE | |
| 121 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.py | 1 | CODE | |
| LOW | pythonwin/pywin/tools/hierlist.py | 15 | CODE | |
| LOW | pythonwin/pywin/framework/cmdline.py | 5 | CODE | |
| LOW | pythonwin/pywin/framework/app.py | 7 | CODE | |
| LOW | pythonwin/pywin/framework/intpydde.py | 12 | CODE | |
| LOW | pythonwin/pywin/framework/intpydde.py | 12 | CODE | |
| LOW | pythonwin/pywin/framework/editor/__init__.py | 103 | CODE | |
| LOW | pythonwin/pywin/scintilla/formatter.py | 22 | CODE | |
| LOW | pythonwin/pywin/scintilla/config.py | 27 | CODE | |
| LOW | pythonwin/pywin/scintilla/keycodes.py | 3 | CODE | |
| LOW | pythonwin/pywin/scintilla/bindings.py | 1 | CODE | |
| LOW | pythonwin/pywin/scintilla/bindings.py | 9 | CODE | |
| LOW | pythonwin/pywin/scintilla/find.py | 2 | CODE | |
| LOW | pythonwin/pywin/debugger/debugger.py | 29 | CODE | |
| LOW | isapi/install.py | 5 | CODE | |
| LOW | isapi/simple.py | 11 | CODE | |
| LOW | isapi/test/extension_simple.py | 99 | CODE | |
| LOW | isapi/test/extension_simple.py | 20 | CODE | |
| LOW | isapi/samples/advanced.py | 24 | CODE | |
| LOW | isapi/samples/advanced.py | 188 | CODE | |
| LOW | isapi/samples/redirector.py | 29 | CODE | |
| LOW | isapi/samples/redirector.py | 101 | CODE | |
| LOW | isapi/samples/redirector_asynch.py | 17 | CODE | |
| LOW | isapi/samples/redirector_asynch.py | 70 | CODE | |
| LOW | isapi/samples/redirector_with_filter.py | 46 | CODE | |
| LOW | isapi/samples/redirector_with_filter.py | 143 | CODE | |
| LOW | isapi/samples/test.py | 13 | CODE | |
| LOW | isapi/samples/test.py | 165 | CODE | |
| LOW | win32/winxpgui.py | 8 | CODE | |
| LOW | win32/winxpgui.py | 11 | CODE | |
| LOW | win32/test/testall.py | 133 | CODE | |
| LOW | win32/scripts/h2py.py | 34 | CODE | |
| LOW | win32/scripts/ControlService.py | 32 | CODE | |
| LOW | win32/Lib/pywin32_testutil.py | 3 | CODE | |
| LOW | win32/Lib/win2kras.py | 12 | CODE | |
| LOW | win32/Lib/afxres.py | 3 | CODE | |
| LOW | win32/Lib/win32rcparser.py | 11 | CODE | |
| LOW | win32/Lib/win32pdhutil.py | 21 | CODE | |
| LOW | win32/Lib/_win32verstamp_pywin32ctypes.py | 21 | CODE | |
| LOW | win32/Lib/winxptheme.py | 8 | CODE | |
| LOW | win32/Lib/win32timezone.py | 240 | CODE | |
| LOW | win32/Lib/win32timezone.py | 263 | CODE | |
| LOW | win32/Lib/netbios.py | 1 | CODE | |
| LOW | win32/Demos/EvtSubscribe_push.py | 2 | CODE | |
| LOW | win32/Demos/dde/ddeclient.py | 3 | CODE | |
| LOW | win32/Demos/win32wnet/testwnet.py | 5 | CODE | |
| LOW | win32/Demos/service/pipeTestService.py | 27 | CODE | |
| LOW | win32/Demos/service/pipeTestService.py | 28 | CODE | |
| LOW | win32/Demos/service/pipeTestService.py | 29 | CODE | |
| LOW | win32/Demos/service/pipeTestService.py | 30 | CODE | |
| LOW | win32/Demos/service/pipeTestService.py | 31 | CODE | |
| LOW | win32/Demos/service/nativePipeTestService.py | 41 | CODE | |
| LOW | win32/Demos/service/pipeTestServiceClient.py | 13 | CODE | |
| LOW | win32/Demos/service/pipeTestServiceClient.py | 19 | CODE | |
| LOW | win32/Demos/service/pipeTestServiceClient.py | 20 | CODE | |
| LOW | win32/Demos/service/pipeTestServiceClient.py | 21 | CODE | |
| LOW | com/win32comext/axscript/client/error.py | 7 | CODE | |
| LOW | com/win32comext/axscript/client/framework.py | 10 | CODE | |
| LOW | com/win32comext/axscript/client/scriptdispatch.py | 8 | CODE | |
| LOW | com/win32comext/axscript/client/pyscript_rexec.py | 10 | CODE | |
| 90 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pythonwin/pywin/default.cfg | 199 | except Exception: | CODE |
| LOW | pythonwin/pywin/test/test_pywin.py | 295 | except Exception as e: | CODE |
| MEDIUM | pythonwin/pywin/test/test_pywin.py | 269 | def OnPaint(self): | CODE |
| LOW | pythonwin/pywin/test/_exetestscript.py | 48 | except Exception: | CODE |
| MEDIUM | pythonwin/pywin/framework/intpydde.py | 34 | print("Error executing DDE command.") | CODE |
| MEDIUM | pythonwin/pywin/framework/editor/document.py | 284 | print("Error loading source control module.") | CODE |
| MEDIUM | pythonwin/pywin/scintilla/formatter.py | 210 | print("Error loading style data for", style.name) | CODE |
| MEDIUM | pythonwin/pywin/scintilla/config.py | 244 | print(f"Error in {self.filename}: {msg}") | CODE |
| LOW | pythonwin/pywin/Demos/guidemo.py | 30 | except Exception as error: | CODE |
| MEDIUM | pythonwin/pywin/Demos/guidemo.py | 27 | def _exec_demo(cmd): | CODE |
| MEDIUM | pythonwin/pywin/Demos/ocx/ocxserialtest.py | 119 | print("Error closing port - %s" % (details.excepinfo[2])) | CODE |
| LOW | win32/test/test_win32cred.py | 25 | except Exception as e: | CODE |
| MEDIUM | win32/scripts/pywin32_postinstall.py | 64 | def get_root_hkey(): | CODE |
| LOW⚡ | win32/scripts/pywin32_postinstall.py | 555 | except Exception as why: | CODE |
| LOW⚡ | win32/scripts/pywin32_postinstall.py | 560 | except Exception as why: | CODE |
| LOW⚡ | win32/scripts/pywin32_postinstall.py | 568 | except Exception as why: | CODE |
| LOW | win32/scripts/pywin32_postinstall.py | 468 | except Exception: | CODE |
| LOW | win32/scripts/pywin32_postinstall.py | 479 | except Exception: | CODE |
| LOW | win32/scripts/pywin32_postinstall.py | 492 | except Exception: | CODE |
| LOW | win32/scripts/pywin32_postinstall.py | 534 | except Exception as details: | CODE |
| LOW | win32/scripts/pywin32_postinstall.py | 597 | except Exception as why: | CODE |
| LOW | win32/scripts/pywin32_postinstall.py | 608 | except Exception as why: | CODE |
| LOW | win32/scripts/pywin32_postinstall.py | 627 | except Exception: | CODE |
| LOW | win32/scripts/pywin32_postinstall.py | 631 | except Exception as why: | CODE |
| MEDIUM | win32/scripts/setup_d.py | 63 | print(f"Error copying '{src}' -> '{dest}'") | CODE |
| MEDIUM | win32/scripts/rasutil.py | 30 | print("Error: The password is not saved for this connection") | CODE |
| MEDIUM | win32/Lib/win32serviceutil.py | 780 | print("Error starting service: %s" % exc.strerror) | CODE |
| MEDIUM | win32/Lib/win32serviceutil.py | 870 | print("Error installing service: %s" % str(msg)) | CODE |
| MEDIUM | win32/Lib/win32serviceutil.py | 935 | print("Error removing service: %s (%d)" % (exc.strerror, exc.winerror)) | CODE |
| MEDIUM | win32/Lib/win32serviceutil.py | 946 | print("Error stopping service: %s (%d)" % (exc.strerror, exc.winerror)) | CODE |
| LOW | win32/Demos/EvtFormatMessage.py | 60 | except Exception: | CODE |
| LOW | win32/Demos/EvtFormatMessage.py | 68 | except Exception: | CODE |
| MEDIUM | win32/Demos/security/sspi/fetch_url.py | 115 | print("Error text") | CODE |
| MEDIUM | win32/Demos/service/pipeTestService.py | 151 | print("Error connecting pipe!", details) | CODE |
| MEDIUM | com/win32comext/axscript/test/testHost4Dbg.py | 15 | print("An error occurred in the Script Code") | CODE |
| MEDIUM | com/win32comext/bits/test/test_bits.py | 69 | print("Error details:") | CODE |
| MEDIUM | com/help/adsi.html | 192 | print("Error deleting "+login, sys.exc_type , sys.exc_value) | CODE |
| LOW | com/win32com/test/testall.py | 208 | except Exception as error: | CODE |
| LOW | com/win32com/test/testall.py | 246 | except Exception as error: | CODE |
| LOW | com/win32com/test/testPyComTest.py | 683 | except Exception as e: | CODE |
| MEDIUM | com/win32com/test/testPyComTest.py | 106 | def check_get_set_raises(exc, func, arg): | CODE |
| LOW | com/win32com/test/testMSOffice.py | 43 | except Exception as e: | CODE |
| LOW | com/win32com/test/testMSOffice.py | 53 | except Exception as e: | CODE |
| LOW | com/win32com/test/testMSOffice.py | 162 | except Exception as e: | CODE |
| LOW | com/win32com/test/testMSOffice.py | 176 | except Exception as e: | CODE |
| MEDIUM | com/win32com/test/testMSOffice.py | 19 | def TestWord(): | CODE |
| MEDIUM | com/win32com/test/testMSOffice.py | 96 | def TestWord8OldStyle(): | CODE |
| MEDIUM | com/win32com/server/register.py | 613 | print("Error: registration failed (exit code %s)." % exit_code) | CODE |
| LOW | com/win32com/client/__init__.py | 508 | except Exception as e: | CODE |
| MEDIUM | com/win32com/client/__init__.py | 234 | def _event_setattr_(self, attr, val): | CODE |
| MEDIUM | com/win32com/client/dynamic.py | 426 | debug_print("Error building OLE definition for code ", methodCode) | CODE |
| LOW | com/win32com/demos/excelRTDServer.py | 150 | except Exception as why: | CODE |
| LOW | com/win32com/demos/excelRTDServer.py | 390 | except Exception as E: | CODE |
| MEDIUM | adodbapi/adodbapi.py | 465 | print("Error: %s %s " % (e.Number, adc.adoErrors.get(e.Number, "unknown"))) | CODE |
| MEDIUM | adodbapi/adodbapi.py | 66 | def make_COM_connecter(): | CODE |
| MEDIUM | adodbapi/adodbapi.py | 490 | def __del__(self): | CODE |
| LOW | adodbapi/adodbapi.py | 94 | except Exception as e: | CODE |
| LOW | adodbapi/adodbapi.py | 252 | except Exception as e: | CODE |
| LOW | adodbapi/adodbapi.py | 337 | except Exception as e: | CODE |
| LOW | adodbapi/adodbapi.py | 367 | except Exception as e: | CODE |
| 7 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | ruff.toml | 25 | # Ensure modern type annotation syntax and best practices | COMMENT |
| MEDIUM | pythonwin/pywin/idle/PyParse.py | 52 | # so that we're robust in the face of incomplete program text. | STRING |
| LOW | pythonwin/pywin/framework/winout.py | 464 | # First interrupt since idle we just pass on. | COMMENT |
| LOW | pythonwin/pywin/framework/dbgcommands.py | 114 | # If I have a debugger, then tell it, otherwise just add a marker | COMMENT |
| LOW | pythonwin/pywin/framework/intpyapp.py | 500 | # Now simply add the pages, and display the dialog. | COMMENT |
| LOW | pythonwin/pywin/framework/editor/color/coloreditor.py | 261 | # Don't want smart-tabs - just set the options! | COMMENT |
| MEDIUM | isapi/isapicon.py | 13 | # Blackdog Software not be used in advertising or publicity pertaining to | COMMENT |
| MEDIUM | isapi/threaded_extension.py | 61 | # may leverage the CompletionPort to queue their own requests, and implement a | COMMENT |
| MEDIUM | isapi/install.py | 563 | # Be robust should IIS get upset about unloading. | COMMENT |
| LOW | win32/Demos/win32comport_demo.py | 70 | # just return 0 for the status flags. We only care that it has _any_ status | COMMENT |
| LOW | win32/Demos/win32comport_demo.py | 131 | # XXX - note we could _probably_ just use overlapped IO on the win32file.ReadFile() statement | COMMENT |
| LOW | win32/Demos/security/sspi/socket_server.py | 42 | # So just return the repr(), and avoid codecs completely. | COMMENT |
| LOW | com/win32comext/axscript/client/framework.py | 1229 | # I think that in some cases this should just return - but the code | COMMENT |
| LOW | com/win32comext/shell/shellcon.py | 873 | ASSOCSTR_DDEIFEXEC = 8 # DDECOMMAND to use if just create a process | CODE |
| LOW | com/win32comext/shell/demos/servers/folder_view.py | 271 | # todo - just return any ".ico that comes with python" + ",0" :) | COMMENT |
| LOW | com/win32comext/shell/demos/servers/folder_view.py | 284 | # If no function defined - just return S_OK | COMMENT |
| LOW | com/win32comext/shell/demos/servers/folder_view.py | 660 | # just return the dxi - let Python QI for IID_IExtractIconW | COMMENT |
| LOW | com/win32comext/ifilter/demos/filterDemo.py | 92 | # attempt to map each property to a more user friendly name. If we don't know what it is just re | COMMENT |
| LOW | com/win32com/test/testvb.py | 345 | # This time, we just pass Unicode, so the result should compare equal | COMMENT |
| MEDIUM | com/win32com/test/testIterators.py | 75 | # Our VB test harness exposes a property with IEnumVariant. | COMMENT |
| LOW | com/win32com/server/dispatcher.py | 238 | except ImportError: # no win32trace module - just use a print based one. | CODE |
| LOW | com/win32com/server/policy.py | 662 | # just set the attribute | COMMENT |
| LOW | com/win32com/client/build.py | 704 | # resolution, so just use a 'timetuple' here. | COMMENT |
| LOW | com/win32com/client/dynamic.py | 116 | # So it's a FUNCDESC - just use what it specifies. | COMMENT |
| MEDIUM | com/win32com/demos/excelRTDServer.py | 21 | # pertaining to distribution of the software without specific, written | COMMENT |
| LOW | com/win32com/demos/excelRTDServer.py | 391 | # We could simply return a "# ERROR" type string as the | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | pythonwin/pywin/Demos/demoutils.py | 0 | \ this demo program is not designed to be run as a script, but is probably used by some other test program. please try a | STRING |
| HIGH | pythonwin/pywin/Demos/app/demoutils.py | 0 | \ this demo program is not designed to be run as a script, but is probably used by some other test program. please try a | STRING |
| HIGH | pythonwin/pywin/Demos/ocx/demoutils.py | 0 | \ this demo program is not designed to be run as a script, but is probably used by some other test program. please try a | STRING |
| HIGH | pythonwin/pywin/Demos/demoutils.py | 0 | \ this demo program can only be run from inside of pythonwin you must start pythonwin, and select 'run' from the toolbar | STRING |
| HIGH | pythonwin/pywin/Demos/app/demoutils.py | 0 | \ this demo program can only be run from inside of pythonwin you must start pythonwin, and select 'run' from the toolbar | STRING |
| HIGH | pythonwin/pywin/Demos/ocx/demoutils.py | 0 | \ this demo program can only be run from inside of pythonwin you must start pythonwin, and select 'run' from the toolbar | STRING |
| HIGH | pythonwin/pywin/Demos/demoutils.py | 0 | \ this demo program is a 'pythonwin application'. it is more demo code than an example of pythonwin's capabilities. to r | STRING |
| HIGH | pythonwin/pywin/Demos/app/demoutils.py | 0 | \ this demo program is a 'pythonwin application'. it is more demo code than an example of pythonwin's capabilities. to r | STRING |
| HIGH | pythonwin/pywin/Demos/ocx/demoutils.py | 0 | \ this demo program is a 'pythonwin application'. it is more demo code than an example of pythonwin's capabilities. to r | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | pythonwin/pywin/tools/regedit.py | 314 | CODE | |
| MEDIUM | pythonwin/pywin/tools/browser.py | 451 | CODE | |
| MEDIUM | pythonwin/pywin/Demos/objdoc.py | 39 | CODE | |
| MEDIUM | com/win32comext/axscript/client/framework.py | 1272 | CODE | |
| MEDIUM | com/win32comext/axscript/client/framework.py | 1274 | CODE | |
| MEDIUM | com/win32comext/axscript/client/framework.py | 1275 | CODE | |
| MEDIUM | com/win32comext/axscript/client/framework.py | 1287 | CODE | |
| MEDIUM | com/win32comext/axscript/client/framework.py | 1288 | CODE | |
| MEDIUM | com/win32com/test/errorSemantics.py | 195 | CODE | |
| MEDIUM | com/win32com/test/errorSemantics.py | 196 | CODE | |
| MEDIUM | com/win32com/test/errorSemantics.py | 197 | CODE | |
| MEDIUM | com/win32com/makegw/makegwparse.py | 155 | CODE | |
| MEDIUM | com/win32com/makegw/makegwparse.py | 156 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | pythonwin/pywin/framework/app.py | 275 | # It all still works, tho, so if you need similar functionality, you can use it. | COMMENT |
| MEDIUM | pythonwin/pywin/Demos/dlgtest.py | 41 | # And just for demonstration purposes, we hook the notify message for the dialog. | COMMENT |
| MEDIUM | pythonwin/pywin/Demos/dlgtest.py | 64 | # We only make a new class for demonstration purposes. | COMMENT |
| MEDIUM | isapi/__init__.py | 35 | # This means you can change your code without restarting IIS. | COMMENT |
| LOW | win32/Demos/service/nativePipeTestService.py | 12 | # So in short, please make sure you *really* want to do this, otherwise just | COMMENT |
| MEDIUM | com/win32comext/mapi/demos/mapisend.py | 56 | # note: you can use the resolveaddress functions for this. but you may get headaches | COMMENT |
| LOW | com/win32comext/taskscheduler/test/test_addtask_2.py | 37 | tt.Flags = 0 ## flags for a new trigger default to TASK_TRIGGER_FLAG_DISABLED (4), make sure to clear them if not using | CODE |
| MEDIUM | com/win32com/HTML/QuickStartServerCom.html | 40 | </CODE><P>This is obviously a very simple server. In particular, custom error handling would be needed for a production | CODE |
| MEDIUM | com/win32com/client/__init__.py | 683 | # which it would get from a Python integer), you can use this to force a | COMMENT |
| MEDIUM | com/win32com/demos/excelRTDServer.py | 187 | But this works for demonstration purposes.""" | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | pythonwin/win32win.cpp | 1656 | // is already the same as requested and no change was made. | COMMENT |
| HIGH | pythonwin/win32win.cpp | 1687 | // is already the same as requested and no change was made. | COMMENT |
| HIGH | win32/src/win32credmodule.cpp | 78 | // PyUnicode_AsWideChar copies exactly as many chars as requested and | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.py | 408 | def _why_cant_build_extension(self, ext): | CODE |
| LOW | setup.py | 2153 | def convert_optional_data_files(files): | CODE |
| LOW | pythonwin/pywin/idle/CallTips.py | 63 | def check_calltip_cancel_event(self, event): | CODE |
| LOW | pythonwin/pywin/idle/AutoIndent.py | 289 | def _build_char_in_string_func(self, startindex): | CODE |
| LOW | pythonwin/pywin/idle/PyParse.py | 583 | def get_last_open_bracket_pos(self): | STRING |
| LOW | win32/test/test_odbc.py | 128 | def test_insert_select_unicode(self, userid="Frank", username="Frank Millman"): | CODE |
| LOW | win32/test/test_odbc.py | 157 | def test_insert_select_unicode_ext(self): | CODE |
| LOW | win32/test/test_odbc.py | 250 | def test_set_zero_length_unicode(self): | CODE |
| LOW | win32/test/test_win32print.py | 14 | def test_printer_levels_read_dummy(self): | CODE |
| LOW | win32/test/test_win32file.py | 804 | def test_connect_with_payload(self): | CODE |
| LOW | win32/test/test_win32file.py | 839 | def test_connect_without_payload(self): | CODE |
| LOW | win32/Lib/win32pdhutil.py | 35 | def find_pdh_counter_localized_name(english_name, machine_name=None): | CODE |
| LOW | win32/Lib/win32timezone.py | 865 | def _get_indexed_time_zone_keys(index_key="Index"): | CODE |
| LOW | win32/Lib/win32timezone.py | 883 | def get_sorted_time_zone_names() -> list[str]: | CODE |
| LOW | com/win32comext/axscript/client/debug.py | 120 | def _query_interface_for_debugger_(self, iid): | CODE |
| LOW | com/win32comext/shell/test/testShellItem.py | 47 | def test_create_in_known_folder(self): | CODE |
| LOW | com/win32comext/shell/test/testShellItem.py | 53 | def test_create_item_with_parent(self): | CODE |
| LOW | com/win32com/client/build.py | 641 | def demunge_leading_underscores(className): | CODE |
| LOW | com/win32com/client/__init__.py | 267 | def __get_disp_and_event_classes(dispatch): | CODE |
| LOW | adodbapi/test/tryconnection.py | 21 | def try_operation_with_expected_exception( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pythonwin/pywin/scintilla/view.py | 703 | # Check if we are beyond the end. | COMMENT |
| LOW | win32/test/test_win32file.py | 129 | h = None # Close the file by removing the last reference to the handle! | CODE |
| LOW | win32/Demos/win32fileDemo.py | 20 | # Open the file for writing. | COMMENT |
| LOW | com/win32comext/shell/demos/servers/shell_view.py | 66 | # Set this to 1 to cause debug version to be registered and used. A debug | COMMENT |
| LOW⚡ | com/win32comext/adsi/demos/scp.py | 184 | # Set AceFlags to zero because ACE is not inheritable. | COMMENT |
| LOW⚡ | com/win32comext/adsi/demos/scp.py | 187 | # Set Flags to indicate an ACE that protects a specified object. | COMMENT |
| LOW⚡ | com/win32comext/adsi/demos/scp.py | 190 | # Set ObjectType to the schemaIDGUID of the attribute. | COMMENT |
| LOW | com/win32com/test/testMSOffice.py | 23 | # Check if any property needed by TestWord7 is not None | COMMENT |
| LOW | com/win32com/client/build.py | 291 | # Check if the element is hidden. | COMMENT |
| LOW | com/win32com/client/build.py | 412 | # Check if we have byrefs or anything in the args which mean we still need a translate. | COMMENT |
| LOW | com/win32com/demos/excelRTDServer.py | 356 | # Check if any of our topics have new info to pass on | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.py | 117 | CODE | |
| LOW | pythonwin/pywin/framework/winout.py | 335 | CODE | |
| LOW | pythonwin/pywin/scintilla/view.py | 725 | CODE | |
| LOW | pythonwin/pywin/Demos/app/customprint.py | 87 | CODE | |
| LOW | win32/Lib/win32serviceutil.py | 207 | CODE | |
| LOW | win32/Lib/win32serviceutil.py | 277 | CODE | |
| LOW | win32/Lib/win32gui_struct.py | 102 | CODE | |
| LOW | win32/Lib/win32gui_struct.py | 558 | CODE | |
| LOW | win32/Demos/winprocess.py | 50 | CODE | |
| LOW | com/win32comext/axscript/client/pyscript.py | 434 | CODE | |
| LOW | com/win32comext/shell/demos/servers/shell_view.py | 155 | CODE | |
| LOW | com/win32comext/shell/demos/servers/shell_view.py | 191 | CODE | |
| LOW | com/win32com/test/testPersist.py | 42 | CODE | |
| LOW | com/win32com/server/register.py | 151 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | isapi/isapicon.py | 3 | # ====================================================================== | COMMENT |
| MEDIUM | isapi/isapicon.py | 24 | # ====================================================================== | COMMENT |
| MEDIUM | adodbapi/apibase.py | 290 | # ------------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | adodbapi/apibase.py | 400 | # ------------------------------------------------------------------------ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | win32/Lib/win32rcparser.py | 563 | # print(control.toString()) | COMMENT |
| HIGH | com/win32com/makegw/makegwenum.py | 89 | if ( HRESULT_CODE(hr) != ERROR_NO_MORE_ITEMS && FAILED(hr) ) | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | com/win32com/test/testPyScriptlet.js | 9 | print("***** testPyScriptlet.js failed *****"); | CODE |
| HIGH | com/win32com/test/testPyScriptlet.js | 10 | print(msg); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | win32/src/PySID.cpp | 298 | // NOTE: This function taken from KB Q131320. | COMMENT |
| LOW | com/win32comext/shell/demos/servers/shell_view.py | 576 | # NOTE: This function it *not* called each time the selection changes. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | com/win32com/server/localserver.py | 12 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | com/win32com/demos/ietoolbar.py | 330 | # TODO: implement reg settings for standard toolbar button | COMMENT |