I just noticed that running Flake8/Bugbear v25.11.29 on Python 3.13 results in the following warning:
path/to/file.py:1208:25: B912 `map()` without an explicit `strict=` parameter.
map(
where
B912: map() without an explicit strict= parameter set. strict=True causes the resulting iterator to raise a ValueError if the arguments are exhausted at differing lengths.
However, as per docs that strict parameter was introduced with Python 3.14 so this actually introduces a bug for older Python versions.
Does Bugbear not consider the Python version it’s running on?
I just noticed that running Flake8/Bugbear v25.11.29 on Python 3.13 results in the following warning:
where
However, as per docs that strict parameter was introduced with Python 3.14 so this actually introduces a bug for older Python versions.
Does Bugbear not consider the Python version it’s running on?