.. module:: user
:synopsis: A standard way to reference user-specific modules.
+ :deprecated:
+.. deprecated:: The user module has been removed in Python 3.0.
.. index::
pair: .pythonrc.py; file
class TestStdlibRemovals(unittest.TestCase):
- all_platforms = ('audiodev', 'imputil', 'mutex')
+ all_platforms = ('audiodev', 'imputil', 'mutex', 'user')
def check_removal(self, module_name):
"""Make sure the specified module, when imported, raises a
wishes to do different things depending on the Python version.
"""
+from warnings import warnpy3k
+warnpy3k("the user module has been removed in Python 3.0", stacklevel=2)
+del warnpy3k
import os
Library
-------
+- The user module has been deprecated for removal in Python 3.0.
+
- The stringold module has been deprecated for removal in Python 3.0.
- The mutex module has been deprecated for removal in Python 3.0.