Skip to content

Commit cb7fcef

Browse files
committed
- update transformer.INSPECT_ATTRIBUTES
1 parent c1b43c5 commit cb7fcef

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/RestrictedPython/transformer.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@
7373
"f_back",
7474
"f_builtins",
7575
"f_code",
76+
"f_generator",
7677
"f_globals",
7778
# "f_lasti", # int
7879
# "f_lineno", # int
@@ -99,6 +100,7 @@
99100
# on generator objects:
100101
"gi_frame",
101102
# "gi_running", # bool
103+
# "gi_suspended", # bool
102104
"gi_code",
103105
"gi_yieldfrom",
104106
# on coroutine objects:

0 commit comments

Comments
 (0)