Differences between revisions 1 and 18 (spanning 17 versions)
Revision 1 as of 2007-08-14 14:58:56
Size: 44
Editor: sprint
Comment:
Revision 18 as of 2007-08-21 20:09:23
Size: 3753
Editor: 65
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= String methods =
  * atof()
  * atoi()
= Platforms =

We're now maintaining a list of tasks in a shared spreadsheet: http://spreadsheets.google.com/ccc?key=pBLWM8elhFAmKbrhhh0ApQA

The following platforms will not be supported in 3.0. Their code (conditional compilation, platform-specific attributes and functions, documentation, etc) will be removed. Skip Montanaro is working on this (and will shout for help when he gets confused).
  * RISCOS
  * BeOS
  * Irix
  * Tru64


Is this the right place or is there another page with all py3000 removals of deprecated and obsolete things? (Nestor) This is just by googling the docs.

= String module =
[remove done]
http://www.python.org/doc/2.3.5/lib/module-string.html
  *atof -> float
  *atoi -> int
  *atol -> int
  *capitalize, expandtabs, find, rfind, rfind, index, rindex, count, lower, split, rsplit, splitfields, join, joinfields, lstrip, rstrip, strip, swapcase, translate, upper, ljust, rejust, center, zfill, replace -> methods

= builtins =
http://www.python.org/dev/peps/pep-3100/#built-in-namespace
  *buffer (in progress)
  *reduce -> functools.reduce [remove done] (was it already added to functools also?)
  *compile (in progress)

= core =
http://www.python.org/dev/peps/pep-3100/#core-language
  *Unify builtin, builtins [patch: http://www.python.org/sf/1774369]

http://www.python.org/doc/2.2.3/ref/sequence-methods.html
  *__getslice__, __setslice__, __delslice__ [Thomas Wouters is working on this in a branch]

= whole modules =
(from http://www.python.org/dev/peps/pep-0004/ and http://www.python.org/dev/peps/pep-3100/#standard-library)
  *buildtools
  *mimetools
  *mpz
  *multifile
  *posixfile
  *regsub
  *rfc822
  *rgbimage
  *rgbimgmodule
  *sha
  *statcache
  *string
  *sv
  *TERMIOS
  *timing
  *new ('...new module can be deprecated in a future Python version, because you can now use the type objects...')http://www.python.org/doc/2.3/whatsnew/node17.html also http://www.python.org/dev/peps/pep-0294/

  *popen2, os.popen (http://www.python.org/dev/peps/pep-0361/)
  *SOCKET? (http://www.python.org/download/releases/2.1.3/NEWS.txt)

from http://www.python.org/download/releases/2.3/highlights/
  *rotor (...this module is deprecated. It is too easily cracked...)
  *bastion and rexec (...disabled. Are these still in the stdlib?)
  *linuxaudiodev (...based on the (now deprecated) linuxaudiodev module by Peter Bosch...)


= c api =
  *tp_print, tp_getattr, tp_setattr http://www.python.org/doc/2.3.5/api/type-structs.html
  *METH_OLDARGS http://mail.python.org/pipermail/python-dev/2006-May/065306.html

= Cookie =
http://www.python.org/doc/2.4/lib/module-Cookie.html
  *SerialCookie
  *SmartCookie

= Operator =
http://www.python.org/doc/2.2.1/lib/module-operator.html
  *sequenceIncludes
  *isCallable

= Sys =
http://www.python.org/doc/2.4.4/lib/module-sys.html
  *exc_traceback
  *exitfunc

= email =
Parser
http://www.python.org/doc/2.5/lib/node150.html
get_type
get_main_type
get_type
get_subtype
(probably gone already? http://www.python.org/doc/2.4/lib/node562.html)
dump_address_pair
decode
encode
(probably gone already? http://www.python.org/doc/2.2.3/lib/module-email.Utils.html)



= Already Accomplished =
= builtins =
http://www.python.org/dev/peps/pep-3100/#built-in-namespace
  *apply -> * and ** [done]
  *callable [done]
  *coerce [done]
  *execfile -> exec [done]
  *reload -> exec [done]
  *intern [done]
  *xrange -> range [done]
  *StandardError [done]
  *xreadlines() method and module are now deprecated. [done]

= core =
http://www.python.org/dev/peps/pep-3100/#core-language
  *dict.has_key -> x in dict [done]
  *backticks -> repr() [done]
  *<> -> != [done]

Platforms

We're now maintaining a list of tasks in a shared spreadsheet: http://spreadsheets.google.com/ccc?key=pBLWM8elhFAmKbrhhh0ApQA

The following platforms will not be supported in 3.0. Their code (conditional compilation, platform-specific attributes and functions, documentation, etc) will be removed. Skip Montanaro is working on this (and will shout for help when he gets confused).

  • RISCOS
  • BeOS
  • Irix
  • Tru64

Is this the right place or is there another page with all py3000 removals of deprecated and obsolete things? (Nestor) This is just by googling the docs.

String module

[remove done] http://www.python.org/doc/2.3.5/lib/module-string.html

  • atof -> float

  • atoi -> int

  • atol -> int

  • capitalize, expandtabs, find, rfind, rfind, index, rindex, count, lower, split, rsplit, splitfields, join, joinfields, lstrip, rstrip, strip, swapcase, translate, upper, ljust, rejust, center, zfill, replace -> methods

builtins

http://www.python.org/dev/peps/pep-3100/#built-in-namespace

  • buffer (in progress)
  • reduce -> functools.reduce [remove done] (was it already added to functools also?)

  • compile (in progress)

core

http://www.python.org/dev/peps/pep-3100/#core-language

http://www.python.org/doc/2.2.3/ref/sequence-methods.html

  • getslice, setslice, delslice [Thomas Wouters is working on this in a branch]

whole modules

(from http://www.python.org/dev/peps/pep-0004/ and http://www.python.org/dev/peps/pep-3100/#standard-library)

from http://www.python.org/download/releases/2.3/highlights/

  • rotor (...this module is deprecated. It is too easily cracked...)
  • bastion and rexec (...disabled. Are these still in the stdlib?)
  • linuxaudiodev (...based on the (now deprecated) linuxaudiodev module by Peter Bosch...)

c api

Cookie

http://www.python.org/doc/2.4/lib/module-Cookie.html

Operator

http://www.python.org/doc/2.2.1/lib/module-operator.html

  • sequenceIncludes
  • isCallable

Sys

http://www.python.org/doc/2.4.4/lib/module-sys.html

  • exc_traceback
  • exitfunc

email

Parser http://www.python.org/doc/2.5/lib/node150.html get_type get_main_type get_type get_subtype (probably gone already? http://www.python.org/doc/2.4/lib/node562.html) dump_address_pair decode encode (probably gone already? http://www.python.org/doc/2.2.3/lib/module-email.Utils.html)

Already Accomplished

builtins

http://www.python.org/dev/peps/pep-3100/#built-in-namespace

  • apply -> * and ** [done]

  • callable [done]
  • coerce [done]
  • execfile -> exec [done]

  • reload -> exec [done]

  • intern [done]
  • xrange -> range [done]

  • StandardError [done]

  • xreadlines() method and module are now deprecated. [done]

core

http://www.python.org/dev/peps/pep-3100/#core-language

  • dict.has_key -> x in dict [done]

  • backticks -> repr() [done]

  • <> -> != [done]

Py3kDeprecated (last edited 2019-10-27 00:00:19 by FrancesHocutt)

Unable to edit the page? See the FrontPage for instructions.