Skip to content

Commit

Permalink
fix persistency bug in the Python version
Browse files Browse the repository at this point in the history
  • Loading branch information
d-maurer committed Nov 6, 2020
1 parent 910536a commit a6e7878
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions BTrees/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1050,6 +1050,7 @@ def _del(self, key):
self._firstbucket = child._next
removed_first_bucket = True
del data[index]
self._p_changed = True

return removed_first_bucket, value

Expand Down
3 changes: 3 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
4.7.3 (unreleased)
==================

- Fix persistency bug in the Python version
(`#118 https://github.com/zopefoundation/BTrees/issues/118`_).

- Fix ``Tree.__setstate__`` to no longer accept children besides
tree or bucket types to prevent crashes. See `PR 143
<https://github.com/zopefoundation/BTrees/pull/143>`_ for details.
Expand Down

0 comments on commit a6e7878

Please sign in to comment.