mirror of https://github.com/python/cpython.git
Step 2 in putting the MacOS toolbox modules in a package: issue a DepracationWarning in the compatibility modules.
This commit is contained in:
parent
6af5bbb565
commit
6dba6bc0a2
|
@ -1 +1,4 @@
|
|||
import warnings
|
||||
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
|
||||
DeprecationWarning, stacklevel=2)
|
||||
from Carbon.AE import *
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
import warnings
|
||||
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
|
||||
DeprecationWarning, stacklevel=2)
|
||||
from Carbon.App import *
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
import warnings
|
||||
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
|
||||
DeprecationWarning, stacklevel=2)
|
||||
from Carbon.Appearance import *
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
import warnings
|
||||
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
|
||||
DeprecationWarning, stacklevel=2)
|
||||
from Carbon.AppleEvents import *
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
import warnings
|
||||
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
|
||||
DeprecationWarning, stacklevel=2)
|
||||
from Carbon.Balloons import *
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
import warnings
|
||||
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
|
||||
DeprecationWarning, stacklevel=2)
|
||||
from Carbon.CF import *
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
import warnings
|
||||
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
|
||||
DeprecationWarning, stacklevel=2)
|
||||
from Carbon.Cm import *
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
import warnings
|
||||
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
|
||||
DeprecationWarning, stacklevel=2)
|
||||
from Carbon.Components import *
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
import warnings
|
||||
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
|
||||
DeprecationWarning, stacklevel=2)
|
||||
from Carbon.ControlAccessor import *
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
import warnings
|
||||
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
|
||||
DeprecationWarning, stacklevel=2)
|
||||
from Carbon.Controls import *
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
import warnings
|
||||
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
|
||||
DeprecationWarning, stacklevel=2)
|
||||
from Carbon.Ctl import *
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
import warnings
|
||||
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
|
||||
DeprecationWarning, stacklevel=2)
|
||||
from Carbon.Dialogs import *
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
import warnings
|
||||
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
|
||||
DeprecationWarning, stacklevel=2)
|
||||
from Carbon.Dlg import *
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
import warnings
|
||||
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
|
||||
DeprecationWarning, stacklevel=2)
|
||||
from Carbon.Drag import *
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
import warnings
|
||||
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
|
||||
DeprecationWarning, stacklevel=2)
|
||||
from Carbon.Dragconst import *
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
import warnings
|
||||
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
|
||||
DeprecationWarning, stacklevel=2)
|
||||
from Carbon.Events import *
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
import warnings
|
||||
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
|
||||
DeprecationWarning, stacklevel=2)
|
||||
from Carbon.Evt import *
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
import warnings
|
||||
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
|
||||
DeprecationWarning, stacklevel=2)
|
||||
from Carbon.Fm import *
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
import warnings
|
||||
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
|
||||
DeprecationWarning, stacklevel=2)
|
||||
from Carbon.Fonts import *
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
import warnings
|
||||
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
|
||||
DeprecationWarning, stacklevel=2)
|
||||
from Carbon.Help import *
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
import warnings
|
||||
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
|
||||
DeprecationWarning, stacklevel=2)
|
||||
from Carbon.Icn import *
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
import warnings
|
||||
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
|
||||
DeprecationWarning, stacklevel=2)
|
||||
from Carbon.Icons import *
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
import warnings
|
||||
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
|
||||
DeprecationWarning, stacklevel=2)
|
||||
from Carbon.List import *
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
import warnings
|
||||
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
|
||||
DeprecationWarning, stacklevel=2)
|
||||
from Carbon.Lists import *
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
import warnings
|
||||
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
|
||||
DeprecationWarning, stacklevel=2)
|
||||
from Carbon.MacTextEditor import *
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
import warnings
|
||||
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
|
||||
DeprecationWarning, stacklevel=2)
|
||||
from Carbon.MediaDescr import *
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
import warnings
|
||||
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
|
||||
DeprecationWarning, stacklevel=2)
|
||||
from Carbon.Menu import *
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
import warnings
|
||||
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
|
||||
DeprecationWarning, stacklevel=2)
|
||||
from Carbon.Menus import *
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
import warnings
|
||||
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
|
||||
DeprecationWarning, stacklevel=2)
|
||||
from Carbon.Mlte import *
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
import warnings
|
||||
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
|
||||
DeprecationWarning, stacklevel=2)
|
||||
from Carbon.QDOffscreen import *
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
import warnings
|
||||
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
|
||||
DeprecationWarning, stacklevel=2)
|
||||
from Carbon.Qd import *
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
import warnings
|
||||
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
|
||||
DeprecationWarning, stacklevel=2)
|
||||
from Carbon.Qdoffs import *
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
import warnings
|
||||
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
|
||||
DeprecationWarning, stacklevel=2)
|
||||
from Carbon.Qt import *
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
import warnings
|
||||
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
|
||||
DeprecationWarning, stacklevel=2)
|
||||
from Carbon.QuickDraw import *
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
import warnings
|
||||
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
|
||||
DeprecationWarning, stacklevel=2)
|
||||
from Carbon.QuickTime import *
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
import warnings
|
||||
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
|
||||
DeprecationWarning, stacklevel=2)
|
||||
from Carbon.Res import *
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
import warnings
|
||||
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
|
||||
DeprecationWarning, stacklevel=2)
|
||||
from Carbon.Resources import *
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
import warnings
|
||||
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
|
||||
DeprecationWarning, stacklevel=2)
|
||||
from Carbon.Scrap import *
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
import warnings
|
||||
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
|
||||
DeprecationWarning, stacklevel=2)
|
||||
from Carbon.Snd import *
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
import warnings
|
||||
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
|
||||
DeprecationWarning, stacklevel=2)
|
||||
from Carbon.Sndihooks import *
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
import warnings
|
||||
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
|
||||
DeprecationWarning, stacklevel=2)
|
||||
from Carbon.Sound import *
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
import warnings
|
||||
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
|
||||
DeprecationWarning, stacklevel=2)
|
||||
from Carbon.TE import *
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
import warnings
|
||||
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
|
||||
DeprecationWarning, stacklevel=2)
|
||||
from Carbon.TextEdit import *
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
import warnings
|
||||
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
|
||||
DeprecationWarning, stacklevel=2)
|
||||
from Carbon.Win import *
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
import warnings
|
||||
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
|
||||
DeprecationWarning, stacklevel=2)
|
||||
from Carbon.Windows import *
|
||||
|
|
Loading…
Reference in New Issue