]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Tkinter renaming reversal: Delete all stubs from lib-tk.
authorGeorg Brandl <georg@python.org>
Tue, 20 May 2008 06:49:28 +0000 (06:49 +0000)
committerGeorg Brandl <georg@python.org>
Tue, 20 May 2008 06:49:28 +0000 (06:49 +0000)
15 files changed:
Lib/lib-tk/FileDialog.py [deleted file]
Lib/lib-tk/FixTk.py [deleted file]
Lib/lib-tk/ScrolledText.py [deleted file]
Lib/lib-tk/SimpleDialog.py [deleted file]
Lib/lib-tk/Tix.py [deleted file]
Lib/lib-tk/Tkconstants.py [deleted file]
Lib/lib-tk/Tkdnd.py [deleted file]
Lib/lib-tk/Tkinter.py [deleted file]
Lib/lib-tk/tkColorChooser.py [deleted file]
Lib/lib-tk/tkCommonDialog.py [deleted file]
Lib/lib-tk/tkFileDialog.py [deleted file]
Lib/lib-tk/tkFont.py [deleted file]
Lib/lib-tk/tkMessageBox.py [deleted file]
Lib/lib-tk/tkSimpleDialog.py [deleted file]
Lib/lib-tk/turtle.py [deleted file]

diff --git a/Lib/lib-tk/FileDialog.py b/Lib/lib-tk/FileDialog.py
deleted file mode 100644 (file)
index 390f836..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-import sys
-from warnings import warnpy3k
-
-warnpy3k("the FileDialog module has been renamed "
-         "to 'tkinter.filedialog' in Python 3.0", stacklevel=2)
-
-import tkinter.filedialog
-sys.modules[__name__] = tkinter.filedialog
diff --git a/Lib/lib-tk/FixTk.py b/Lib/lib-tk/FixTk.py
deleted file mode 100644 (file)
index d19605a..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-import sys
-from warnings import warnpy3k
-
-warnpy3k("the FixTk module has been renamed "
-         "to 'tkinter._fix' in Python 3.0", stacklevel=2)
-
-import tkinter._fix
-sys.modules[__name__] = tkinter._fix
diff --git a/Lib/lib-tk/ScrolledText.py b/Lib/lib-tk/ScrolledText.py
deleted file mode 100644 (file)
index 1566d89..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-import sys
-from warnings import warnpy3k
-
-warnpy3k("the ScrolledText module has been renamed "
-         "to 'tkinter.scrolledtext' in Python 3.0", stacklevel=2)
-
-import tkinter.scrolledtext
-sys.modules[__name__] = tkinter.scrolledtext
diff --git a/Lib/lib-tk/SimpleDialog.py b/Lib/lib-tk/SimpleDialog.py
deleted file mode 100644 (file)
index 707f2f5..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-import sys
-from warnings import warnpy3k
-
-warnpy3k("the SimpleDialog module has been renamed "
-         "to 'tkinter.simpledialog' in Python 3.0", stacklevel=2)
-
-import tkinter.simpledialog
-sys.modules[__name__] = tkinter.simpledialog
diff --git a/Lib/lib-tk/Tix.py b/Lib/lib-tk/Tix.py
deleted file mode 100644 (file)
index 77d3df0..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-import sys
-from warnings import warnpy3k
-
-warnpy3k("the Tix module has been renamed "
-         "to 'tkinter.tix' in Python 3.0", stacklevel=2)
-
-import tkinter.tix
-sys.modules[__name__] = tkinter.tix
diff --git a/Lib/lib-tk/Tkconstants.py b/Lib/lib-tk/Tkconstants.py
deleted file mode 100644 (file)
index 1cf2c8f..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-import sys
-from warnings import warnpy3k
-
-warnpy3k("the Tkconstants module has been renamed "
-         "to 'tkinter.constants' in Python 3.0", stacklevel=2)
-
-import tkinter.constants
-sys.modules[__name__] = tkinter.constants
diff --git a/Lib/lib-tk/Tkdnd.py b/Lib/lib-tk/Tkdnd.py
deleted file mode 100644 (file)
index dfc0f74..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-import sys
-from warnings import warnpy3k
-
-warnpy3k("the Tkdnd module has been renamed "
-         "to 'tkinter.dnd' in Python 3.0", stacklevel=2)
-
-import tkinter.dnd
-sys.modules[__name__] = tkinter.dnd
diff --git a/Lib/lib-tk/Tkinter.py b/Lib/lib-tk/Tkinter.py
deleted file mode 100644 (file)
index 4e56a37..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-import sys
-from warnings import warnpy3k
-
-warnpy3k("the Tkinter module has been renamed "
-         "to 'tkinter' in Python 3.0", stacklevel=2)
-
-import tkinter
-sys.modules[__name__] = tkinter
diff --git a/Lib/lib-tk/tkColorChooser.py b/Lib/lib-tk/tkColorChooser.py
deleted file mode 100644 (file)
index 284bc27..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-import sys
-from warnings import warnpy3k
-
-warnpy3k("the tkColorChooser module has been renamed "
-         "to 'tkinter.colorchooser' in Python 3.0", stacklevel=2)
-
-import tkinter.colorchooser
-sys.modules[__name__] = tkinter.colorchooser
diff --git a/Lib/lib-tk/tkCommonDialog.py b/Lib/lib-tk/tkCommonDialog.py
deleted file mode 100644 (file)
index 80fcd45..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-import sys
-from warnings import warnpy3k
-
-warnpy3k("the tkCommonDialog module has been renamed "
-         "to 'tkinter.commondialog' in Python 3.0", stacklevel=2)
-
-import tkinter.commondialog
-sys.modules[__name__] = tkinter.commondialog
diff --git a/Lib/lib-tk/tkFileDialog.py b/Lib/lib-tk/tkFileDialog.py
deleted file mode 100644 (file)
index 9e403c7..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-import sys
-from warnings import warnpy3k
-
-warnpy3k("the tkFileDialog module has been renamed "
-         "to 'tkinter.filedialog' in Python 3.0", stacklevel=2)
-
-import tkinter.filedialog
-sys.modules[__name__] = tkinter.filedialog
diff --git a/Lib/lib-tk/tkFont.py b/Lib/lib-tk/tkFont.py
deleted file mode 100644 (file)
index 0e12bc0..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-import sys
-from warnings import warnpy3k
-
-warnpy3k("the tkFont module has been renamed "
-         "to 'tkinter.font' in Python 3.0", stacklevel=2)
-
-import tkinter.font
-sys.modules[__name__] = tkinter.font
diff --git a/Lib/lib-tk/tkMessageBox.py b/Lib/lib-tk/tkMessageBox.py
deleted file mode 100644 (file)
index cea676d..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-import sys
-from warnings import warnpy3k
-
-warnpy3k("the tkMessageBox module has been renamed "
-         "to 'tkinter.messagebox' in Python 3.0", stacklevel=2)
-
-import tkinter.messagebox
-sys.modules[__name__] = tkinter.messagebox
diff --git a/Lib/lib-tk/tkSimpleDialog.py b/Lib/lib-tk/tkSimpleDialog.py
deleted file mode 100644 (file)
index 7230c8a..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-import sys
-from warnings import warnpy3k
-
-warnpy3k("the tkSimpleDialog module has been renamed "
-         "to 'tkinter.simpledialog' in Python 3.0", stacklevel=2)
-
-import tkinter.simpledialog
-sys.modules[__name__] = tkinter.simpledialog
diff --git a/Lib/lib-tk/turtle.py b/Lib/lib-tk/turtle.py
deleted file mode 100644 (file)
index 88b8c61..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-import sys
-from warnings import warnpy3k
-
-warnpy3k("the turtle module has been renamed "
-         "to 'tkinter.turtle' in Python 3.0", stacklevel=2)
-
-import tkinter.turtle
-sys.modules[__name__] = tkinter.turtle