Skip to content

gh-155869: Fix data loss in dbm.dumb.reorganize() - #155872

Merged
serhiy-storchaka merged 1 commit into
python:mainfrom
lkk7:fix-dbm-dumb-reorganize
Aug 15, 2026
Merged

serhiy-storchaka merged 1 commit into
python:mainfrom
lkk7:fix-dbm-dumb-reorganize

Conversation

@lkk7

@lkk7 lkk7 commented Aug 15, 2026 •

Copy link
Copy Markdown
Contributor

dbm.dumb.reorganize() can move values without persisting their new offsets. Persist the changed index and add a regression test.

@serhiy-storchaka serhiy-storchaka left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. 👍

@serhiy-storchaka serhiy-storchaka added the needs backport to 3.15 bugs and security fixes label Aug 15, 2026
@serhiy-storchaka
serhiy-storchaka enabled auto-merge (squash) August 15, 2026 20:29
@serhiy-storchaka
serhiy-storchaka merged commit e3287f6 into python:main Aug 15, 2026
59 checks passed
@miss-islington-app

Copy link
Copy Markdown

Thanks @lkk7 for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.15.
🐍🍒⛏🤖

@bedevere-app

bedevere-app Bot commented Aug 15, 2026

Copy link
Copy Markdown

GH-155874 is a backport of this pull request to the 3.15 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 bugs and security fixes label Aug 15, 2026
hugovk pushed a commit that referenced this pull request Aug 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants