Path to this page:
./
devel/py-frozendict,
Immutable wrapper around dictionaries
Branch: CURRENT,
Version: 2.4.6,
Package name: py312-frozendict-2.4.6,
Maintainer: kethzer.drfrozendict is an immutable wrapper around dictionaries that implements
the complete mapping interface. It can be used as a drop-in replacement
for dictionaries where immutability is desired.
Of course, this is python, and you can still poke around the object's
internals if you want.
The frozendict constructor mimics dict, and all of the expected
interfaces (iter, len, repr, hash, getitem) are provided. Note that a
frozendict does not guarantee the immutability of its values, so the
utility of hash method is restricted by usage.
The only difference is that the copy() method of frozendict takes
variable keyword arguments, which will be present as key/value pairs in
the new, immutable copy.
Required to run:[
devel/py-setuptools] [
lang/python37]
Required to build:[
pkgtools/cwrappers]
Master sites:
Filesize: 309 KB
Version history: (Expand)
- (2024-10-14) Updated to version: py312-frozendict-2.4.6
- (2024-10-07) Updated to version: py312-frozendict-2.4.5
- (2024-05-07) Updated to version: py311-frozendict-2.4.4
- (2024-05-06) Updated to version: py311-frozendict-2.4.3
- (2024-04-15) Updated to version: py311-frozendict-2.4.2
- (2024-04-02) Updated to version: py311-frozendict-2.4.1
CVS history: (Expand)
2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862) |
Log message:
py-*: remove unused tool dependency
py-setuptools includes the py-wheel functionality nowadays
|
2024-10-14 16:47:58 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-frozendict: updated to 2.4.6
2.4.6
Added pure py wheel for Python 3.13
Now set, setdefault and delete does always a shallow copy, as the C extension, \
tuple and the rest of the world.
|
2024-10-07 12:54:08 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-frozendict: updated to 2.4.5
2.4.5
Improved speed of set, setdefault and delete for pure py impl, if frozendict is \
hashable
Coverage
bumped cibuildwheel
|
2024-05-07 05:51:24 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-frozendict: updated to 2.4.4
frozendict v2.4.4
Added typing for deepfreeze, register and unregister
|
2024-05-06 06:37:29 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-frozendict: updated to 2.4.3
frozendict v2.4.3
Now enums are not modified by deepfreeze
Added typing for deepfreeze, register and unregister
|
2024-04-15 13:37:19 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-frozendict: updated to 2.4.2
frozendict v2.4.2
deepfreeze doesn't change anymore the original object
|
2024-04-02 19:38:26 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-frozendict: updated to 2.4.1
frozendict v2.4.1
In deepfreeze, prefer registered conversions
Some little fixing to typing
Documentation typo
|
2024-01-04 23:38:08 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-frozendict: updated to 2.4.0
2.4.0
Implemented deepfreeze, a function that let you transform any object, nested at \
any level, in a frozen one. Check the docs.
|