[Python-Dev] Challenge: Please break this! [Now with blog post]

Guido van Rossum guido at python.org
Tue Feb 24 20:30:12 CET 2009


On Tue, Feb 24, 2009 at 7:24 AM, Jeff Hall <hall.jeff at gmail.com> wrote:
> I didn't see Tav actually say this but are we all agreed that compile()
> should be removed from __builtins__?

I personally disagree -- I think we should instead add restrictions on
the creation of new code objects by calling the constructor directly.
Calling compile() should be fine.

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-Dev mailing list