./devel/py-frozendict, Immutable wrapper around dictionaries

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.4.6, Package name: py312-frozendict-2.4.6, Maintainer: kethzer.dr

frozendict 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)


CVS history: (Expand)


   2024-04-15 13:37:19 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
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) | Package updated
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) | Package updated
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.
   2023-12-01 20:02:58 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-frozendict: updated to 2.3.10

frozendict 2.3.10

Fix pickling in python implementation
fixed regression inintroduction of FROZENDICT_PURE_PY env var in conda builds
   2023-11-24 06:28:30 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
py-frozendict: updated to 2.3.9

frozendict 2.3.9

Various improvements to type hints
Fix union of frozendict for python implementation
Avoid storing empty singleton on class itself in python implementation
Now pure py implementation can be built also passing the FROZENDICT_PURE_PY env \ 
var with value 1
   2023-06-11 17:13:47 by Thomas Klausner | Files touched by this commit (3)
Log message:
py-frozendict: disable C extension another way

hopefully fixes build with py-cython installed
   2023-05-08 09:02:43 by Adam Ciarcinski | Files touched by this commit (1)
Log message:
py-frozendict: do not build c-extension across all Python versions
   2023-04-30 06:50:27 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-frozendict: updated to 2.3.8

frozendict v2.3.8

Added type annotations to pyi interface file.
Numerous improvements to frozendict type hints.
Now cibuildwheel is set to skip Python 3.11 and Pypy by default in pyproject.toml