A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2005-September/339933.html below:

Single type for __builtins__ in Py3.0

Single type for __builtins__ in Py3.0 Single type for __builtins__ in Py3.0Fredrik Lundh fredrik at pythonware.com
Fri Sep 23 14:19:54 EDT 2005
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>




More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4