]> granicus.if.org Git - python/commit
- New function sys.exc_clear() clears the current exception. This is
authorGuido van Rossum <guido@python.org>
Sat, 1 Mar 2003 03:20:41 +0000 (03:20 +0000)
committerGuido van Rossum <guido@python.org>
Sat, 1 Mar 2003 03:20:41 +0000 (03:20 +0000)
commit46d3dc37e4a01e8d72b00ab9ad4e4a07022b7b64
treed2c8e67f458cd38115f6865be8034150d9e7242c
parentd1a283be269c66eb813948febc3ce6c9405fb64f
- New function sys.exc_clear() clears the current exception.  This is
  rarely needed, but can sometimes be useful to release objects
  referenced by the traceback held in sys.exc_info()[2].  (SF patch
  #693195.)  Thanks to Kevin Jacobs!
Doc/lib/libsys.tex
Doc/tut/tut.tex
Lib/test/test_sys.py
Misc/NEWS
Python/sysmodule.c