[Python-Dev] Re: Deprecation

holger krekel pyth@devel.trillke.net
Thu, 30 May 2002 23:41:22 +0200


Guido van Rossum wrote:
> > while i agree to this basic idea i wanted to remind of the other
> > point buried in my mail ... Changing the deprecation process to be based
> > on *version numbers* rather than *uncertain future points in time*...
> 
> -1.  It's hard to predict how often versions will be released.  The
> PEPs (4 and 5) specify time limits, which are better defined.

ok then. how would you translate (from PEP4)

 "The deprecation warning will be added to the module
  one year after Python 2.3 is released, and the
  module will be removed one year after that."

to an if-statement-check you want to implement *today*?

Additionally, if the above was based on versions you
could implement the *deprecation process* today, no need
to remember at which date some PEP mentioned something
which has been forgotten for three years <wink> anyway. 

Are we really supposed to remember release dates of
python versions? I mean of course they are of great
historic value, but ...

    holger