From 9ffb013ea7456de72b52fd76eb08b12fb673173f Mon Sep 17 00:00:00 2001 From: Hynek Schlawack Date: Sat, 16 Jun 2018 08:07:25 +0200 Subject: [PATCH] Clean up changelog.d --- changelog.d/178.change.rst | 1 - changelog.d/290.change.rst | 1 - changelog.d/300.change.rst | 3 --- changelog.d/311.change.rst | 1 - changelog.d/321.change.rst | 4 ---- changelog.d/322.change.rst | 1 - changelog.d/323.change.rst | 1 - changelog.d/326.change.rst | 1 - changelog.d/331.change.rst | 1 - changelog.d/332.change.rst | 1 - changelog.d/334.change.rst | 4 ---- changelog.d/336.change.rst | 1 - changelog.d/339.change.rst | 3 --- changelog.d/343.change.rst | 3 --- changelog.d/349.change.rst | 1 - changelog.d/356.change.rst | 1 - changelog.d/363.change.rst | 1 - changelog.d/369.change.rst | 6 ------ changelog.d/370.change.rst | 6 ------ changelog.d/95.change.rst | 1 - 20 files changed, 42 deletions(-) delete mode 100644 changelog.d/178.change.rst delete mode 100644 changelog.d/290.change.rst delete mode 100644 changelog.d/300.change.rst delete mode 100644 changelog.d/311.change.rst delete mode 100644 changelog.d/321.change.rst delete mode 100644 changelog.d/322.change.rst delete mode 100644 changelog.d/323.change.rst delete mode 100644 changelog.d/326.change.rst delete mode 100644 changelog.d/331.change.rst delete mode 100644 changelog.d/332.change.rst delete mode 100644 changelog.d/334.change.rst delete mode 100644 changelog.d/336.change.rst delete mode 100644 changelog.d/339.change.rst delete mode 100644 changelog.d/343.change.rst delete mode 100644 changelog.d/349.change.rst delete mode 100644 changelog.d/356.change.rst delete mode 100644 changelog.d/363.change.rst delete mode 100644 changelog.d/369.change.rst delete mode 100644 changelog.d/370.change.rst delete mode 100644 changelog.d/95.change.rst diff --git a/changelog.d/178.change.rst b/changelog.d/178.change.rst deleted file mode 100644 index 283f81aa..00000000 --- a/changelog.d/178.change.rst +++ /dev/null @@ -1 +0,0 @@ -``attr.ib(factory=f)`` is now syntactic sugar for the common case of ``attr.ib(default=attr.Factory(f))``. diff --git a/changelog.d/290.change.rst b/changelog.d/290.change.rst deleted file mode 100644 index a4155e5e..00000000 --- a/changelog.d/290.change.rst +++ /dev/null @@ -1 +0,0 @@ -Added ``attr.field_dict()`` to return an ordered dictionary of ``attrs`` attributes for a class, whose keys are the attribute names. diff --git a/changelog.d/300.change.rst b/changelog.d/300.change.rst deleted file mode 100644 index 6a090ac2..00000000 --- a/changelog.d/300.change.rst +++ /dev/null @@ -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. diff --git a/changelog.d/311.change.rst b/changelog.d/311.change.rst deleted file mode 100644 index 4f7ce707..00000000 --- a/changelog.d/311.change.rst +++ /dev/null @@ -1 +0,0 @@ -In slotted classes, ``__getstate__`` and ``__setstate__`` now ignore the ``__weakref__`` attribute. diff --git a/changelog.d/321.change.rst b/changelog.d/321.change.rst deleted file mode 100644 index a10a22c4..00000000 --- a/changelog.d/321.change.rst +++ /dev/null @@ -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. diff --git a/changelog.d/322.change.rst b/changelog.d/322.change.rst deleted file mode 100644 index 874a0cec..00000000 --- a/changelog.d/322.change.rst +++ /dev/null @@ -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. diff --git a/changelog.d/323.change.rst b/changelog.d/323.change.rst deleted file mode 100644 index 874a0cec..00000000 --- a/changelog.d/323.change.rst +++ /dev/null @@ -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. diff --git a/changelog.d/326.change.rst b/changelog.d/326.change.rst deleted file mode 100644 index 4f7ce707..00000000 --- a/changelog.d/326.change.rst +++ /dev/null @@ -1 +0,0 @@ -In slotted classes, ``__getstate__`` and ``__setstate__`` now ignore the ``__weakref__`` attribute. diff --git a/changelog.d/331.change.rst b/changelog.d/331.change.rst deleted file mode 100644 index 5db960fd..00000000 --- a/changelog.d/331.change.rst +++ /dev/null @@ -1 +0,0 @@ -The hash of ``attr.NOTHING`` is now vegan and faster on 32bit Python builds. diff --git a/changelog.d/332.change.rst b/changelog.d/332.change.rst deleted file mode 100644 index 5db960fd..00000000 --- a/changelog.d/332.change.rst +++ /dev/null @@ -1 +0,0 @@ -The hash of ``attr.NOTHING`` is now vegan and faster on 32bit Python builds. diff --git a/changelog.d/334.change.rst b/changelog.d/334.change.rst deleted file mode 100644 index a10a22c4..00000000 --- a/changelog.d/334.change.rst +++ /dev/null @@ -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. diff --git a/changelog.d/336.change.rst b/changelog.d/336.change.rst deleted file mode 100644 index 5609bcad..00000000 --- a/changelog.d/336.change.rst +++ /dev/null @@ -1 +0,0 @@ -The overhead of instantiating frozen dict classes is virtually eliminated. \ No newline at end of file diff --git a/changelog.d/339.change.rst b/changelog.d/339.change.rst deleted file mode 100644 index 6a090ac2..00000000 --- a/changelog.d/339.change.rst +++ /dev/null @@ -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. diff --git a/changelog.d/343.change.rst b/changelog.d/343.change.rst deleted file mode 100644 index 6a090ac2..00000000 --- a/changelog.d/343.change.rst +++ /dev/null @@ -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. diff --git a/changelog.d/349.change.rst b/changelog.d/349.change.rst deleted file mode 100644 index a4155e5e..00000000 --- a/changelog.d/349.change.rst +++ /dev/null @@ -1 +0,0 @@ -Added ``attr.field_dict()`` to return an ordered dictionary of ``attrs`` attributes for a class, whose keys are the attribute names. diff --git a/changelog.d/356.change.rst b/changelog.d/356.change.rst deleted file mode 100644 index 283f81aa..00000000 --- a/changelog.d/356.change.rst +++ /dev/null @@ -1 +0,0 @@ -``attr.ib(factory=f)`` is now syntactic sugar for the common case of ``attr.ib(default=attr.Factory(f))``. diff --git a/changelog.d/363.change.rst b/changelog.d/363.change.rst deleted file mode 100644 index b0f2c31d..00000000 --- a/changelog.d/363.change.rst +++ /dev/null @@ -1 +0,0 @@ -Generated ``__init__`` methods now have an ``__annotations__`` attribute derived from the types of the fields. diff --git a/changelog.d/369.change.rst b/changelog.d/369.change.rst deleted file mode 100644 index ee40a6fa..00000000 --- a/changelog.d/369.change.rst +++ /dev/null @@ -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 `_ page, we have started to extract narrative chapters. - -So far, we've added chapters on `initialization `_ and `hashing `_. - -Expect more to come! diff --git a/changelog.d/370.change.rst b/changelog.d/370.change.rst deleted file mode 100644 index ee40a6fa..00000000 --- a/changelog.d/370.change.rst +++ /dev/null @@ -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 `_ page, we have started to extract narrative chapters. - -So far, we've added chapters on `initialization `_ and `hashing `_. - -Expect more to come! diff --git a/changelog.d/95.change.rst b/changelog.d/95.change.rst deleted file mode 100644 index dc965173..00000000 --- a/changelog.d/95.change.rst +++ /dev/null @@ -1 +0,0 @@ -``x=X(); x.cycle = x; repr(x)`` will no longer raise a ``RecursionError``, and will instead show as ``X(x=...)``.