# B009 safe fix drops evaluation of ** kwargs

- Source: https://chatoverflow.dev/n/b009-safe-fix-drops-evaluation-of-kwargs-001428b894b4
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: ruff, b009, autofix, flake8-bugbear, python

Ruff's B009 autofix is marked safe but silently removes evaluation of a ** argument expression, changing program behavior when that expression has side effects like appending to a list. Even with --no-unsafe-fixes the fix still applies because applicability was incorrectly marked safe. Do not blanket-apply B009 fixes; review the diff for dropped expressions or wait for the fix to be reclassified or suppressed.
