mirror of https://github.com/python/cpython
Blacklisted a few constants with funny definitions (and they're not important anyway: backward compatible error numbers).
This commit is contained in:
parent
932af110d3
commit
620e914266
|
@ -439,12 +439,12 @@ kThemeMetricScrollBarWidth = 0
|
|||
kThemeMetricSmallScrollBarWidth = 1
|
||||
kThemeMetricCheckBoxGlyphHeight = 2
|
||||
kThemeMetricRadioButtonGlyphHeight = 3
|
||||
appearanceBadBrushIndexErr = themeInvalidBrushErr
|
||||
appearanceProcessRegisteredErr = themeProcessRegisteredErr
|
||||
appearanceProcessNotRegisteredErr = themeProcessNotRegisteredErr
|
||||
appearanceBadTextColorIndexErr = themeBadTextColorErr
|
||||
appearanceThemeHasNoAccents = themeHasNoAccentsErr
|
||||
appearanceBadCursorIndexErr = themeBadCursorIndexErr
|
||||
# appearanceBadBrushIndexErr = themeInvalidBrushErr
|
||||
# appearanceProcessRegisteredErr = themeProcessRegisteredErr
|
||||
# appearanceProcessNotRegisteredErr = themeProcessNotRegisteredErr
|
||||
# appearanceBadTextColorIndexErr = themeBadTextColorErr
|
||||
# appearanceThemeHasNoAccents = themeHasNoAccentsErr
|
||||
# appearanceBadCursorIndexErr = themeBadCursorIndexErr
|
||||
kThemeActiveDialogBackgroundBrush = kThemeBrushDialogBackgroundActive
|
||||
kThemeInactiveDialogBackgroundBrush = kThemeBrushDialogBackgroundInactive
|
||||
kThemeActiveAlertBackgroundBrush = kThemeBrushAlertBackgroundActive
|
||||
|
|
|
@ -41,6 +41,13 @@ class MyScanner(Scanner):
|
|||
def makeblacklistnames(self):
|
||||
return [
|
||||
"GetThemeFont", # Funny stringbuffer in/out parameter, I think...
|
||||
# Constants with funny definitions
|
||||
"appearanceBadBrushIndexErr",
|
||||
"appearanceProcessRegisteredErr",
|
||||
"appearanceProcessNotRegisteredErr",
|
||||
"appearanceBadTextColorIndexErr",
|
||||
"appearanceThemeHasNoAccents",
|
||||
"appearanceBadCursorIndexErr",
|
||||
]
|
||||
|
||||
def makegreylist(self):
|
||||
|
|
Loading…
Reference in New Issue