8000 bpo-43908: Make heap types converted during 3.10 alpha immutable by erlend-aasland · Pull Request #26351 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-43908: Make heap types converted during 3.10 alpha immutable #26351

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 20 commits into from
Jun 17, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by exten 8000 sion

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
array.arrayiterator is now immutable
  • Loading branch information
Erlend E. Aasland committed May 25, 2021
commit 2fdee5a659cc8b49b1edfb0ac54c1b8dcf0809ac
2 changes: 1 addition & 1 deletion Modules/arraymodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -2988,7 +2988,7 @@ static PyType_Spec arrayiter_spec = {
.name = "array.arrayiterator",
.basicsize = sizeof(arrayiterobject),
.flags = (Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC |
Py_TPFLAGS_DISALLOW_INSTANTIATION),
Py_TPFLAGS_DISALLOW_INSTANTIATION | Py_TPFLAGS_IMMUTABLETYPE),
.slots = arrayiter_slots,
};

Expand Down
0