File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -587,6 +587,8 @@ but avoids executing code when it fetches attributes.
587587 that raise AttributeError). It can also return descriptors objects
588588 instead of instance members.
589589
590+ .. versionadded :: 3.2
591+
590592The only known case that can cause `getattr_static ` to trigger code execution,
591593and cause it to return incorrect results (or even break), is where a class uses
592594:data: `~object.__slots__ ` and provides a `__dict__ ` member using a property or
@@ -621,6 +623,7 @@ code execution::
621623 # have to do
622624 pass
623625
626+
624627Current State of a Generator
625628----------------------------
626629
@@ -640,5 +643,4 @@ generator to be determined easily.
640643 GEN_SUSPENDED: Currently suspended at a yield expression.
641644 GEN_CLOSED: Execution has completed.
642645
643-
644-
646+ .. versionadded :: 3.2
You can’t perform that action at this time.
0 commit comments