Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

gh-120906: Support arbitrary hashable keys in FrameLocalsProxy #122309

New issue

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

Merged
merged 10 commits into from
Jul 30, 2024
Prev Previous commit
Next Next commit
Early return for NULL/hidden values
  • Loading branch information
encukou committed Jul 29, 2024
commit d37d8f2246552e5816140a8eea0ddb6f45d00c13
2 changes: 2 additions & 0 deletions 2 Objects/frameobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ framelocalsproxy_getkeyindex(PyFrameObject *frame, PyObject* key, bool read)
return i;
}
}
return -1;
}
}
// This is unlikely, but we need to make sure. This means the key
Expand All @@ -107,6 +108,7 @@ framelocalsproxy_getkeyindex(PyFrameObject *frame, PyObject* key, bool read)
return i;
}
}
return -1;
}
}

Expand Down
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.