Dataslots

Latest version: v1.2.0

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

Scan your dependencies

1.1.0

**Features**
* Added official support for python 3.10 and pypy 3.7-3.9.
* Added official support for version 5 of pickle protocol.
* Added support for data descriptors.
* Added better typing for mypy support.

**Bugfixes**
* Raise `TypeError` is `__slots__` are already defined.
* Raise `TypeError` if class is not `dataclass`

**Removals**
* Drop support for python 3.6.

1.0.2

* `with_slots` is renamed to `dataslots` (`with_slots` is marked as deprecated and will be erased in future releases)
* fixed creating class with custom metaclass defined
* added workaround for pickling dataclasses with slots (https://bugs.python.org/issue36424)
* added official support for python 3.8, 3.9 and pypy3.6

1.0.2rc1

Preview of version 1.0.2 deployed for the first time using Travis.

1.0.1

* Support for python 3.6 and 3.8-dev
* More unittests

1.0.0

Initial version of dataslots
* __slots__ working with dataclass decorator
* support for __dict__ and __weakref__
* support for inheritance
* working on python 3.7.0b2 (be careful with bpo-33100)

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.