From 0740a0dd5e9cb48bb1a400aded498e4db1fcfca9 Mon Sep 17 00:00:00 2001 From: Jacob Walls Date: Sat, 6 May 2023 11:16:58 -0400 Subject: Complete cache key for inference tip (#2158) The cache key was lacking the `context` arg. Co-authored-by: Sylvain Ackermann --- ChangeLog | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index a760172d..faccda68 100644 --- a/ChangeLog +++ b/ChangeLog @@ -17,6 +17,13 @@ Release date: TBA * Reduce file system access in ``ast_from_file()``. +* Fix incorrect cache keys for inference results, thereby correctly inferring types + for calls instantiating types dynamically. + + Closes #1828 + Closes pylint-dev/pylint#7464 + Closes pylint-dev/pylint#8074 + * ``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. -- cgit v1.2.1