[Python-Dev] More deprecations (original) (raw)

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. PythonLabs at Zope Corporation