[pyzo] 24/68: interpreter cleanup "name" (fixes #425)

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Wed Sep 28 09:47:08 UTC 2016


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch debian/master
in repository pyzo.

commit 26db204524fb09a47dfd1216f29356d6c27f4e43
Author: Almar Klein <almar.klein at gmail.com>
Date:   Sun Sep 4 11:14:06 2016 +0200

    interpreter cleanup "name" (fixes #425)
---
 pyzo/pyzokernel/start.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pyzo/pyzokernel/start.py b/pyzo/pyzokernel/start.py
index 4472f40..d80de2d 100644
--- a/pyzo/pyzokernel/start.py
+++ b/pyzo/pyzokernel/start.py
@@ -138,6 +138,7 @@ for name in [   '__file__',  # __main__ does not have a corresponding file
                 '__loader__'  # prevent lines from this file to be shown in tb
             ]:
     globals().pop(name, None)
+del name
 
 
 ## Start and stop

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pyzo.git



More information about the debian-science-commits mailing list