diff options
author | Guido van Rossum <guido@python.org> | 2003-03-01 03:20:41 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2003-03-01 03:20:41 (GMT) |
commit | 46d3dc37e4a01e8d72b00ab9ad4e4a07022b7b64 (patch) | |
tree | d2c8e67f458cd38115f6865be8034150d9e7242c /Misc | |
parent | d1a283be269c66eb813948febc3ce6c9405fb64f (diff) | |
download | cpython-46d3dc37e4a01e8d72b00ab9ad4e4a07022b7b64.zip cpython-46d3dc37e4a01e8d72b00ab9ad4e4a07022b7b64.tar.gz cpython-46d3dc37e4a01e8d72b00ab9ad4e4a07022b7b64.tar.bz2 |
- 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!
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -12,6 +12,12 @@ What's New in Python 2.3 beta 1? Core and builtins ----------------- + +- 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.) + - On 64-bit systems, a dictionary could contain duplicate long/int keys if the key value was larger than 2**32. See SF bug #689659. |