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

M.-A. Lemburg mal@lemburg.com
Mon, 15 Apr 2002 15:02:45 +0200


Neal Norwitz 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?

IMHO, it does.

> This would include classes/methods/functions, etc.

Plus, a section which covers the C API.

All entries should include the reasoning and explain ways to 
upgrade old code or what to do in order to maintain backward
compatibility to run old code without change (e.g. to install
a backward compatibility add-on distutils package).
 
-- 
Marc-Andre Lemburg
CEO eGenix.com Software GmbH
______________________________________________________________________
Company & Consulting:                           http://www.egenix.com/
Python Software:                   http://www.egenix.com/files/python/