symtable: has_exec was removed in 3.9 (#7911)

This commit is contained in:
Jelle Zijlstra
2022-05-21 08:50:27 -07:00
committed by GitHub
parent 39c777f70c
commit ddc6eda10a
4 changed files with 3 additions and 4 deletions

View File

@@ -15,7 +15,9 @@ class SymbolTable:
def is_optimized(self) -> bool: ...
def is_nested(self) -> bool: ...
def has_children(self) -> bool: ...
def has_exec(self) -> bool: ...
if sys.version_info < (3, 9):
def has_exec(self) -> bool: ...
def get_identifiers(self) -> Sequence[str]: ...
def lookup(self, name: str) -> Symbol: ...
def get_symbols(self) -> list[Symbol]: ...

View File

@@ -32,7 +32,6 @@ platform.uname_result.__new__
platform.uname_result._fields
platform.uname_result.processor
re.Pattern.scanner # Undocumented and not useful. #6405
symtable.SymbolTable.has_exec
sys.UnraisableHookArgs # Not exported from sys
tkinter.Tk.split
types.GenericAlias.__getattr__

View File

@@ -78,7 +78,6 @@ shutil.rmtree
socketserver.UDPServer.allow_reuse_port
string.Template.get_identifiers
string.Template.is_valid
symtable.SymbolTable.has_exec
sys.UnraisableHookArgs # Not exported from sys
sys.exception
tkinter._VersionInfoType.__doc__

View File

@@ -56,7 +56,6 @@ re.Pattern.scanner # Undocumented and not useful. #6405
sched.Event.__doc__ # __slots__ is overridden
ssl.PROTOCOL_SSLv3 # Depends on ssl compilation
ssl.RAND_egd # Depends on openssl compilation
symtable.SymbolTable.has_exec
sys.UnraisableHookArgs # Not exported from sys
tkinter.Tk.split
types.CodeType.replace # stubtest thinks default values are None but None doesn't work at runtime