summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorDaniƫl van Noord <13665637+DanielNoord@users.noreply.github.com>2023-04-17 17:13:31 +0200
committerGitHub <noreply@github.com>2023-04-17 17:13:31 +0200
commit1a14b5d2f6d7b16dcb8f50847b517798e8d1d759 (patch)
tree696f32917b1e03e369176f6989d52ecbd0c4ac8a /ChangeLog
parentc40d6c0fcd83af530418f89749020352cc6f5b76 (diff)
downloadastroid-git-1a14b5d2f6d7b16dcb8f50847b517798e8d1d759.tar.gz
Decouple ``FunctionDef`` and ``Lambda`` (#2115)
As discussed in #2112 we really need to decouple this nodes.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a97c1c3b..cbc2edac 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -10,6 +10,13 @@ Release date: TBA
Closes #1780
+* ``nodes.FunctionDef`` no longer inherits from ``nodes.Lambda``.
+ This is a breaking change but considered a bug fix as the nodes did not share the same
+ API and were not interchangeable.
+
+ We have tried to minimize the amount of breaking changes caused by this change
+ but some are unavoidable.
+
* Improved signature of the ``__init__`` and ``__postinit__`` methods of the following nodes:
- ``nodes.AnnAssign``
- ``nodes.Arguments``