Skip to content
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

remove gc-token from WeakKeyDict #33825

Merged
merged 1 commit into from
Nov 13, 2019
Merged

remove gc-token from WeakKeyDict #33825

merged 1 commit into from
Nov 13, 2019

Conversation

vtjnash
Copy link
Sponsor Member

@vtjnash vtjnash commented Nov 12, 2019

This was a hold-over from the old iteration protocol, which needed to maintain state between done and next. The iteration function of Dict has since been re-written to be safe for concurrent deletions.

Replaces: #33756
Co-Authored-By: @swissr

This was a hold-over from the old iteration protocol, which needed to maintain state between `done` and `next`.
The `iteration` function of `Dict` has since been re-written to be safe for concurrent deletions.

Replaces: #33756
Co-Authored-By: Hans-Peter Suter <hps@treetron.ch>
@swissr
Copy link
Contributor

swissr commented Nov 13, 2019

As it breaks* on v1.3, I think the backport 1.3 label would be nice (and also put it on the WIP: Backports for 1.3.0-RC5 list)?

*tested with v1.3.0-rc4; this PR does fix the problem

@fredrikekre fredrikekre added backport 1.3 kind:bugfix This change fixes an existing bug labels Nov 13, 2019
@vtjnash vtjnash merged commit 1731d0a into master Nov 13, 2019
@vtjnash vtjnash deleted the jn/hps/wkdfix branch November 13, 2019 20:12
JeffBezanson pushed a commit that referenced this pull request Nov 13, 2019
This was a hold-over from the old iteration protocol, which needed to maintain state between `done` and `next`.
The `iteration` function of `Dict` has since been re-written to be safe for concurrent deletions.

Replaces: #33756
Co-Authored-By: Hans-Peter Suter <hps@treetron.ch>
(cherry picked from commit 1731d0a)
@KristofferC KristofferC mentioned this pull request Nov 15, 2019
19 tasks
KristofferC pushed a commit that referenced this pull request Dec 3, 2019
This was a hold-over from the old iteration protocol, which needed to maintain state between `done` and `next`.
The `iteration` function of `Dict` has since been re-written to be safe for concurrent deletions.

Replaces: #33756
Co-Authored-By: Hans-Peter Suter <hps@treetron.ch>
(cherry picked from commit 1731d0a)
@KristofferC KristofferC mentioned this pull request Dec 3, 2019
56 tasks
KristofferC pushed a commit that referenced this pull request Feb 20, 2020
This was a hold-over from the old iteration protocol, which needed to maintain state between `done` and `next`.
The `iteration` function of `Dict` has since been re-written to be safe for concurrent deletions.

Replaces: #33756
Co-Authored-By: Hans-Peter Suter <hps@treetron.ch>
(cherry picked from commit 1731d0a)
KristofferC pushed a commit that referenced this pull request Feb 20, 2020
This was a hold-over from the old iteration protocol, which needed to maintain state between `done` and `next`.
The `iteration` function of `Dict` has since been re-written to be safe for concurrent deletions.

Replaces: #33756
Co-Authored-By: Hans-Peter Suter <hps@treetron.ch>
(cherry picked from commit 1731d0a)
KristofferC pushed a commit that referenced this pull request Feb 22, 2020
This was a hold-over from the old iteration protocol, which needed to maintain state between `done` and `next`.
The `iteration` function of `Dict` has since been re-written to be safe for concurrent deletions.

Replaces: #33756
Co-Authored-By: Hans-Peter Suter <hps@treetron.ch>
(cherry picked from commit 1731d0a)
KristofferC pushed a commit that referenced this pull request Apr 11, 2020
This was a hold-over from the old iteration protocol, which needed to maintain state between `done` and `next`.
The `iteration` function of `Dict` has since been re-written to be safe for concurrent deletions.

Replaces: #33756
Co-Authored-By: Hans-Peter Suter <hps@treetron.ch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bugfix This change fixes an existing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants