Collin Winter wrote:

> As it currently stands, the type of the global __builtins__ differs
> depending on whether you're in the __main__ namespace (__builtins__ is
> a module) or not (its a dict). I was recently tripped up by this
> discrepancy, and googling the issue brings up half-a-dozen or so c.l.p
> threads where others have been bitten by this, too.

__builtins__ is a CPython implementation detail.  why not just let it
be an implementation detail, and refrain from using it?  it's not that
hard, really.

</F>



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to