[Python-Dev] Distutils using apply (original) (raw)

Oren Tirosh oren-py-d@hishome.net
Mon, 5 May 2003 01:23:35 -0400


On Sun, May 04, 2003 at 06:55:44PM -0000, Moshe Zadka wrote:

Hi! I haven't seen this come up yet -- why is distutils still using apply? It causes warnings to be emitted when building packages with Python 2.3 and -Wall, and is altogether unclean.

Is this just a matter of checking in a patch? Or submitting one to SF? Or is there a real desire to be compatible to Python 1.5.2?

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

    Oren