cpython: a4fc52da295b (original) (raw)

Mercurial > cpython

changeset 80780:a4fc52da295b

Issue #16248: Disable code execution from the user's home directory by tkinter when the -E flag is passed to Python. Patch by Zachary Ware. [#16248]

Antoine Pitrou solipsis@pitrou.net
date Sun, 09 Dec 2012 14:47:23 +0100
parents c40f4c19d20b(current diff)10d04bdb05ab(diff)
children 70ee0b76239d
files Lib/tkinter/__init__.py Misc/NEWS
diffstat 2 files changed, 6 insertions(+), 1 deletions(-)[+] [-] Lib/tkinter/__init__.py 4 Misc/NEWS 3

line wrap: on

line diff

--- a/Lib/tkinter/init.py +++ b/Lib/tkinter/init.py @@ -1756,7 +1756,9 @@ class Tk(Misc, Wm): self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use) if useTk: self._loadtk()

--- a/Misc/NEWS +++ b/Misc/NEWS @@ -163,6 +163,9 @@ Core and Builtins Library ------- +- Issue #16248: Disable code execution from the user's home directory by