From 54cfd7253973fa47915da4bdd1a55ed197d16bab Mon Sep 17 00:00:00 2001 From: Andrew Haigh Date: Sun, 23 May 2021 02:58:48 +1000 Subject: Fix crash on random.sample brain (#993) * Add test of crash on random.sample inference Ref #922 * Fix crash in brain for random.sample Fixes #922. A combination of changes in 79d5a3a7 and 77e205dc meant that the node cloning helper could be given an EvaluatedObject, which doesn't present the same __init__ signature as NodeNG. * Update changelog --- ChangeLog | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 9d7b945f..6097526b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -37,6 +37,10 @@ Release Date: TBA Closes PyCQA/pylint#3535 Closes PyCQA/pylint#4358 +* Update random brain to fix a crash with inference of some sequence elements + + Closes #922 + What's New in astroid 2.5.6? ============================ -- cgit v1.2.1