Skip to content

v2.15.6

Compare
Choose a tag to compare
@Pierre-Sassoulas Pierre-Sassoulas released this 19 Nov 08:27
· 1390 commits to main since this release
b2af2b2

False Positives Fixed

  • Fix false positive for unhashable-member when subclassing dict and
    using the subclass as a dictionary key.

    Closes #7501

  • unnecessary-list-index-lookup will not be wrongly emitted if
    enumerate is called with start.

    Closes #7682

  • Don't warn about stop-iteration-return when using next() 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' like utf13.

    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