diff options
author | Brett Cannon <bcannon@gmail.com> | 2007-05-31 19:40:42 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2007-05-31 19:40:42 (GMT) |
commit | 791d56f1f71a9cc02993063ea1545d7ae8822bf2 (patch) | |
tree | 8b3132f39918c48b2a5222aeaaee83a7cc3e99f8 | |
parent | c2aa09ad8055ba3e03da297608552d04b42e9aac (diff) | |
download | cpython-791d56f1f71a9cc02993063ea1545d7ae8822bf2.zip cpython-791d56f1f71a9cc02993063ea1545d7ae8822bf2.tar.gz cpython-791d56f1f71a9cc02993063ea1545d7ae8822bf2.tar.bz2 |
Cause buildtools to raise a DeprecationWarning.
-rw-r--r-- | Lib/plat-mac/buildtools.py | 3 | ||||
-rw-r--r-- | Misc/NEWS | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/Lib/plat-mac/buildtools.py b/Lib/plat-mac/buildtools.py index c83e218..f5dab88 100644 --- a/Lib/plat-mac/buildtools.py +++ b/Lib/plat-mac/buildtools.py @@ -14,6 +14,9 @@ import macresource import EasyDialogs import shutil +import warnings +warnings.warn("the buildtools module is deprecated", DeprecationWarning, 2) + BuildError = "BuildError" @@ -909,6 +909,8 @@ Windows Mac --- +- buildtools now raises a DeprecationWarning. + - Removed the macfs module. It had been deprecated since Python 2.5. This lead to the deprecation of macostools.touched() as it relied solely on macfs and was a no-op under OS X. |