You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/Users/.../astroid/astroid/decorators.py", line 108, in wrapped
for res in _func(node, context, **kwargs):
File "/Users/.../astroid/astroid/inference.py", line 480, in _filter_operation_errors
for result in infer_callable(self, context):
File "/Users/.../astroid/astroid/inference.py", line 817, in _infer_binop
yield from _infer_binary_operation(lhs, rhs, self, context, _get_binop_flow)
File "/Users/.../astroid/astroid/inference.py", line 768, in _infer_binary_operation
results = list(method())
File "/Users/.../astroid/astroid/inference.py", line 607, in _invoke_binop_inference
return iter(_infer_old_style_string_formatting(instance, other, context))
File "/Users/.../astroid/astroid/inference.py", line 594, in _infer_old_style_string_formatting
return (nodes.const_factory(instance.value % values),)
ZeroDivisionError: integer division or modulo by zero
Expected behavior
Regression in 957d3d6
Found in pylint primer (the old primer with keras, so I didn't see it yesterday when it was blocked on stdlib failures) @DanielNoord would you be able to take a look for 2.12.2?
The text was updated successfully, but these errors were encountered:
Steps to reproduce
Current behavior
Expected behavior
Regression in 957d3d6
Found in pylint primer (the old primer with
keras
, so I didn't see it yesterday when it was blocked on stdlib failures)@DanielNoord would you be able to take a look for 2.12.2?
The text was updated successfully, but these errors were encountered: