Message254149
In IDLE the following code silently works:
>>> del __builtins__
>>> min
<built-in function min>
In the standard interpreter, it produces an error:
>>> del __builtins__
>>> min
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'min' is not defined
Note that saying `__builtins__ = 7` fails in idle as well. |
|
Date |
User |
Action |
Args |
2015-11-05 23:26:04 | ppperry | set | recipients:
+ ppperry |
2015-11-05 23:26:04 | ppperry | set | messageid: <1446765964.78.0.0240100073004.issue25564@psf.upfronthosting.co.za> |
2015-11-05 23:26:04 | ppperry | link | issue25564 messages |
2015-11-05 23:26:04 | ppperry | create | |
|