From 1a14b5d2f6d7b16dcb8f50847b517798e8d1d759 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20Noord?= <13665637+DanielNoord@users.noreply.github.com> Date: Mon, 17 Apr 2023 17:13:31 +0200 Subject: Decouple ``FunctionDef`` and ``Lambda`` (#2115) As discussed in #2112 we really need to decouple this nodes. --- ChangeLog | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ChangeLog') 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`` -- cgit v1.2.1