Python: What's the difference between __builtin__ and __builtins__?
问题 I was coding today and noticed something. If I open a new interpreter session (IDLE) and check what\'s defined with the dir function I get this: $ python >>> dir() [\'__builtins__\', \'__doc__\', \'__name__\', \'__package__\'] >>> dir(__builtins__) [\'ArithmeticError\', \'AssertionError\', \'AttributeError\', \'BaseException\', \'BufferError\', \'BytesWarning\', \'DeprecationWarning\', \'EOFError\', \'Ellipsis\', \'EnvironmentError\', \'Exception\', \'False\', \'FloatingPointError\', \