Immutables

Latest version: v0.21

Safety actively analyzes 681881 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

0.15

New Features

* Add support for Python 3.10 and more tests
(by vstinner in 45105ecd for 46, hukkinj1 in d7f3eebb, f0b4fd40)

* Make `__repr__` more similar to other mapping types
(by ofek in 8af15021 for 17)

Misc

* Minor docs and CI fixes
(by MisterKeefe in 76e491cf for 32, fantix in 1282379d for 39)

0.14

* Allow `None` to be used as key in pure-Python implementation.

0.13

Bugfixes

* Various improvements w.r.t. type annotations & typing
support (by hukkinj1)

* Fix pure-Python implementation to accept keyword argument
"col" correctly (by hukkinj1)

0.12

Bug Fixes
=======

* Fix the mutation API to maintain elements count correctly (25, 24)

0.9

* Don't allow MapMutation.update() calls after the mutation is finished

* Simplify MapMutation.__exit__() implementation

0.8

* Add new `MapMutation.update()` method that behaves like
`MutableMapping.update()`

* Make it faster to create a `Map()` from another `Map()`—it's now an
O(1) operation.

* `update()` method had a bug that could cause the update `Map` object to
have a wrong number of elements.

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.