diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2002-04-11 21:03:37 +0000 |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2002-04-11 21:03:37 +0000 |
commit | 68c7e26dc953c5403bd193def3c966f0297ffeae (patch) | |
tree | 10dc13af43707c54e51de4165a9097f111edc0f6 | |
parent | 04a8da5cdb185322ca519db1e731ba10d7646970 (diff) | |
download | cpython-git-68c7e26dc953c5403bd193def3c966f0297ffeae.tar.gz |
Get rid of backward compatibility modules. Do this fairly early in the 2.3 cycle so we don't shoot ourselves in the foot later.
45 files changed, 0 insertions, 180 deletions
diff --git a/Mac/Lib/lib-compat/AE.py b/Mac/Lib/lib-compat/AE.py deleted file mode 100644 index 6d8b6d0866..0000000000 --- a/Mac/Lib/lib-compat/AE.py +++ /dev/null @@ -1,4 +0,0 @@ -import warnings -warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__), - DeprecationWarning, stacklevel=2) -from Carbon.AE import * diff --git a/Mac/Lib/lib-compat/App.py b/Mac/Lib/lib-compat/App.py deleted file mode 100644 index f0aa9c7d39..0000000000 --- a/Mac/Lib/lib-compat/App.py +++ /dev/null @@ -1,4 +0,0 @@ -import warnings -warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__), - DeprecationWarning, stacklevel=2) -from Carbon.App import * diff --git a/Mac/Lib/lib-compat/Appearance.py b/Mac/Lib/lib-compat/Appearance.py deleted file mode 100644 index 3bd5dbedb1..0000000000 --- a/Mac/Lib/lib-compat/Appearance.py +++ /dev/null @@ -1,4 +0,0 @@ -import warnings -warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__), - DeprecationWarning, stacklevel=2) -from Carbon.Appearance import * diff --git a/Mac/Lib/lib-compat/AppleEvents.py b/Mac/Lib/lib-compat/AppleEvents.py deleted file mode 100644 index 2db9a9bf40..0000000000 --- a/Mac/Lib/lib-compat/AppleEvents.py +++ /dev/null @@ -1,4 +0,0 @@ -import warnings -warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__), - DeprecationWarning, stacklevel=2) -from Carbon.AppleEvents import * diff --git a/Mac/Lib/lib-compat/Balloons.py b/Mac/Lib/lib-compat/Balloons.py deleted file mode 100644 index 2a84932823..0000000000 --- a/Mac/Lib/lib-compat/Balloons.py +++ /dev/null @@ -1,4 +0,0 @@ -import warnings -warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__), - DeprecationWarning, stacklevel=2) -from Carbon.Balloons import * diff --git a/Mac/Lib/lib-compat/CF.py b/Mac/Lib/lib-compat/CF.py deleted file mode 100644 index 8ecf212de8..0000000000 --- a/Mac/Lib/lib-compat/CF.py +++ /dev/null @@ -1,4 +0,0 @@ -import warnings -warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__), - DeprecationWarning, stacklevel=2) -from Carbon.CF import * diff --git a/Mac/Lib/lib-compat/Cm.py b/Mac/Lib/lib-compat/Cm.py deleted file mode 100644 index 16a16dcf73..0000000000 --- a/Mac/Lib/lib-compat/Cm.py +++ /dev/null @@ -1,4 +0,0 @@ -import warnings -warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__), - DeprecationWarning, stacklevel=2) -from Carbon.Cm import * diff --git a/Mac/Lib/lib-compat/Components.py b/Mac/Lib/lib-compat/Components.py deleted file mode 100644 index cd9e04c587..0000000000 --- a/Mac/Lib/lib-compat/Components.py +++ /dev/null @@ -1,4 +0,0 @@ -import warnings -warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__), - DeprecationWarning, stacklevel=2) -from Carbon.Components import * diff --git a/Mac/Lib/lib-compat/ControlAccessor.py b/Mac/Lib/lib-compat/ControlAccessor.py deleted file mode 100644 index 5859da68ca..0000000000 --- a/Mac/Lib/lib-compat/ControlAccessor.py +++ /dev/null @@ -1,4 +0,0 @@ -import warnings -warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__), - DeprecationWarning, stacklevel=2) -from Carbon.ControlAccessor import * diff --git a/Mac/Lib/lib-compat/Controls.py b/Mac/Lib/lib-compat/Controls.py deleted file mode 100644 index 05b81d29da..0000000000 --- a/Mac/Lib/lib-compat/Controls.py +++ /dev/null @@ -1,4 +0,0 @@ -import warnings -warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__), - DeprecationWarning, stacklevel=2) -from Carbon.Controls import * diff --git a/Mac/Lib/lib-compat/Ctl.py b/Mac/Lib/lib-compat/Ctl.py deleted file mode 100644 index fc6b8554c9..0000000000 --- a/Mac/Lib/lib-compat/Ctl.py +++ /dev/null @@ -1,4 +0,0 @@ -import warnings -warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__), - DeprecationWarning, stacklevel=2) -from Carbon.Ctl import * diff --git a/Mac/Lib/lib-compat/Dialogs.py b/Mac/Lib/lib-compat/Dialogs.py deleted file mode 100644 index dc8b35f027..0000000000 --- a/Mac/Lib/lib-compat/Dialogs.py +++ /dev/null @@ -1,4 +0,0 @@ -import warnings -warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__), - DeprecationWarning, stacklevel=2) -from Carbon.Dialogs import * diff --git a/Mac/Lib/lib-compat/Dlg.py b/Mac/Lib/lib-compat/Dlg.py deleted file mode 100644 index 7c84af2590..0000000000 --- a/Mac/Lib/lib-compat/Dlg.py +++ /dev/null @@ -1,4 +0,0 @@ -import warnings -warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__), - DeprecationWarning, stacklevel=2) -from Carbon.Dlg import * diff --git a/Mac/Lib/lib-compat/Drag.py b/Mac/Lib/lib-compat/Drag.py deleted file mode 100644 index 30fe93dab1..0000000000 --- a/Mac/Lib/lib-compat/Drag.py +++ /dev/null @@ -1,4 +0,0 @@ -import warnings -warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__), - DeprecationWarning, stacklevel=2) -from Carbon.Drag import * diff --git a/Mac/Lib/lib-compat/Dragconst.py b/Mac/Lib/lib-compat/Dragconst.py deleted file mode 100644 index 9a3b7254a1..0000000000 --- a/Mac/Lib/lib-compat/Dragconst.py +++ /dev/null @@ -1,4 +0,0 @@ -import warnings -warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__), - DeprecationWarning, stacklevel=2) -from Carbon.Dragconst import * diff --git a/Mac/Lib/lib-compat/Events.py b/Mac/Lib/lib-compat/Events.py deleted file mode 100644 index a3d14b3e58..0000000000 --- a/Mac/Lib/lib-compat/Events.py +++ /dev/null @@ -1,4 +0,0 @@ -import warnings -warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__), - DeprecationWarning, stacklevel=2) -from Carbon.Events import * diff --git a/Mac/Lib/lib-compat/Evt.py b/Mac/Lib/lib-compat/Evt.py deleted file mode 100644 index a9e9cd572d..0000000000 --- a/Mac/Lib/lib-compat/Evt.py +++ /dev/null @@ -1,4 +0,0 @@ -import warnings -warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__), - DeprecationWarning, stacklevel=2) -from Carbon.Evt import * diff --git a/Mac/Lib/lib-compat/Fm.py b/Mac/Lib/lib-compat/Fm.py deleted file mode 100644 index 7653f9cb02..0000000000 --- a/Mac/Lib/lib-compat/Fm.py +++ /dev/null @@ -1,4 +0,0 @@ -import warnings -warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__), - DeprecationWarning, stacklevel=2) -from Carbon.Fm import * diff --git a/Mac/Lib/lib-compat/Fonts.py b/Mac/Lib/lib-compat/Fonts.py deleted file mode 100644 index 08ace636ea..0000000000 --- a/Mac/Lib/lib-compat/Fonts.py +++ /dev/null @@ -1,4 +0,0 @@ -import warnings -warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__), - DeprecationWarning, stacklevel=2) -from Carbon.Fonts import * diff --git a/Mac/Lib/lib-compat/Help.py b/Mac/Lib/lib-compat/Help.py deleted file mode 100644 index f9b3cb2259..0000000000 --- a/Mac/Lib/lib-compat/Help.py +++ /dev/null @@ -1,4 +0,0 @@ -import warnings -warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__), - DeprecationWarning, stacklevel=2) -from Carbon.Help import * diff --git a/Mac/Lib/lib-compat/Icn.py b/Mac/Lib/lib-compat/Icn.py deleted file mode 100644 index 270dbc5ab4..0000000000 --- a/Mac/Lib/lib-compat/Icn.py +++ /dev/null @@ -1,4 +0,0 @@ -import warnings -warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__), - DeprecationWarning, stacklevel=2) -from Carbon.Icn import * diff --git a/Mac/Lib/lib-compat/Icons.py b/Mac/Lib/lib-compat/Icons.py deleted file mode 100644 index d211a2ad41..0000000000 --- a/Mac/Lib/lib-compat/Icons.py +++ /dev/null @@ -1,4 +0,0 @@ -import warnings -warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__), - DeprecationWarning, stacklevel=2) -from Carbon.Icons import * diff --git a/Mac/Lib/lib-compat/List.py b/Mac/Lib/lib-compat/List.py deleted file mode 100644 index 91423ed119..0000000000 --- a/Mac/Lib/lib-compat/List.py +++ /dev/null @@ -1,4 +0,0 @@ -import warnings -warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__), - DeprecationWarning, stacklevel=2) -from Carbon.List import * diff --git a/Mac/Lib/lib-compat/Lists.py b/Mac/Lib/lib-compat/Lists.py deleted file mode 100644 index 6b610b1882..0000000000 --- a/Mac/Lib/lib-compat/Lists.py +++ /dev/null @@ -1,4 +0,0 @@ -import warnings -warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__), - DeprecationWarning, stacklevel=2) -from Carbon.Lists import * diff --git a/Mac/Lib/lib-compat/MacTextEditor.py b/Mac/Lib/lib-compat/MacTextEditor.py deleted file mode 100644 index ba19e27a6b..0000000000 --- a/Mac/Lib/lib-compat/MacTextEditor.py +++ /dev/null @@ -1,4 +0,0 @@ -import warnings -warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__), - DeprecationWarning, stacklevel=2) -from Carbon.MacTextEditor import * diff --git a/Mac/Lib/lib-compat/MediaDescr.py b/Mac/Lib/lib-compat/MediaDescr.py deleted file mode 100644 index 3cf69129f7..0000000000 --- a/Mac/Lib/lib-compat/MediaDescr.py +++ /dev/null @@ -1,4 +0,0 @@ -import warnings -warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__), - DeprecationWarning, stacklevel=2) -from Carbon.MediaDescr import * diff --git a/Mac/Lib/lib-compat/Menu.py b/Mac/Lib/lib-compat/Menu.py deleted file mode 100644 index f2210cba97..0000000000 --- a/Mac/Lib/lib-compat/Menu.py +++ /dev/null @@ -1,4 +0,0 @@ -import warnings -warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__), - DeprecationWarning, stacklevel=2) -from Carbon.Menu import * diff --git a/Mac/Lib/lib-compat/Menus.py b/Mac/Lib/lib-compat/Menus.py deleted file mode 100644 index 073a6d3969..0000000000 --- a/Mac/Lib/lib-compat/Menus.py +++ /dev/null @@ -1,4 +0,0 @@ -import warnings -warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__), - DeprecationWarning, stacklevel=2) -from Carbon.Menus import * diff --git a/Mac/Lib/lib-compat/Mlte.py b/Mac/Lib/lib-compat/Mlte.py deleted file mode 100644 index bc15dc05c9..0000000000 --- a/Mac/Lib/lib-compat/Mlte.py +++ /dev/null @@ -1,4 +0,0 @@ -import warnings -warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__), - DeprecationWarning, stacklevel=2) -from Carbon.Mlte import * diff --git a/Mac/Lib/lib-compat/QDOffscreen.py b/Mac/Lib/lib-compat/QDOffscreen.py deleted file mode 100644 index a13c620ac2..0000000000 --- a/Mac/Lib/lib-compat/QDOffscreen.py +++ /dev/null @@ -1,4 +0,0 @@ -import warnings -warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__), - DeprecationWarning, stacklevel=2) -from Carbon.QDOffscreen import * diff --git a/Mac/Lib/lib-compat/Qd.py b/Mac/Lib/lib-compat/Qd.py deleted file mode 100644 index ccfa80d292..0000000000 --- a/Mac/Lib/lib-compat/Qd.py +++ /dev/null @@ -1,4 +0,0 @@ -import warnings -warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__), - DeprecationWarning, stacklevel=2) -from Carbon.Qd import * diff --git a/Mac/Lib/lib-compat/Qdoffs.py b/Mac/Lib/lib-compat/Qdoffs.py deleted file mode 100644 index b1f033b590..0000000000 --- a/Mac/Lib/lib-compat/Qdoffs.py +++ /dev/null @@ -1,4 +0,0 @@ -import warnings -warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__), - DeprecationWarning, stacklevel=2) -from Carbon.Qdoffs import * diff --git a/Mac/Lib/lib-compat/Qt.py b/Mac/Lib/lib-compat/Qt.py deleted file mode 100644 index 1b91fabfab..0000000000 --- a/Mac/Lib/lib-compat/Qt.py +++ /dev/null @@ -1,4 +0,0 @@ -import warnings -warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__), - DeprecationWarning, stacklevel=2) -from Carbon.Qt import * diff --git a/Mac/Lib/lib-compat/QuickDraw.py b/Mac/Lib/lib-compat/QuickDraw.py deleted file mode 100644 index d92fda598e..0000000000 --- a/Mac/Lib/lib-compat/QuickDraw.py +++ /dev/null @@ -1,4 +0,0 @@ -import warnings -warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__), - DeprecationWarning, stacklevel=2) -from Carbon.QuickDraw import * diff --git a/Mac/Lib/lib-compat/QuickTime.py b/Mac/Lib/lib-compat/QuickTime.py deleted file mode 100644 index e80bdba64d..0000000000 --- a/Mac/Lib/lib-compat/QuickTime.py +++ /dev/null @@ -1,4 +0,0 @@ -import warnings -warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__), - DeprecationWarning, stacklevel=2) -from Carbon.QuickTime import * diff --git a/Mac/Lib/lib-compat/Res.py b/Mac/Lib/lib-compat/Res.py deleted file mode 100644 index e43f49bd8e..0000000000 --- a/Mac/Lib/lib-compat/Res.py +++ /dev/null @@ -1,4 +0,0 @@ -import warnings -warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__), - DeprecationWarning, stacklevel=2) -from Carbon.Res import * diff --git a/Mac/Lib/lib-compat/Resources.py b/Mac/Lib/lib-compat/Resources.py deleted file mode 100644 index ec60421e3f..0000000000 --- a/Mac/Lib/lib-compat/Resources.py +++ /dev/null @@ -1,4 +0,0 @@ -import warnings -warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__), - DeprecationWarning, stacklevel=2) -from Carbon.Resources import * diff --git a/Mac/Lib/lib-compat/Scrap.py b/Mac/Lib/lib-compat/Scrap.py deleted file mode 100644 index 2af9d5939e..0000000000 --- a/Mac/Lib/lib-compat/Scrap.py +++ /dev/null @@ -1,4 +0,0 @@ -import warnings -warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__), - DeprecationWarning, stacklevel=2) -from Carbon.Scrap import * diff --git a/Mac/Lib/lib-compat/Snd.py b/Mac/Lib/lib-compat/Snd.py deleted file mode 100644 index 0d2920cfe1..0000000000 --- a/Mac/Lib/lib-compat/Snd.py +++ /dev/null @@ -1,4 +0,0 @@ -import warnings -warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__), - DeprecationWarning, stacklevel=2) -from Carbon.Snd import * diff --git a/Mac/Lib/lib-compat/Sndihooks.py b/Mac/Lib/lib-compat/Sndihooks.py deleted file mode 100644 index 8a98520f60..0000000000 --- a/Mac/Lib/lib-compat/Sndihooks.py +++ /dev/null @@ -1,4 +0,0 @@ -import warnings -warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__), - DeprecationWarning, stacklevel=2) -from Carbon.Sndihooks import * diff --git a/Mac/Lib/lib-compat/Sound.py b/Mac/Lib/lib-compat/Sound.py deleted file mode 100644 index 4666c036bf..0000000000 --- a/Mac/Lib/lib-compat/Sound.py +++ /dev/null @@ -1,4 +0,0 @@ -import warnings -warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__), - DeprecationWarning, stacklevel=2) -from Carbon.Sound import * diff --git a/Mac/Lib/lib-compat/TE.py b/Mac/Lib/lib-compat/TE.py deleted file mode 100644 index 018313fbb2..0000000000 --- a/Mac/Lib/lib-compat/TE.py +++ /dev/null @@ -1,4 +0,0 @@ -import warnings -warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__), - DeprecationWarning, stacklevel=2) -from Carbon.TE import * diff --git a/Mac/Lib/lib-compat/TextEdit.py b/Mac/Lib/lib-compat/TextEdit.py deleted file mode 100644 index 5add4e4f3d..0000000000 --- a/Mac/Lib/lib-compat/TextEdit.py +++ /dev/null @@ -1,4 +0,0 @@ -import warnings -warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__), - DeprecationWarning, stacklevel=2) -from Carbon.TextEdit import * diff --git a/Mac/Lib/lib-compat/Win.py b/Mac/Lib/lib-compat/Win.py deleted file mode 100644 index 3982dea719..0000000000 --- a/Mac/Lib/lib-compat/Win.py +++ /dev/null @@ -1,4 +0,0 @@ -import warnings -warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__), - DeprecationWarning, stacklevel=2) -from Carbon.Win import * diff --git a/Mac/Lib/lib-compat/Windows.py b/Mac/Lib/lib-compat/Windows.py deleted file mode 100644 index 852a0b75c0..0000000000 --- a/Mac/Lib/lib-compat/Windows.py +++ /dev/null @@ -1,4 +0,0 @@ -import warnings -warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__), - DeprecationWarning, stacklevel=2) -from Carbon.Windows import * |