Message326957
On Wed, Oct 03, 2018 at 09:49:06AM +0000, thautwarm wrote:
> Steven, this problem is quite interesting because it just allows users
> to cause fatal errors without any invalid operations.
How is that different from every other case of shadowing a builtin?
len = 45
print(len("hello world"))
The ability to shadow builtins is a feature, not a bug.
I have no specific objection to changing assert so that it raises the
actual honest-to-goodness AssertionError, but that would be an
enhancement, not a bug-fix.
(To be honest, that's what I assumed it would do, until I tried it.) |
|
Date |
User |
Action |
Args |
2018-10-03 10:01:33 | steven.daprano | set | recipients:
+ steven.daprano, thautwarm, vtheno athena |
2018-10-03 10:01:33 | steven.daprano | link | issue34880 messages |
2018-10-03 10:01:33 | steven.daprano | create | |
|