---
title: "pyflakes 4.0.0 Breaking Changes on PyPI | Since.dev"
description: "What each pyflakes release removed, renamed or changed: 42 breaking changes in 2 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/pyflakes
last_updated: 2026-12-04
---

# pyflakes breaking changes

pyflakes 4.0.0 (September 22, 2026) is its newest release with breaking changes, 16 of them. The first: Removed pyflakes.checker.Binding.\_\_str\_\_. Every breaking API change we have recorded in pyflakes on PyPI: 42 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `4.1.0`, released October 28, 2026. [Source repository](https://github.com/PyCQA/pyflakes)

Packages on PyPI run on Python. [Python end of life dates](https://since.dev/calendar/python.md).

- From [3.0.0](#v-3-0-0) to [4.0.0](#v-4-0-0): 16 breaking changes in 1 version.

## pyflakes 4.0.0 breaking changes

pyflakes 4.0.0, released September 22, 2026: 16 breaking changes.

- **Removed** `pyflakes.checker.Binding.__str__`  

Binding.\_\_str\_\_ was removed in pyflakes 4.0.0 [pypi.org](https://pypi.org/project/pyflakes/4.0.0/)
- **Removed** `pyflakes.checker.Checker.getScopeNode`  

Checker.getScopeNode was removed in pyflakes 4.0.0 [pypi.org](https://pypi.org/project/pyflakes/4.0.0/)
- **Removed** `pyflakes.checker.FunctionScope.alwaysUsed`  

FunctionScope.alwaysUsed was removed in pyflakes 4.0.0 [pypi.org](https://pypi.org/project/pyflakes/4.0.0/)
- **Removed** `pyflakes.checker.FunctionScope.globals`  

FunctionScope.globals was removed in pyflakes 4.0.0 [pypi.org](https://pypi.org/project/pyflakes/4.0.0/)
- **Removed** `pyflakes.test.test_api.IntegrationTests.getPyflakesBinary`  

IntegrationTests.getPyflakesBinary was removed in pyflakes 4.0.0 [pypi.org](https://pypi.org/project/pyflakes/4.0.0/)
- **Removed** `pyflakes.test.test_match.skipIf`  

pyflakes.test.test_match.skipIf was removed in pyflakes 4.0.0 [pypi.org](https://pypi.org/project/pyflakes/4.0.0/)
- **Signature changed** `pyflakes.checker.Checker.__init__`  

Was def \_\_init\_\_(self, tree, filename='(none)', builtins=None, withDoctest='PYFLAKES_DOCTEST' in os.environ, file_tokens=()); now def \_\_init\_\_(self, tree, filename='(none)', builtins=None, withDoctest='PYFLAKES_DOCTEST' in os.environ). [pypi.org](https://pypi.org/project/pyflakes/4.0.0/)
- **Signature changed** `pyflakes.checker.Checker.ASSIGN`  

Was ASSIGN; now def ASSIGN(self, node). [pypi.org](https://pypi.org/project/pyflakes/4.0.0/)
- **Signature changed** `pyflakes.checker.Checker.FOR`  

Was FOR; now def FOR(self, node). [pypi.org](https://pypi.org/project/pyflakes/4.0.0/)
- **Signature changed** `pyflakes.checker.Checker.handleStringAnnotation`  

Was def handleStringAnnotation(self, s, node, ref_lineno, ref_col_offset, err); now def handleStringAnnotation(self, s, node, ref_lineno, ref_col_offset). [pypi.org](https://pypi.org/project/pyflakes/4.0.0/)
- **Signature changed** `pyflakes.checker.GeneratorScope`  

Was class GeneratorScope(Scope); now class GeneratorScope(ComprehensionScope). [pypi.org](https://pypi.org/project/pyflakes/4.0.0/)
- **Signature changed** `pyflakes.checker.Importation.__init__`  

Was def \_\_init\_\_(self, name, source, full_name=None); now def \_\_init\_\_(self, name, source, full_name=None, \*, is_lazy: int). [pypi.org](https://pypi.org/project/pyflakes/4.0.0/)
- **Signature changed** `pyflakes.checker.ImportationFrom.__init__`  

Was def \_\_init\_\_(self, name, source, module, real_name=None); now def \_\_init\_\_(self, name, source, module, real_name=None, \*, is_lazy: int). [pypi.org](https://pypi.org/project/pyflakes/4.0.0/)
- **Signature changed** `pyflakes.checker.iter_child_nodes`  

Was def iter_child_nodes(node, omit=None, \_fields_order=\_FieldsOrder()); now def iter_child_nodes(node, omit=None). [pypi.org](https://pypi.org/project/pyflakes/4.0.0/)
- **Signature changed** `pyflakes.checker.SubmoduleImportation.__init__`  

Was def \_\_init\_\_(self, name, source); now def \_\_init\_\_(self, name, source, \*, is_lazy: int). [pypi.org](https://pypi.org/project/pyflakes/4.0.0/)
- **Signature changed** `pyflakes.messages.DoctestSyntaxError.__init__`  

Was def \_\_init\_\_(self, filename, loc, position=None); now def \_\_init\_\_(self, filename, loc, position). [pypi.org](https://pypi.org/project/pyflakes/4.0.0/)

## pyflakes 3.0.0 breaking changes

pyflakes 3.0.0, released November 23, 2022: 26 breaking changes.

- **Removed** `pyflakes.checker.ASCII_NON_ALNUM`  

pyflakes.checker.ASCII_NON_ALNUM was removed in pyflakes 3.0.0 [pypi.org](https://pypi.org/project/pyflakes/3.0.0/)
- **Removed** `pyflakes.checker.DummyNode`  

pyflakes.checker.DummyNode was removed in pyflakes 3.0.0 [pypi.org](https://pypi.org/project/pyflakes/3.0.0/)
- **Removed** `pyflakes.checker.FunctionScope.isGenerator`  

FunctionScope.isGenerator was removed in pyflakes 3.0.0 [pypi.org](https://pypi.org/project/pyflakes/3.0.0/)
- **Removed** `pyflakes.checker.FunctionScope.unusedAssignments`  

FunctionScope.unusedAssignments was removed in pyflakes 3.0.0 [pypi.org](https://pypi.org/project/pyflakes/3.0.0/)
- **Removed** `pyflakes.checker.make_tokens`  

pyflakes.checker.make_tokens was removed in pyflakes 3.0.0 [pypi.org](https://pypi.org/project/pyflakes/3.0.0/)
- **Removed** `pyflakes.checker.TYPE_COMMENT_RE`  

pyflakes.checker.TYPE_COMMENT_RE was removed in pyflakes 3.0.0 [pypi.org](https://pypi.org/project/pyflakes/3.0.0/)
- **Removed** `pyflakes.checker.TYPE_FUNC_RE`  

pyflakes.checker.TYPE_FUNC_RE was removed in pyflakes 3.0.0 [pypi.org](https://pypi.org/project/pyflakes/3.0.0/)
- **Removed** `pyflakes.checker.TYPE_IGNORE_RE`  

pyflakes.checker.TYPE_IGNORE_RE was removed in pyflakes 3.0.0 [pypi.org](https://pypi.org/project/pyflakes/3.0.0/)
- **Removed** `pyflakes.test.test_checker`  

pyflakes.test.test_checker was removed in pyflakes 3.0.0 [pypi.org](https://pypi.org/project/pyflakes/3.0.0/)
- **Removed** `pyflakes.test.test_code_segment.FunctionScope.isGenerator`  

FunctionScope.isGenerator was removed in pyflakes 3.0.0 [pypi.org](https://pypi.org/project/pyflakes/3.0.0/)

And 16 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
