BBBinary BuddiesDevelopmentOct 17, 20265 min read0 views

Deleting Keys from a Python 3.15 frozendict

The built-in frozendict supports union but not removal. Here is how to drop keys today, which approach costs you immutability, and when the O(n) copy matters.

Share this article

PEP 814Pythonfrozendictimmutabilitypython-3.15

Comments