Skip to content

frozendict 2.5.1

Latest

Choose a tag to compare

@Marco-Sulla Marco-Sulla released this 30 Oct 20:27
· 3 commits to master since this release
cab441e

What's Changed

Fixes

2 regressions on C Extension since 2.2.0:

  • string lookups could match a non-string key with the same hash, so a frozendict could also lose keys while being built. For example, "" in frozendict([(0, 1)]) was True, and frozendict([(0, 1), ("", 2)]) was frozendict({0: 2}).
  • the garbage collector did not always free reference cycles passing through a key.

by @Marco-Sulla in #122

Full Changelog: v2.5.0...v2.5.1