File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
tests/stubtest_allowlists Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,8 @@ hexversion: int
42
42
last_type : type [BaseException ] | None
43
43
last_value : BaseException | None
44
44
last_traceback : TracebackType | None
45
+ if sys .version_info >= (3 , 12 ):
46
+ last_exc : BaseException # or undefined.
45
47
maxsize : int
46
48
maxunicode : int
47
49
meta_path : list [_MetaPathFinder ]
Original file line number Diff line number Diff line change @@ -76,6 +76,9 @@ types.GenericAlias.__mro_entries__
76
76
sys._monitoring # Doesn't really exist. See comments in the stub.
77
77
weakref.ProxyType.__reversed__ # Doesn't really exist
78
78
79
+ # sys attributes that are not always defined
80
+ sys.last_exc
81
+
79
82
# C signature is broader than what is actually accepted
80
83
ast.ExtSlice.__new__
81
84
ast.Index.__new__
You can’t perform that action at this time.
0 commit comments