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-December/075528.html below:

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

[Python-Dev] [poll] New name for __builtins__ [Python-Dev] [poll] New name for __builtins__Nick Coghlan ncoghlan at gmail.com
Mon Dec 3 13:01:15 CET 2007
Guido van Rossum wrote:
> On Dec 2, 2007 7:40 AM, Nick Coghlan <ncoghlan at gmail.com> wrote:
>> Just for the record, I also like the idea of __builtins__ being a magic
>> alias for the boringly-but-practically named builtins module.
> 
> [Imagine me jumping up and down and screaming at the top of my lungs
> out of frustration:]
> 
> BUT THAT'S NOT WHAT IT IS! IT'S A HOOK FOR SANDBOXING! YOU SHOULD
> NEVER BE USING __builtins__ DIRECTLY EXCEPT WHEN CONTROLLING THE SET
> OF BUILTINS AVAILABLE TO UNTRUSTED CODE!
> 

I never mess with the builtin definitions under either name, but I agree 
that my description was highly inaccurate. It's not a topic I've spent 
much time considering :)

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------
             http://www.boredomandlaziness.org
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