Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
There can be many proxies to a frame
  • Loading branch information
ncoghlan committed Jan 30, 2021
commit 0904f3809c5f2725817c2bffdd83a2280dfd811f
2 changes: 1 addition & 1 deletion pep-0558.rst
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ same internal snapshot storage.
Only storing the internal mapping on the frame rather than storing an instance
of the proxy type also avoids creating a reference cycle from the frame back to
itself, so the frame will only be kept alive if another object retains a
reference to the proxy.
reference to a proxy instance.

``__getitem__`` operations on the proxy will read directly from the stored
snapshot.
Expand Down