[Python-Dev] More deprecations
Fred L. Drake, Jr.
fdrake@acm.org
Thu, 25 Apr 2002 22:30:48 -0400
Neal Norwitz writes:
> Should the use of deprecated functions in the stdlib be removed?
> string.atoi -> int
> string.atof -> float
> sys.exc_trackback -> sys.exc_info()[2]
Yes, especially that last one, since there are thread safety issues.
> ConfigParser.py:311: string.atoi is deprecated
> ConfigParser.py:314: string.atof is deprecated
> Cookie.py:331: string.atoi is deprecated
> inspect.py:658: sys.exc_traceback is deprecated
These are now fixed in CVS. Thanks!
-Fred
--
Fred L. Drake, Jr. <fdrake at acm.org>
PythonLabs at Zope Corporation