diff options
author | Jacob Walls <jacobtylerwalls@gmail.com> | 2023-05-06 11:16:58 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-06 11:16:58 -0400 |
commit | 0740a0dd5e9cb48bb1a400aded498e4db1fcfca9 (patch) | |
tree | d5c9c22df809ed7d5e4bed8b8f3bd38193fa725a /ChangeLog | |
parent | 06fafc4d023460c682494672b617d456037baf67 (diff) | |
download | astroid-git-0740a0dd5e9cb48bb1a400aded498e4db1fcfca9.tar.gz |
Complete cache key for inference tip (#2158)
The cache key was lacking the `context` arg.
Co-authored-by: Sylvain Ackermann <sylvain.ackermann@gmail.com>
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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. |