Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions doc/whatsnew/3/3.0/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,46 @@ easier to parse and provides more info, here's a sample output.

.. towncrier release notes start

What's new in Pylint 3.0.4?
---------------------------
Release date: 2024-02-23


False Positives Fixed
---------------------

- ``used-before-assignment`` is no longer emitted when using a name in a loop and
depending on an earlier name assignment in an ``except`` block paired with
``else: continue``.

Closes #6804 (`#6804 <https://github.com/pylint-dev/pylint/issues/6804>`_)

- Avoid false positives for ``no-member`` involving function
attributes supplied by decorators.

Closes #9246 (`#9246 <https://github.com/pylint-dev/pylint/issues/9246>`_)

- Fixed false positive nested-min-max for nested lists.

Closes #9307 (`#9307 <https://github.com/pylint-dev/pylint/issues/9307>`_)

- Fix false positive for ``used-before-assignment`` in a ``finally`` block
when assignments took place in both the ``try`` block and each exception handler.

Closes #9451 (`#9451 <https://github.com/pylint-dev/pylint/issues/9451>`_)



Other Bug Fixes
---------------

- Catch incorrect ValueError ``"generator already executing"`` for Python 3.12.0 - 3.12.2.
This is fixed upstream in Python 3.12.3.

Closes #9138 (`#9138 <https://github.com/pylint-dev/pylint/issues/9138>`_)



What's new in Pylint 3.0.3?
---------------------------
Release date: 2023-12-11
Expand Down
5 changes: 0 additions & 5 deletions doc/whatsnew/fragments/6804.false_positive

This file was deleted.

4 changes: 0 additions & 4 deletions doc/whatsnew/fragments/9138.bugfix

This file was deleted.

4 changes: 0 additions & 4 deletions doc/whatsnew/fragments/9246.false_positive

This file was deleted.

3 changes: 0 additions & 3 deletions doc/whatsnew/fragments/9307.false_positive

This file was deleted.

4 changes: 0 additions & 4 deletions doc/whatsnew/fragments/9451.false_positive

This file was deleted.

2 changes: 1 addition & 1 deletion pylint/__pkginfo__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

from __future__ import annotations

__version__ = "3.0.3"
__version__ = "3.0.4"


def get_numversion_from_version(v: str) -> tuple[int, int, int]:
Expand Down
2 changes: 1 addition & 1 deletion tbump.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
github_url = "https://github.com/pylint-dev/pylint"

[version]
current = "3.0.3"
current = "3.0.4"
regex = '''
^(?P<major>0|[1-9]\d*)
\.
Expand Down
2 changes: 1 addition & 1 deletion towncrier.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tool.towncrier]
version = "3.0.3"
version = "3.0.4"
directory = "doc/whatsnew/fragments"
filename = "doc/whatsnew/3/3.0/index.rst"
template = "doc/whatsnew/fragments/_template.rst"
Expand Down