Clean up changelog.d
This commit is contained in:
parent
a372d51b7b
commit
9ffb013ea7
|
@ -1 +0,0 @@
|
|||
``attr.ib(factory=f)`` is now syntactic sugar for the common case of ``attr.ib(default=attr.Factory(f))``.
|
|
@ -1 +0,0 @@
|
|||
Added ``attr.field_dict()`` to return an ordered dictionary of ``attrs`` attributes for a class, whose keys are the attribute names.
|
|
@ -1,3 +0,0 @@
|
|||
The order of attributes that are passed into ``attr.make_class()`` or the ``these`` argument of ``@attr.s()`` is now retained if the dictionary is ordered (i.e. ``dict`` on Python 3.6 and later, ``collections.OrderedDict`` otherwise).
|
||||
|
||||
Before, the order was always determined by the order in which the attributes have been defined which may not be desirable when creating classes programatically.
|
|
@ -1 +0,0 @@
|
|||
In slotted classes, ``__getstate__`` and ``__setstate__`` now ignore the ``__weakref__`` attribute.
|
|
@ -1,4 +0,0 @@
|
|||
Setting the cell type is now completely best effort.
|
||||
This fixes ``attrs`` on Jython.
|
||||
|
||||
We cannot make any guarantees regarding Jython though, because our test suite cannot run due to dependency incompatabilities.
|
|
@ -1 +0,0 @@
|
|||
If ``attr.s`` is passed a *these* argument, it will not attempt to remove attributes with the same name from the class body anymore.
|
|
@ -1 +0,0 @@
|
|||
If ``attr.s`` is passed a *these* argument, it will not attempt to remove attributes with the same name from the class body anymore.
|
|
@ -1 +0,0 @@
|
|||
In slotted classes, ``__getstate__`` and ``__setstate__`` now ignore the ``__weakref__`` attribute.
|
|
@ -1 +0,0 @@
|
|||
The hash of ``attr.NOTHING`` is now vegan and faster on 32bit Python builds.
|
|
@ -1 +0,0 @@
|
|||
The hash of ``attr.NOTHING`` is now vegan and faster on 32bit Python builds.
|
|
@ -1,4 +0,0 @@
|
|||
Setting the cell type is now completely best effort.
|
||||
This fixes ``attrs`` on Jython.
|
||||
|
||||
We cannot make any guarantees regarding Jython though, because our test suite cannot run due to dependency incompatabilities.
|
|
@ -1 +0,0 @@
|
|||
The overhead of instantiating frozen dict classes is virtually eliminated.
|
|
@ -1,3 +0,0 @@
|
|||
The order of attributes that are passed into ``attr.make_class()`` or the ``these`` argument of ``@attr.s()`` is now retained if the dictionary is ordered (i.e. ``dict`` on Python 3.6 and later, ``collections.OrderedDict`` otherwise).
|
||||
|
||||
Before, the order was always determined by the order in which the attributes have been defined which may not be desirable when creating classes programatically.
|
|
@ -1,3 +0,0 @@
|
|||
The order of attributes that are passed into ``attr.make_class()`` or the ``these`` argument of ``@attr.s()`` is now retained if the dictionary is ordered (i.e. ``dict`` on Python 3.6 and later, ``collections.OrderedDict`` otherwise).
|
||||
|
||||
Before, the order was always determined by the order in which the attributes have been defined which may not be desirable when creating classes programatically.
|
|
@ -1 +0,0 @@
|
|||
Added ``attr.field_dict()`` to return an ordered dictionary of ``attrs`` attributes for a class, whose keys are the attribute names.
|
|
@ -1 +0,0 @@
|
|||
``attr.ib(factory=f)`` is now syntactic sugar for the common case of ``attr.ib(default=attr.Factory(f))``.
|
|
@ -1 +0,0 @@
|
|||
Generated ``__init__`` methods now have an ``__annotations__`` attribute derived from the types of the fields.
|
|
@ -1,6 +0,0 @@
|
|||
We have restructured the documentation a bit to account for ``attrs``' growth in scope.
|
||||
Instead of putting everything into the `examples <http://www.attrs.org/en/stable/examples.html>`_ page, we have started to extract narrative chapters.
|
||||
|
||||
So far, we've added chapters on `initialization <http://www.attrs.org/en/stable/init.html>`_ and `hashing <http://www.attrs.org/en/stable/hashing.html>`_.
|
||||
|
||||
Expect more to come!
|
|
@ -1,6 +0,0 @@
|
|||
We have restructured the documentation a bit to account for ``attrs``' growth in scope.
|
||||
Instead of putting everything into the `examples <http://www.attrs.org/en/stable/examples.html>`_ page, we have started to extract narrative chapters.
|
||||
|
||||
So far, we've added chapters on `initialization <http://www.attrs.org/en/stable/init.html>`_ and `hashing <http://www.attrs.org/en/stable/hashing.html>`_.
|
||||
|
||||
Expect more to come!
|
|
@ -1 +0,0 @@
|
|||
``x=X(); x.cycle = x; repr(x)`` will no longer raise a ``RecursionError``, and will instead show as ``X(x=...)``.
|
Loading…
Reference in New Issue