summaryrefslogtreecommitdiff
path: root/dev-lang/python/files/python-2.7-issue16248.patch
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2015-08-09 10:43:34 +0200
committerMichał Górny <mgorny@gentoo.org>2015-08-09 10:47:50 +0200
commit33cf38e4f1eb6b456df0874b34ff54a8961cf97e (patch)
tree41777587297a3b0614b5f2dd2deb5c727b53b228 /dev-lang/python/files/python-2.7-issue16248.patch
parentafad29a8b43f1ccf53f95e95a9b12e430183f8bb (diff)
downloadgentoo-33cf38e4f1eb6b456df0874b34ff54a8961cf97e.tar.gz
gentoo-33cf38e4f1eb6b456df0874b34ff54a8961cf97e.tar.bz2
gentoo-33cf38e4f1eb6b456df0874b34ff54a8961cf97e.zip
Move 3.2 to ::python. Remove old patches.
Package-Manager: portage-2.2.20
Diffstat (limited to 'dev-lang/python/files/python-2.7-issue16248.patch')
-rw-r--r--dev-lang/python/files/python-2.7-issue16248.patch19
1 files changed, 0 insertions, 19 deletions
diff --git a/dev-lang/python/files/python-2.7-issue16248.patch b/dev-lang/python/files/python-2.7-issue16248.patch
deleted file mode 100644
index ce9c654c565f..000000000000
--- a/dev-lang/python/files/python-2.7-issue16248.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-# HG changeset patch
-# User Antoine Pitrou <solipsis@pitrou.net>
-# Date 1375388712 -7200
-# Node ID 0f17aed78168e63ec058c219d03cea7240f83dd6
-# Parent bb546f6d8ab4f513804d7a420657963881e5b447
-Fix tkinter regression introduced by the security fix in #16248.
-
-diff --git a/Lib/lib-tk/Tkinter.py b/Lib/lib-tk/Tkinter.py
---- a/Lib/lib-tk/Tkinter.py
-+++ b/Lib/lib-tk/Tkinter.py
-@@ -1736,7 +1736,7 @@ class Tk(Misc, Wm):
- # ensure that self.tk is always _something_.
- self.tk = None
- if baseName is None:
-- import sys, os
-+ import os
- baseName = os.path.basename(sys.argv[0])
- baseName, ext = os.path.splitext(baseName)
- if ext not in ('.py', '.pyc', '.pyo'):