diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt index e7d4f8f3a1..05e6c96334 100644 --- a/CONTRIBUTORS.txt +++ b/CONTRIBUTORS.txt @@ -364,6 +364,7 @@ contributors: - Stéphane Wirtel : nonlocal-without-binding - Stephen Longofono <8992396+SLongofono@users.noreply.github.com> - Stanislav Levin +- Smixi - Sorin Sbarnea - Slavfox - Skip Montanaro diff --git a/doc/whatsnew/2/2.15/index.rst b/doc/whatsnew/2/2.15/index.rst index a7c635bf72..4ad6eb9bc0 100644 --- a/doc/whatsnew/2/2.15/index.rst +++ b/doc/whatsnew/2/2.15/index.rst @@ -29,6 +29,54 @@ Marc Byrne became a maintainer, welcome to the team ! .. towncrier release notes start +What's new in Pylint 2.15.6? +---------------------------- +Release date: 2022-11-19 + + +False Positives Fixed +--------------------- + +- Fix false positive for ``unhashable-member`` when subclassing ``dict`` and + using the subclass as a dictionary key. + + Closes #7501 (`#7501 `_) + +- ``unnecessary-list-index-lookup`` will not be wrongly emitted if + ``enumerate`` is called with ``start``. + + Closes #7682 (`#7682 `_) + +- Don't warn about ``stop-iteration-return`` when using ``next()`` over + ``itertools.cycle``. + + Closes #7765 (`#7765 `_) + + + +Other Bug Fixes +--------------- + +- Messages sent to reporter are now copied so a reporter cannot modify the + message sent to other reporters. + + Closes #7214 (`#7214 `_) + +- Fixes edge case of custom method named ``next`` raised an astroid error. + + Closes #7610 (`#7610 `_) + +- Fix crash that happened when parsing files with unexpected encoding starting + with 'utf' like ``utf13``. + + Closes #7661 (`#7661 `_) + +- Fix a crash when a child class with an ``__init__`` method inherits from a + parent class with an ``__init__`` class attribute. + + Closes #7742 (`#7742 `_) + + What's new in Pylint 2.15.5? ---------------------------- Release date: 2022-10-21 diff --git a/doc/whatsnew/fragments/7214.bugfix b/doc/whatsnew/fragments/7214.bugfix index c91805e4bc..016d3dc3e4 100644 --- a/doc/whatsnew/fragments/7214.bugfix +++ b/doc/whatsnew/fragments/7214.bugfix @@ -1,3 +1,3 @@ -Message send to reporter are now copied so a reporter cannot modify the message sent to other reporters. +Messages sent to reporter are now copied so a reporter cannot modify the message sent to other reporters. Closes #7214 diff --git a/tests/functional/s/stop_iteration_inside_generator.py b/tests/functional/s/stop_iteration_inside_generator.py index b1646fe163..a143fd946c 100644 --- a/tests/functional/s/stop_iteration_inside_generator.py +++ b/tests/functional/s/stop_iteration_inside_generator.py @@ -1,8 +1,8 @@ """ Test that no StopIteration is raised inside a generator """ -# pylint: disable=missing-docstring,invalid-name,import-error, try-except-raise, wrong-import-position,not-callable,raise-missing-from -# pylint: disable=broad-exception-raised +# pylint: disable=missing-docstring,invalid-name,import-error, try-except-raise, wrong-import-position +# pylint: disable=not-callable,raise-missing-from,broad-exception-raised import asyncio class RebornStopIteration(StopIteration):