| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| Expand Up | @@ -1888,8 +1888,7 @@ frame_get_var(_PyInterpreterFrame *frame, PyCodeObject *co, int i, | |
| } | ||
| // (likely) Otherwise it is an arg (kind & CO_FAST_LOCAL), | ||
| // with the initial value set when the frame was created... | ||
| // (unlikely) ...or it was set to some initial value by | ||
| // an earlier call to PyFrame_LocalsToFast(). | ||
| // (unlikely) ...or it was set via the f_locals proxy. | ||
|
Comment thread
Copy link
Copy Markdown
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low QualityI'm pretty sure this "set externally" loophole still exists, it's just accessed slightly differently now.
Sorry, something went wrong.
All reactions
|
||
| } | ||
| } | ||
| } | ||
| Expand Down Expand Up | @@ -2002,18 +2001,24 @@ PyFrame_GetVarString(PyFrameObject *frame, const char *name) | |
| int | ||
| PyFrame_FastToLocalsWithError(PyFrameObject *f) | ||
| { | ||
| // Nothing to do here, as f_locals is now a write-through proxy in | ||
| // optimized frames. Soft-deprecated, since there's no maintenance hassle. | ||
| return 0; | ||
| } | ||
|
|
||
| void | ||
| PyFrame_FastToLocals(PyFrameObject *f) | ||
| { | ||
| // Nothing to do here, as f_locals is now a write-through proxy in | ||
| // optimized frames. Soft-deprecated, since there's no maintenance hassle. | ||
| return; | ||
| } | ||
|
|
||
| void | ||
| PyFrame_LocalsToFast(PyFrameObject *f, int clear) | ||
| { | ||
| // Nothing to do here, as f_locals is now a write-through proxy in | ||
| // optimized frames. Soft-deprecated, since there's no maintenance hassle. | ||
| return; | ||
| } | ||
|
|
||
| Expand Down | ||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Back | FazBrowse Home | New Git URL |
Uh oh!
There was an error while loading. Please reload this page.