Terry J. Reedy added the comment:

Steven: "You should use `__builtin__` in Python 2 and `builtins` in Python 3."  
I presume this is for import statements.

ppperry: Titles should fit in the box, so they fit in search listing results.

I am thinking of something like "Since Python inserts '__builtins__' into the 
exec global namespace when not present and IDLE uses exec, '__builtins__' is 
defined at the start of each statement or file even when it otherwise would not 
be."

----------
title: Document that IDLE behaves differently than python on `del __builtins__` 
-> Document that IDLE -python difference for `del __builtins__`
versions:  -Python 3.4

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue25564>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to