mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Getting rid of pre-Carbon (MacOS8) support. All code depending on
TARGET_API_MAC_OS8 (or !TARGET_API_MAC_CARBON) is gone. Also some TARGET_API_MAC_OSX conditional code is gone, because it is no longer used on OSX-only Python (only in MacPython-OS9).
This commit is contained in:
parent
6bf45c6752
commit
6c7e326eaa
54 changed files with 100 additions and 5242 deletions
|
@ -36,21 +36,6 @@ class MyScanner(Scanner):
|
|||
listname = "methods"
|
||||
return classname, listname
|
||||
|
||||
def makegreylist(self):
|
||||
return [
|
||||
('#if !TARGET_API_MAC_CARBON', [
|
||||
'SystemEvent',
|
||||
'SystemTask',
|
||||
'SystemClick',
|
||||
'GetOSEvent',
|
||||
'OSEventAvail',
|
||||
]),
|
||||
('#if TARGET_API_MAC_CARBON', [
|
||||
'CheckEventQueueForUserCancel',
|
||||
'GetCurrentKeyModifiers',
|
||||
'GetGlobalMouse',
|
||||
])]
|
||||
|
||||
def makeblacklistnames(self):
|
||||
return [
|
||||
"KeyTranslate",
|
||||
|
@ -58,6 +43,12 @@ class MyScanner(Scanner):
|
|||
"WaitNextEvent", # Manually generated because of optional region
|
||||
# Constants with funny definitions
|
||||
"osEvtMessageMask",
|
||||
# OS8 calls
|
||||
'SystemEvent',
|
||||
'SystemTask',
|
||||
'SystemClick',
|
||||
'GetOSEvent',
|
||||
'OSEventAvail',
|
||||
]
|
||||
|
||||
def makeblacklisttypes(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue