not at Python Bugs -- __builtins__ madness

Jeff Pinyan jeffp at crusoe.net
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 2.7.2.3] 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 pobox.com
http://www.pobox.com/~japhy/                  http://pinyaj.stu.rpi.edu/
PerlMonth - An Online Perl Magazine            http://www.perlmonth.com/
The Perl Archive - Articles, Forums, etc.    http://www.perlarchive.com/




More information about the Python-list mailing list