[Python-Dev] Re: [Pythonmac-SIG] __builtins__ a dictionary ora module?

Tim Peters tim.one@home.com
Fri, 6 Apr 2001 18:50:04 -0400


[Jonathan Wight]
> Well I'd like to make my code (a Python IDE) treat __builtins__ as
> a module so I'll look and see if there's a way of doing that.

Here's the start of an IDLE session:

Python 2.1b2 (#12, Mar 23 2001, 14:01:30) [MSC 32 bit (Intel)] on win32
Type "copyright", "credits" or "license" for more information.
IDLE 0.8 -- press F1 for help
>>> __builtins__
<module '__builtin__' (built-in)>
>>>

So do what it does.

we-can-both-search-the-source-code-but-you're-motivated<wink>-ly y'rs
    - tim