summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
Diffstat (limited to 'Mac')
-rw-r--r--Mac/Lib/lib-compat/AE.py3
-rw-r--r--Mac/Lib/lib-compat/App.py3
-rw-r--r--Mac/Lib/lib-compat/Appearance.py3
-rw-r--r--Mac/Lib/lib-compat/AppleEvents.py3
-rw-r--r--Mac/Lib/lib-compat/Balloons.py3
-rw-r--r--Mac/Lib/lib-compat/CF.py3
-rw-r--r--Mac/Lib/lib-compat/Cm.py3
-rw-r--r--Mac/Lib/lib-compat/Components.py3
-rw-r--r--Mac/Lib/lib-compat/ControlAccessor.py3
-rw-r--r--Mac/Lib/lib-compat/Controls.py3
-rw-r--r--Mac/Lib/lib-compat/Ctl.py3
-rw-r--r--Mac/Lib/lib-compat/Dialogs.py3
-rw-r--r--Mac/Lib/lib-compat/Dlg.py3
-rw-r--r--Mac/Lib/lib-compat/Drag.py3
-rw-r--r--Mac/Lib/lib-compat/Dragconst.py3
-rw-r--r--Mac/Lib/lib-compat/Events.py3
-rw-r--r--Mac/Lib/lib-compat/Evt.py3
-rw-r--r--Mac/Lib/lib-compat/Fm.py3
-rw-r--r--Mac/Lib/lib-compat/Fonts.py3
-rw-r--r--Mac/Lib/lib-compat/Help.py3
-rw-r--r--Mac/Lib/lib-compat/Icn.py3
-rw-r--r--Mac/Lib/lib-compat/Icons.py3
-rw-r--r--Mac/Lib/lib-compat/List.py3
-rw-r--r--Mac/Lib/lib-compat/Lists.py3
-rw-r--r--Mac/Lib/lib-compat/MacTextEditor.py3
-rw-r--r--Mac/Lib/lib-compat/MediaDescr.py3
-rw-r--r--Mac/Lib/lib-compat/Menu.py3
-rw-r--r--Mac/Lib/lib-compat/Menus.py3
-rw-r--r--Mac/Lib/lib-compat/Mlte.py3
-rw-r--r--Mac/Lib/lib-compat/QDOffscreen.py3
-rw-r--r--Mac/Lib/lib-compat/Qd.py3
-rw-r--r--Mac/Lib/lib-compat/Qdoffs.py3
-rw-r--r--Mac/Lib/lib-compat/Qt.py3
-rw-r--r--Mac/Lib/lib-compat/QuickDraw.py3
-rw-r--r--Mac/Lib/lib-compat/QuickTime.py3
-rw-r--r--Mac/Lib/lib-compat/Res.py3
-rw-r--r--Mac/Lib/lib-compat/Resources.py3
-rw-r--r--Mac/Lib/lib-compat/Scrap.py3
-rw-r--r--Mac/Lib/lib-compat/Snd.py3
-rw-r--r--Mac/Lib/lib-compat/Sndihooks.py3
-rw-r--r--Mac/Lib/lib-compat/Sound.py3
-rw-r--r--Mac/Lib/lib-compat/TE.py3
-rw-r--r--Mac/Lib/lib-compat/TextEdit.py3
-rw-r--r--Mac/Lib/lib-compat/Win.py3
-rw-r--r--Mac/Lib/lib-compat/Windows.py3
45 files changed, 135 insertions, 0 deletions
diff --git a/Mac/Lib/lib-compat/AE.py b/Mac/Lib/lib-compat/AE.py
index f30e2a1..6d8b6d0 100644
--- a/Mac/Lib/lib-compat/AE.py
+++ b/Mac/Lib/lib-compat/AE.py
@@ -1 +1,4 @@
+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
index c6db44a..f0aa9c7 100644
--- a/Mac/Lib/lib-compat/App.py
+++ b/Mac/Lib/lib-compat/App.py
@@ -1 +1,4 @@
+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
index 1cedc1e..3bd5dbe 100644
--- a/Mac/Lib/lib-compat/Appearance.py
+++ b/Mac/Lib/lib-compat/Appearance.py
@@ -1 +1,4 @@
+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
index 4cf9e40..2db9a9b 100644
--- a/Mac/Lib/lib-compat/AppleEvents.py
+++ b/Mac/Lib/lib-compat/AppleEvents.py
@@ -1 +1,4 @@
+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
index fab32a7..2a84932 100644
--- a/Mac/Lib/lib-compat/Balloons.py
+++ b/Mac/Lib/lib-compat/Balloons.py
@@ -1 +1,4 @@
+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
index 190aaa4..8ecf212 100644
--- a/Mac/Lib/lib-compat/CF.py
+++ b/Mac/Lib/lib-compat/CF.py
@@ -1 +1,4 @@
+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
index 3886502..16a16dc 100644
--- a/Mac/Lib/lib-compat/Cm.py
+++ b/Mac/Lib/lib-compat/Cm.py
@@ -1 +1,4 @@
+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
index 904b6bd..cd9e04c 100644
--- a/Mac/Lib/lib-compat/Components.py
+++ b/Mac/Lib/lib-compat/Components.py
@@ -1 +1,4 @@
+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
index 29019f8..5859da6 100644
--- a/Mac/Lib/lib-compat/ControlAccessor.py
+++ b/Mac/Lib/lib-compat/ControlAccessor.py
@@ -1 +1,4 @@
+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
index 4c7a63c..05b81d2 100644
--- a/Mac/Lib/lib-compat/Controls.py
+++ b/Mac/Lib/lib-compat/Controls.py
@@ -1 +1,4 @@
+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
index ac92302..fc6b855 100644
--- a/Mac/Lib/lib-compat/Ctl.py
+++ b/Mac/Lib/lib-compat/Ctl.py
@@ -1 +1,4 @@
+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
index 9f724f7..dc8b35f 100644
--- a/Mac/Lib/lib-compat/Dialogs.py
+++ b/Mac/Lib/lib-compat/Dialogs.py
@@ -1 +1,4 @@
+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
index 57a3534..7c84af2 100644
--- a/Mac/Lib/lib-compat/Dlg.py
+++ b/Mac/Lib/lib-compat/Dlg.py
@@ -1 +1,4 @@
+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
index 4e24db0..30fe93d 100644
--- a/Mac/Lib/lib-compat/Drag.py
+++ b/Mac/Lib/lib-compat/Drag.py
@@ -1 +1,4 @@
+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
index 6a787b9..9a3b725 100644
--- a/Mac/Lib/lib-compat/Dragconst.py
+++ b/Mac/Lib/lib-compat/Dragconst.py
@@ -1 +1,4 @@
+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
index 47b3834..a3d14b3 100644
--- a/Mac/Lib/lib-compat/Events.py
+++ b/Mac/Lib/lib-compat/Events.py
@@ -1 +1,4 @@
+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
index 015810c..a9e9cd5 100644
--- a/Mac/Lib/lib-compat/Evt.py
+++ b/Mac/Lib/lib-compat/Evt.py
@@ -1 +1,4 @@
+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
index 5c4cf60..7653f9c 100644
--- a/Mac/Lib/lib-compat/Fm.py
+++ b/Mac/Lib/lib-compat/Fm.py
@@ -1 +1,4 @@
+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
index f0a9a52..08ace63 100644
--- a/Mac/Lib/lib-compat/Fonts.py
+++ b/Mac/Lib/lib-compat/Fonts.py
@@ -1 +1,4 @@
+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
index fb2ac27..f9b3cb2 100644
--- a/Mac/Lib/lib-compat/Help.py
+++ b/Mac/Lib/lib-compat/Help.py
@@ -1 +1,4 @@
+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
index 0e3b44d..270dbc5 100644
--- a/Mac/Lib/lib-compat/Icn.py
+++ b/Mac/Lib/lib-compat/Icn.py
@@ -1 +1,4 @@
+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
index 2a310c0..d211a2a 100644
--- a/Mac/Lib/lib-compat/Icons.py
+++ b/Mac/Lib/lib-compat/Icons.py
@@ -1 +1,4 @@
+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
index 0b9fe56..91423ed 100644
--- a/Mac/Lib/lib-compat/List.py
+++ b/Mac/Lib/lib-compat/List.py
@@ -1 +1,4 @@
+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
index 5515599..6b610b1 100644
--- a/Mac/Lib/lib-compat/Lists.py
+++ b/Mac/Lib/lib-compat/Lists.py
@@ -1 +1,4 @@
+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
index d9f7226..ba19e27 100644
--- a/Mac/Lib/lib-compat/MacTextEditor.py
+++ b/Mac/Lib/lib-compat/MacTextEditor.py
@@ -1 +1,4 @@
+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
index a188c80..3cf6912 100644
--- a/Mac/Lib/lib-compat/MediaDescr.py
+++ b/Mac/Lib/lib-compat/MediaDescr.py
@@ -1 +1,4 @@
+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
index 9163f6d..f2210cb 100644
--- a/Mac/Lib/lib-compat/Menu.py
+++ b/Mac/Lib/lib-compat/Menu.py
@@ -1 +1,4 @@
+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
index a3c6cfc..073a6d3 100644
--- a/Mac/Lib/lib-compat/Menus.py
+++ b/Mac/Lib/lib-compat/Menus.py
@@ -1 +1,4 @@
+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
index 2e354cd..bc15dc0 100644
--- a/Mac/Lib/lib-compat/Mlte.py
+++ b/Mac/Lib/lib-compat/Mlte.py
@@ -1 +1,4 @@
+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
index e902e4b..a13c620 100644
--- a/Mac/Lib/lib-compat/QDOffscreen.py
+++ b/Mac/Lib/lib-compat/QDOffscreen.py
@@ -1 +1,4 @@
+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
index 74e3b93..ccfa80d 100644
--- a/Mac/Lib/lib-compat/Qd.py
+++ b/Mac/Lib/lib-compat/Qd.py
@@ -1 +1,4 @@
+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
index 4f7744c..b1f033b 100644
--- a/Mac/Lib/lib-compat/Qdoffs.py
+++ b/Mac/Lib/lib-compat/Qdoffs.py
@@ -1 +1,4 @@
+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
index a694792..1b91fab 100644
--- a/Mac/Lib/lib-compat/Qt.py
+++ b/Mac/Lib/lib-compat/Qt.py
@@ -1 +1,4 @@
+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
index d543183..d92fda5 100644
--- a/Mac/Lib/lib-compat/QuickDraw.py
+++ b/Mac/Lib/lib-compat/QuickDraw.py
@@ -1 +1,4 @@
+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
index 80e1bcc..e80bdba 100644
--- a/Mac/Lib/lib-compat/QuickTime.py
+++ b/Mac/Lib/lib-compat/QuickTime.py
@@ -1 +1,4 @@
+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
index ea3d20a..e43f49b 100644
--- a/Mac/Lib/lib-compat/Res.py
+++ b/Mac/Lib/lib-compat/Res.py
@@ -1 +1,4 @@
+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
index e4540d9..ec60421 100644
--- a/Mac/Lib/lib-compat/Resources.py
+++ b/Mac/Lib/lib-compat/Resources.py
@@ -1 +1,4 @@
+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
index a2192aa..2af9d59 100644
--- a/Mac/Lib/lib-compat/Scrap.py
+++ b/Mac/Lib/lib-compat/Scrap.py
@@ -1 +1,4 @@
+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
index 9c30004..0d2920c 100644
--- a/Mac/Lib/lib-compat/Snd.py
+++ b/Mac/Lib/lib-compat/Snd.py
@@ -1 +1,4 @@
+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
index be70477..8a98520 100644
--- a/Mac/Lib/lib-compat/Sndihooks.py
+++ b/Mac/Lib/lib-compat/Sndihooks.py
@@ -1 +1,4 @@
+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
index fc3c3bb..4666c03 100644
--- a/Mac/Lib/lib-compat/Sound.py
+++ b/Mac/Lib/lib-compat/Sound.py
@@ -1 +1,4 @@
+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
index fcadaf8..018313f 100644
--- a/Mac/Lib/lib-compat/TE.py
+++ b/Mac/Lib/lib-compat/TE.py
@@ -1 +1,4 @@
+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
index b1c3fbf..5add4e4 100644
--- a/Mac/Lib/lib-compat/TextEdit.py
+++ b/Mac/Lib/lib-compat/TextEdit.py
@@ -1 +1,4 @@
+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
index f8e64dd..3982dea 100644
--- a/Mac/Lib/lib-compat/Win.py
+++ b/Mac/Lib/lib-compat/Win.py
@@ -1 +1,4 @@
+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
index 06da2f1..852a0b7 100644
--- a/Mac/Lib/lib-compat/Windows.py
+++ b/Mac/Lib/lib-compat/Windows.py
@@ -1 +1,4 @@
+import warnings
+warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
+ DeprecationWarning, stacklevel=2)
from Carbon.Windows import *