A RetroSearch Logo

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

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2007-November/075400.html below:

[Python-Dev] [poll] New name for __builtins__

[Python-Dev] [poll] New name for __builtins__ [Python-Dev] [poll] New name for __builtins__Adam Olsen rhamph at gmail.com
Wed Nov 28 19:46:33 CET 2007
On Nov 28, 2007 8:20 AM, Christian Heimes <lists at cheimes.de> wrote:
> I'm sending this mail to Python-dev in the hope to reach more developers.
>
> GvR likes to rename the __builtin__ to reduce confusing between
> __builtin__ and __builtins__. He wanted to start a poll on the new name
> but apparently he forgot.

In a recent thread on python-ideas[1] it was suggested that builtins
be added as an argument to eval and exec.  I'd prefer to do that and
eliminate the name altogether.

If not that I suggest something like __inject_builtins__.  This
implies it's a command to eval/exec, and doesn't necessarily reflect
your current builtins (which are canonically accessible as an
attribute of your frame.)


[1] http://mail.python.org/pipermail/python-ideas/2007-November/001250.html

-- 
Adam Olsen, aka Rhamphoryncus
More information about the Python-Dev 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