PyCColorDialog.SetCustomColors
returns error without setting exception
#2579
Labels
PyCColorDialog.SetCustomColors
returns error without setting exception
#2579
For all bugs, please provide the following information:
Expected behavior and actual behavior
Calling
SetCustomColors
should raise a descriptive exception, namely:TypeError: The argument must be a sequence of integers of length 1-16
. But instead you getSystemError: error return without exception set
.pywin32/Pythonwin/win32dlg.cpp
Lines 1292 to 1309 in 8258348
Steps to reproduce the problem
System information
Python version and distribution: 3.10.11
pywin32 version: 310
Windows Version: 10.0.19045 Build 19045
DLL locations: N/A
The text was updated successfully, but these errors were encountered: