Differences between revisions 7 and 8
Revision 7 as of 2007-08-14 15:47:25
Size: 900
Comment:
Revision 8 as of 2007-08-14 15:53:24
Size: 644
Editor: sprint
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Is this the right place or is there another page with all py3000 removals of deprecated and obsolete things? (Nestor) Is this the right place or is there another page with all py3000 removals of deprecated and obsolete things? (Nestor) Maybe just the ones not mentioned in PEP3100 as done?
Line 4: Line 4:
  *atof() -> float()
  *atoi() -> int()
  *atol() -> int()
  *atof -> float
  *atoi -> int
  *atol -> int
Line 10: Line 10:
  *apply -> use * and **
  *callable
  *coerce
  *dict.has_key -> use x in dict
  *execfile
  *reduce -> moved to functools
  *reduce -> functools.reduce
Line 17: Line 12:

= Platforms =
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
intern? (is that used? can we move that to a module?)
buffer? (under construction, still builtin or its own module?)

Is this the right place or is there another page with all py3000 removals of deprecated and obsolete things? (Nestor) Maybe just the ones not mentioned in PEP3100 as done?

String module

  • 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

  • reduce -> functools.reduce

  • reload

intern? (is that used? can we move that to a module?) buffer? (under construction, still builtin or its own module?)

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

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