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-112075: Iterating a dict shouldn't require locks #115108

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 7 commits into from
Feb 22, 2024
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
Fixup ifdef/ifndef
  • Loading branch information
DinoV committed Feb 22, 2024
commit 902ce67df892d64d6e9eec567a41c8ba6a2f95c1
4 changes: 1 addition & 3 deletions 4 Objects/dictobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -4948,9 +4948,7 @@ static int
dictiter_iternext_threadsafe(PyDictObject *d, PyObject *self,
PyObject **out_key, PyObject **out_value);

#endif

#ifndef Py_GIL_DISABLED
#else /* Py_GIL_DISABLED */

static PyObject*
dictiter_iternextkey_lock_held(PyDictObject *d, PyObject *self)
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.