Add warnings to and deprecated all those Mac modules

This commit is contained in:
Benjamin Peterson 2008-05-12 21:42:13 +00:00
parent f9b54c2411
commit 236819310d
59 changed files with 286 additions and 11 deletions

View file

@ -37,6 +37,9 @@ The next time you launch PythonInterpreter or Python IDE, the patch will take
effect.
"""
from warnings import warnpy3k
warnpy3k("In 3.x, the icopen module is removed.")
import __builtin__
_builtin_open = globals().get('_builtin_open', __builtin__.open)