[Python-Dev] Re: Deprecating divmod() // % for complex

Neal Norwitz neal@metaslash.com
Mon, 15 Apr 2002 09:16:42 -0400


Guido van Rossum wrote:
> 
> > Guido van Rossum wrote:
> > >
> > > [Tim]
> > > > Does it make sense to deprecate divmod() and // for complex numbers while
> > > > leaving % intact?
> > >
> > > It doesn't, and I've repaired this.
> >
> > Does it make sense to expand PEP 4 or make a new PEP to
> > point out all these other features which are also deprecated?
> > This would include classes/methods/functions, etc.
> 
> Unclear what the value is.  Deprecations are systematically listed in
> the documentation AFAIK.

So the APIs and doc can be removed.  Here's the current list, 
found by a lot of grepping in the Python modules:

    htmllib.HTMLParser.do_nextid()
    pty.master_open()
    pty.slave_open()
    pstats.Stats.ignore()
    rfc822.AddrlistClass
    string.zfill()

    Cookie.Cookie() # parameter usage change

There are probably others in the C modules.

Neal