Closed correctmost closed 1 month ago
Closes #2521 Closes #2523
Previous fix in this area: https://github.com/pylint-dev/astroid/pull/2228
Python docs on list multiplication:
Values of n less than 0 are treated as 0 (which yields an empty sequence of the same type as s). -- https://docs.python.org/3.14/library/stdtypes.html#sequence-types-list-tuple-range
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 93.19%. Comparing base (ba7df4a) to head (de82852).
ba7df4a
de82852
Type of Changes
Description
2523 is causing coverage builds to fail on OSS-Fuzz (https://github.com/pylint-dev/astroid/issues/2511#issuecomment-2311387720)
Closes #2521 Closes #2523
References
Previous fix in this area: https://github.com/pylint-dev/astroid/pull/2228
Python docs on list multiplication: