Open federicovalenso opened 4 hours ago
Can you provide me an example where it could lead to invalid result?
I tried, but failed... But that doesn't mean there won't be someone who can, and that could lead to unexpected problems. Or am I paranoid? :)))
I would say that it depends on whether it's reachable or not and whether it will be used or not. Let's ask @pablogsal if this is worth fixing.
Bug report
Bug description:
It leads to overflow in _PyPegen_raise_error. This is also true for col_offset (just replace
c.body[0].end_col_offset
)CPython versions tested on:
3.11
Operating systems tested on:
Linux