Mercurial > cpython-lru_cache-weakref
diff Python/codecs.c @ 28119:869695cba2cd legacy-trunk
- 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!
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Sat, 01 Mar 2003 03:20:41 +0000 |
| parents | c163f95b300c |
| children | 850626d47574 |
