[Python-Dev] ref leak w/except hooks
Neal Norwitz
nnorwitz at gmail.com
Thu Mar 2 09:45:04 CET 2006
More information about the Python-Dev mailing list
Thu Mar 2 09:45:04 CET 2006
- Previous message: [Python-Dev] Arena-freeing obmalloc ready for testing
- Next message: [Python-Dev] ref leak w/except hooks
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
The following code leaks a reference. Original test case from Lib/test/test_sys.py in test_original_excepthook. import sys, StringIO eh = sys.__excepthook__ try: raise ValueError(42) except ValueError, exc: exc_type, exc_value, exc_tb = sys.exc_info() eh(exc_type, None, None)
- Previous message: [Python-Dev] Arena-freeing obmalloc ready for testing
- Next message: [Python-Dev] ref leak w/except hooks
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list