attrs v16.0.0 Release Notes
Release Date: 2016-05-23 // almost 8 years ago-
Backward-incompatible Changes:
- ๐ Python 3.3 and 2.6 are no longer supported. They may work by chance but any effort to keep them working has ceased.
The last Python 2.6 release was on October 29, 2013 and is no longer supported by the CPython core team. Major Python packages like Django and Twisted dropped Python 2.6 a while ago already.
Python 3.3 never had a significant user base and wasn't part of any distribution's LTS release.
๐ Changes: ^
__slots__
have arrived! Classes now can automatically beslotted <https://docs.python.org/3/reference/datamodel.html#slots>
-style (and save your precious memory) just by passingslots=True
.#35 <https://github.com/python-attrs/attrs/issues/35>
- ๐ Allow the case of initializing attributes that are set to
init=False
. This allows for clean initializer parameter lists while being able to initialize attributes to default values.#32 <https://github.com/python-attrs/attrs/issues/32>
_ attr.asdict()
can now produce arbitrary mappings instead of Pythondict
\ s when provided with adict_factory
argument.#40 <https://github.com/python-attrs/attrs/issues/40>
_- ๐ Multiple performance improvements.