A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-April/023598.html below:

[Python-Dev] More deprecations

[Python-Dev] More deprecations [Python-Dev] More deprecationsFred 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




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4