[Checkins] [zopefoundation/Zope] f0de1c: Fix handling of globals and locals in zconsole scr...
GitHub
noreply at github.com
Tue Oct 16 10:55:48 CEST 2018
Branch: refs/heads/master
Home: https://github.com/zopefoundation/Zope
Commit: f0de1c88df5c3a0bc34c288dd4e5ce1af9a1ef28
https://github.com/zopefoundation/Zope/commit/f0de1c88df5c3a0bc34c288dd4e5ce1af9a1ef28
Author: Steffen Allner <sa at gocept.com>
Date: 2018-10-16 (Tue, 16 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. (#374)
* 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