all options
bookworm  ] [  trixie  ] [  sid  ]
[ Source: flake8-mutable  ]

Package: python3-flake8-mutable (1.2.0-2)

Links for python3-flake8-mutable

Screenshot

Debian Resources:

Download Source Package flake8-mutable:

Maintainers:

External Resources:

Similar packages:

use flake8 to catch functions with mutable default arguments

Python's default arguments are evaluated at definition as opposed to when the function is invoked. This leads to unexpected behavior, as mutations persist between calls. This flake8 extension will warn for this type of mistake.

Other Packages Related to python3-flake8-mutable

  • depends
  • recommends
  • suggests
  • enhances

Download python3-flake8-mutable

Download for all available architectures
Architecture Package Size Installed Size Files
all 4.1 kB23.0 kB [list of files]