Step 2 in putting the MacOS toolbox modules in a package: issue a DepracationWarning in the compatibility modules.

This commit is contained in:
Jack Jansen 2001-08-25 11:53:43 +00:00
parent 6af5bbb565
commit 6dba6bc0a2
45 changed files with 135 additions and 0 deletions

View file

@ -1 +1,4 @@
import warnings
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
DeprecationWarning, stacklevel=2)
from Carbon.AE import * from Carbon.AE import *

View file

@ -1 +1,4 @@
import warnings
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
DeprecationWarning, stacklevel=2)
from Carbon.App import * from Carbon.App import *

View file

@ -1 +1,4 @@
import warnings
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
DeprecationWarning, stacklevel=2)
from Carbon.Appearance import * from Carbon.Appearance import *

View file

@ -1 +1,4 @@
import warnings
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
DeprecationWarning, stacklevel=2)
from Carbon.AppleEvents import * from Carbon.AppleEvents import *

View file

@ -1 +1,4 @@
import warnings
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
DeprecationWarning, stacklevel=2)
from Carbon.Balloons import * from Carbon.Balloons import *

View file

@ -1 +1,4 @@
import warnings
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
DeprecationWarning, stacklevel=2)
from Carbon.CF import * from Carbon.CF import *

View file

@ -1 +1,4 @@
import warnings
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
DeprecationWarning, stacklevel=2)
from Carbon.Cm import * from Carbon.Cm import *

View file

@ -1 +1,4 @@
import warnings
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
DeprecationWarning, stacklevel=2)
from Carbon.Components import * from Carbon.Components import *

View file

@ -1 +1,4 @@
import warnings
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
DeprecationWarning, stacklevel=2)
from Carbon.ControlAccessor import * from Carbon.ControlAccessor import *

View file

@ -1 +1,4 @@
import warnings
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
DeprecationWarning, stacklevel=2)
from Carbon.Controls import * from Carbon.Controls import *

View file

@ -1 +1,4 @@
import warnings
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
DeprecationWarning, stacklevel=2)
from Carbon.Ctl import * from Carbon.Ctl import *

View file

@ -1 +1,4 @@
import warnings
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
DeprecationWarning, stacklevel=2)
from Carbon.Dialogs import * from Carbon.Dialogs import *

View file

@ -1 +1,4 @@
import warnings
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
DeprecationWarning, stacklevel=2)
from Carbon.Dlg import * from Carbon.Dlg import *

View file

@ -1 +1,4 @@
import warnings
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
DeprecationWarning, stacklevel=2)
from Carbon.Drag import * from Carbon.Drag import *

View file

@ -1 +1,4 @@
import warnings
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
DeprecationWarning, stacklevel=2)
from Carbon.Dragconst import * from Carbon.Dragconst import *

View file

@ -1 +1,4 @@
import warnings
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
DeprecationWarning, stacklevel=2)
from Carbon.Events import * from Carbon.Events import *

View file

@ -1 +1,4 @@
import warnings
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
DeprecationWarning, stacklevel=2)
from Carbon.Evt import * from Carbon.Evt import *

View file

@ -1 +1,4 @@
import warnings
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
DeprecationWarning, stacklevel=2)
from Carbon.Fm import * from Carbon.Fm import *

View file

@ -1 +1,4 @@
import warnings
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
DeprecationWarning, stacklevel=2)
from Carbon.Fonts import * from Carbon.Fonts import *

View file

@ -1 +1,4 @@
import warnings
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
DeprecationWarning, stacklevel=2)
from Carbon.Help import * from Carbon.Help import *

View file

@ -1 +1,4 @@
import warnings
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
DeprecationWarning, stacklevel=2)
from Carbon.Icn import * from Carbon.Icn import *

View file

@ -1 +1,4 @@
import warnings
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
DeprecationWarning, stacklevel=2)
from Carbon.Icons import * from Carbon.Icons import *

View file

@ -1 +1,4 @@
import warnings
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
DeprecationWarning, stacklevel=2)
from Carbon.List import * from Carbon.List import *

View file

@ -1 +1,4 @@
import warnings
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
DeprecationWarning, stacklevel=2)
from Carbon.Lists import * from Carbon.Lists import *

View file

@ -1 +1,4 @@
import warnings
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
DeprecationWarning, stacklevel=2)
from Carbon.MacTextEditor import * from Carbon.MacTextEditor import *

View file

@ -1 +1,4 @@
import warnings
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
DeprecationWarning, stacklevel=2)
from Carbon.MediaDescr import * from Carbon.MediaDescr import *

View file

@ -1 +1,4 @@
import warnings
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
DeprecationWarning, stacklevel=2)
from Carbon.Menu import * from Carbon.Menu import *

View file

@ -1 +1,4 @@
import warnings
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
DeprecationWarning, stacklevel=2)
from Carbon.Menus import * from Carbon.Menus import *

View file

@ -1 +1,4 @@
import warnings
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
DeprecationWarning, stacklevel=2)
from Carbon.Mlte import * from Carbon.Mlte import *

View file

@ -1 +1,4 @@
import warnings
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
DeprecationWarning, stacklevel=2)
from Carbon.QDOffscreen import * from Carbon.QDOffscreen import *

View file

@ -1 +1,4 @@
import warnings
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
DeprecationWarning, stacklevel=2)
from Carbon.Qd import * from Carbon.Qd import *

View file

@ -1 +1,4 @@
import warnings
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
DeprecationWarning, stacklevel=2)
from Carbon.Qdoffs import * from Carbon.Qdoffs import *

View file

@ -1 +1,4 @@
import warnings
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
DeprecationWarning, stacklevel=2)
from Carbon.Qt import * from Carbon.Qt import *

View file

@ -1 +1,4 @@
import warnings
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
DeprecationWarning, stacklevel=2)
from Carbon.QuickDraw import * from Carbon.QuickDraw import *

View file

@ -1 +1,4 @@
import warnings
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
DeprecationWarning, stacklevel=2)
from Carbon.QuickTime import * from Carbon.QuickTime import *

View file

@ -1 +1,4 @@
import warnings
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
DeprecationWarning, stacklevel=2)
from Carbon.Res import * from Carbon.Res import *

View file

@ -1 +1,4 @@
import warnings
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
DeprecationWarning, stacklevel=2)
from Carbon.Resources import * from Carbon.Resources import *

View file

@ -1 +1,4 @@
import warnings
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
DeprecationWarning, stacklevel=2)
from Carbon.Scrap import * from Carbon.Scrap import *

View file

@ -1 +1,4 @@
import warnings
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
DeprecationWarning, stacklevel=2)
from Carbon.Snd import * from Carbon.Snd import *

View file

@ -1 +1,4 @@
import warnings
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
DeprecationWarning, stacklevel=2)
from Carbon.Sndihooks import * from Carbon.Sndihooks import *

View file

@ -1 +1,4 @@
import warnings
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
DeprecationWarning, stacklevel=2)
from Carbon.Sound import * from Carbon.Sound import *

View file

@ -1 +1,4 @@
import warnings
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
DeprecationWarning, stacklevel=2)
from Carbon.TE import * from Carbon.TE import *

View file

@ -1 +1,4 @@
import warnings
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
DeprecationWarning, stacklevel=2)
from Carbon.TextEdit import * from Carbon.TextEdit import *

View file

@ -1 +1,4 @@
import warnings
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
DeprecationWarning, stacklevel=2)
from Carbon.Win import * from Carbon.Win import *

View file

@ -1 +1,4 @@
import warnings
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
DeprecationWarning, stacklevel=2)
from Carbon.Windows import * from Carbon.Windows import *