[Python-checkins] r55719 - in python/trunk: Lib/plat-mac/buildtools.py Misc/NEWS
brett.cannon
python-checkins at python.org
Thu May 31 21:40:48 CEST 2007
Author: brett.cannon
Date: Thu May 31 21:40:42 2007
New Revision: 55719
Modified:
python/trunk/Lib/plat-mac/buildtools.py
python/trunk/Misc/NEWS
Log:
Cause buildtools to raise a DeprecationWarning.
Modified: python/trunk/Lib/plat-mac/buildtools.py
==============================================================================
--- python/trunk/Lib/plat-mac/buildtools.py (original)
+++ python/trunk/Lib/plat-mac/buildtools.py Thu May 31 21:40:42 2007
@@ -14,6 +14,9 @@
import EasyDialogs
import shutil
+import warnings
+warnings.warn("the buildtools module is deprecated", DeprecationWarning, 2)
+
BuildError = "BuildError"
Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS (original)
+++ python/trunk/Misc/NEWS Thu May 31 21:40:42 2007
@@ -909,6 +909,8 @@
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.
More information about the Python-checkins
mailing list