This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: make exec a function
Type: Stage:
Components: Interpreter Core Versions: Python 3.0
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: georg.brandl, gvanrossum
Priority: normal Keywords: patch

Created on 2006-09-01 22:35 by georg.brandl, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
exec-function.diff georg.brandl, 2006-09-01 22:35 #1
Messages (3)
msg51058 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2006-09-01 22:35
Make exec a function, as described in PEP 3100.

exec() now cannot modify the locals.
msg51059 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2006-09-06 06:42
Logged In: YES 
user_id=6380

Cool. Very thorough! Please check it in yourself (makes more
sense for auditing etc.) and close.  (I've already marked it
as "done" in the PEP.)
msg51060 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2006-09-06 06:53
Logged In: YES 
user_id=849994

Committed as rev. 51771.
History
Date User Action Args
2022-04-11 14:56:19adminsetgithub: 43927
2008-01-06 22:29:46adminsetkeywords: - py3k
versions: + Python 3.0
2006-09-01 22:35:58georg.brandlcreate