[Python-Dev] Distutils using apply (original) (raw)
Guido van Rossum guido@python.org
Mon, 05 May 2003 08:03:58 -0400
- Previous message: [Python-Dev] Distutils using apply
- Next message: [Python-Dev] Distutils using apply
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I was wondering if a milder form of deprecation may be appropriate for some features such as the apply builtin:
1. Add a notice in docstring 'not recommended for new code' 2. Move to 'obsolete' or 'backward compatibility' section in manual 3. Do NOT produce a warning (pychecker may still do that) 4. Do NOT plan removal of feature in a specific future release
The form of deprecation used for apply() is already very mild (you don't get a warning unless you do -Wall). I don't think Moshe's use case is important enough to care; if Moshe cares, he can easily construct a command line argument or warnings.filterwarning() call to suppress the warnings he doesn't care about.
--Guido van Rossum (home page: http://www.python.org/~guido/)
- Previous message: [Python-Dev] Distutils using apply
- Next message: [Python-Dev] Distutils using apply
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]