Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
83efd6cb
Commit
83efd6cb
authored
Jul 08, 2012
by
Terry Jan Reedy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #13557: Clarify effect of giving two different namespaces to exec or
execfile().
parent
45ce4dc7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
Doc/library/functions.rst
Doc/library/functions.rst
+4
-1
Misc/NEWS
Misc/NEWS
+3
-3
No files found.
Doc/library/functions.rst
View file @
83efd6cb
...
...
@@ -417,7 +417,10 @@ are always available. They are listed here in alphabetical order.
current scope. If only *globals* is provided, it must be a dictionary, which
will be used for both the global and the local variables. If *globals* and
*locals* are given, they are used for the global and local variables,
respectively. If provided, *locals* can be any mapping object.
respectively. If provided, *locals* can be any mapping object. Remember
that at module level, globals and locals are the same dictionary. If exec
gets two separate objects as *globals* and *locals*, the code will be
executed as if it were embedded in a class definition.
If the *globals* dictionary does not contain a value for the key
``__builtins__``, a reference to the dictionary of the built-in module
...
...
Misc/NEWS
View file @
83efd6cb
...
...
@@ -380,14 +380,14 @@ Build
Documentation
-------------
- Issue #13557: Clarify effect of giving two different namespaces to exec or
execfile().
- Issue #8799: Fix and improve the threading.Condition documentation.
- Issue #14943: Correct a default argument value for winreg.OpenKey
and correctly list the argument names in the function's explanation.
Documentation
-------------
- Issue #14034: added the argparse tutorial.
Tools/Demos
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment