./misc/py-immutables, Immutable collections

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


Branch: CURRENT, Version: 0.15nb1, Package name: py39-immutables-0.15nb1, Maintainer: pkgsrc-users

An immutable mapping type for Python.

The underlying datastructure is a Hash Array Mapped Trie (HAMT) used in
Clojure, Scala, Haskell, and other functional languages. This implementation is
used in CPython 3.7 in the contextvars module (see PEP 550 and PEP 567 for more
details).

Immutable mappings based on HAMT have O(log N) performance for both set() and
get() operations, which is essentially O(1) for relatively small mappings.


Required to run:
[devel/py-setuptools] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 43.86 KB

Version history: (Expand)


CVS history: (Expand)


   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-10-26 12:59:39 by Nia Alarie | Files touched by this commit (378)
Log message:
misc: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

The following distfiles could not be fetched (possibly fetched
conditionally?):

./misc/libreoffice/distinfo libreoffice/harfbuzz-2.6.4.tar.xz
   2021-10-07 16:35:55 by Nia Alarie | Files touched by this commit (378)
Log message:
misc: Remove SHA1 hashes for distfiles
   2021-02-15 22:17:37 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-immutables: updated to 0.15

v0.15
New Features

Add support for Python 3.10 and more tests
Make __repr__ more similar to other mapping types

Misc

Minor docs and CI fixes
   2020-05-18 12:50:04 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-immutables: updated to 0.14

v0.14:
Allow None to be used as key in pure-Python implementation.
   2020-05-14 08:04:47 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-immutables: updated to 0.13

v0.13:
Bugfixes
Various improvements w.r.t. type annotations & typing
Fix pure-Python implementation to accept keyword argument
   2020-05-13 16:50:34 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-immutables: updated to 0.12

v0.12:
Bug Fixes
Fix the mutation API to maintain elements count correctly
   2020-01-08 21:01:40 by Adam Ciarcinski | Files touched by this commit (4)
Log message:
py-immutables: added version 0.11

An immutable mapping type for Python.

The underlying datastructure is a Hash Array Mapped Trie (HAMT) used in
Clojure, Scala, Haskell, and other functional languages. This implementation is
used in CPython 3.7 in the contextvars module (see PEP 550 and PEP 567 for more
details).

Immutable mappings based on HAMT have O(log N) performance for both set() and
get() operations, which is essentially O(1) for relatively small mappings.