[Python-Dev] Removing stuff from 2.4

A.M. Kuchling amk at amk.ca
Sat Aug 7 22:57:03 CEST 2004


Hunting for deprecated modules.

* Deprecated in 2.1: TERMIOS.py, whrandom.py.  
* Deprecated in 2.2: mpz module, statcache module.  

  There are also various 2.2-deprecated methods in the email package;
  Barry can decide if he wants to bother with them or not.

* Deprecated in 2.3: xreadlines module, rotor module, rfc822 module,
  mimetools module, mimify module, MimeWriter module.  

  Only rotor and xreadlines raise a DeprecationWarning in 2.3, so
  they're the only candidates for removal.  The other modules, except
  for xreadlines, are marked as deprecated in PEP4; should we make
  them trigger DeprecationWarnings?

My proposal: 
* Remove TERMIOS, mpz, statcache, xreadlines, rotor.
* Make rfc822 raise PendingDeprecationWarning (so nothing will happen in 2.4
  unless you have -Wa)
* Make mimetools, mimify, Mimewrite raise DeprecationWarnings.  (This 
  is the part I'm least sure about; comments from people who know about
  these modules would be appreciated.  Should they raise Pending instead?)

I don't know what to do about whrandom, if anything; remove it?  Leave
it for 2.5?  suggestions?

--amk


More information about the Python-Dev mailing list