The _lsprof module could crash the interpreter if it was given an external

timer that did not return a float and a timer was still running when the
Profiler object was garbage collected.

Fixes issue 3895.
Code review by Benjamin Peterson.
This commit is contained in:
Brett Cannon 2008-09-29 03:41:21 +00:00
parent 09c0178242
commit b2d61bde28
3 changed files with 29 additions and 2 deletions

View file

@ -23,6 +23,10 @@ Core and Builtins
Library
-------
- Issue #3895: It was possible to crash the interpreter when an external timer
was used with cProfile that returned an object that could not be converted
into a float.
- Issue #3950: Made turtle respect scale factors.
- Issue #3547: Fixed ctypes structures bitfields of varying integer