Message254149
| Author |
ppperry |
| Recipients |
ppperry |
| Date |
2015年11月05日.23:26:04 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1446765964.78.0.0240100073004.issue25564@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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 |
|