not at Python Bugs -- __builtins__ madness

Jeff Pinyan jeffp at
Sat Mar 11 22:30:43 CET 2000

Could some please explain how Python makes this mistake?

  jeffp at friday [4:15pm] bin #324> python
  Python 1.5.2 (#1, Apr 20 1999, 08:57:03)  [GCC] on sunos5
  Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
  >>> __builtins__
  <module '__builtin__' (built-in)>

It got the module name wrong.  Unless Python treats __builtins__ THAT
specially, that's a major goof.  And the 1.5.2 docs say it's
__builtin__.  This boggles my poor mind.  I'm checking Python Bugs...

MIDN 4/C PINYAN, NROTCURPI, US Naval Reserve             japhy at        
PerlMonth - An Online Perl Magazine  
The Perl Archive - Articles, Forums, etc.

More information about the Python-list mailing list