mirror of https://github.com/python/cpython
Have cfmfile raise a DeprecationWarning as per PEP 4.
This commit is contained in:
parent
791d56f1f7
commit
f0cb1d7ad6
|
@ -11,6 +11,9 @@ from Carbon import Res
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
import warnings
|
||||||
|
warnings.warn("the cfmfile module is deprecated", DeprecationWarning, 2)
|
||||||
|
|
||||||
DEBUG = 0
|
DEBUG = 0
|
||||||
|
|
||||||
error = "cfm.error"
|
error = "cfm.error"
|
||||||
|
|
|
@ -909,6 +909,8 @@ Windows
|
||||||
Mac
|
Mac
|
||||||
---
|
---
|
||||||
|
|
||||||
|
- cfmfile now raises a DeprecationWarning.
|
||||||
|
|
||||||
- buildtools now raises a DeprecationWarning.
|
- buildtools now raises a DeprecationWarning.
|
||||||
|
|
||||||
- Removed the macfs module. It had been deprecated since Python 2.5. This
|
- Removed the macfs module. It had been deprecated since Python 2.5. This
|
||||||
|
|
Loading…
Reference in New Issue