[Checkins] [zopefoundation/Zope] d631d5: Fix handling of globals and locals in zconsole scr...
GitHub
noreply at github.com
Fri Oct 12 11:02:39 CEST 2018
Branch: refs/heads/fix-zconsole-namespaces
Home: https://github.com/zopefoundation/Zope
Commit: d631d57a3961b30ae9f857d186d244053f3e85cc
https://github.com/zopefoundation/Zope/commit/d631d57a3961b30ae9f857d186d244053f3e85cc
Author: Steffen Allner <sa at gocept.com>
Date: 2018-10-12 (Fri, 12 Oct 2018)
Changed paths:
M CHANGES.rst
M src/Zope2/utilities/tests/test_zconsole.py
M src/Zope2/utilities/zconsole.py
Log Message:
-----------
Fix handling of globals and locals in zconsole scripts.
In case `exec` is called without arguments, the current scope is used. This
results in a overfull `globals` missing the `app` which is only in `locals`.
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
More information about the checkins
mailing list