False Positives Fixed
-
Fix false positive for
unhashable-member
when subclassingdict
and
using the subclass as a dictionary key.Closes #7501
-
unnecessary-list-index-lookup
will not be wrongly emitted if
enumerate
is called withstart
.Closes #7682
-
Don't warn about
stop-iteration-return
when usingnext()
over
itertools.cycle
.Closes #7765
Other Bug Fixes
-
Messages sent to reporter are now copied so a reporter cannot modify the
message sent to other reporters.Closes #7214
-
Fixes edge case of custom method named
next
raised an astroid error.Closes #7610
-
Fix crash that happened when parsing files with unexpected encoding starting
with 'utf' likeutf13
.Closes #7661
-
Fix a crash when a child class with an
__init__
method inherits from a
parent class with an__init__
class attribute.Closes #7742