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.
diff --git a/Misc/NEWS b/Misc/NEWS
index 97fa2b7..466160f 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -23,6 +23,10 @@
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