Skip to content
This repository was archived by the owner on Feb 23, 2026. It is now read-only.

fix: RuntimeError: dictionary changed size during iteration#546

Closed
YLivay wants to merge 3 commits into
googleapis:mainfrom
YLivay:1.26.0-fix-marshal-dict-changed-while-iterating
Closed

fix: RuntimeError: dictionary changed size during iteration#546
YLivay wants to merge 3 commits into
googleapis:mainfrom
YLivay:1.26.0-fix-marshal-dict-changed-while-iterating

Conversation

@YLivay

@YLivay YLivay commented Nov 4, 2025

Copy link
Copy Markdown

Fixes an error that happens when Marshal registers a new instance while Marshal.get_rule is executing in a separate thread.

Fixes: googleapis/google-cloud-python#15100

@YLivay YLivay requested a review from a team November 4, 2025 13:20
@vchudnov-g

Copy link
Copy Markdown
Contributor

Hi @YLivay ! Thanks for proposing this change. Some general comments:

@vchudnov-g

Copy link
Copy Markdown
Contributor

Also, I suggest rebasing to HEAD--- that should get the pre-submits to pass (or alert us to an issue!). Thanks!

@parthea

parthea commented Jan 12, 2026

Copy link
Copy Markdown
Contributor

Hi @YLivay, I'm going to close this PR due to inactivity but please feel free to re-open it if you're actively working on this.

@parthea parthea closed this Jan 12, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RuntimeError: dictionary changed size during iteration

3 participants