Feature or enhancement
Right now assert generate errors that are hard to read, mostly because they lack context.
Example:
>>> assert 1 == 0
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AssertionError
Pitch
Let's make them better:
>>> assert 1 == 0
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
assert 1 == 0
^^^^^^
AssertionError
This is a good starting point.
Later this can be enhanced to use more context.
Linked PRs
Feature or enhancement
Right now
assertgenerate errors that are hard to read, mostly because they lack context.Example:
Pitch
Let's make them better:
This is a good starting point.
Later this can be enhanced to use more context.
Linked PRs
asserterrors #105935