From c4b09b4417a41163eb0c0f7df985d6b39ea1f552 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 4 Oct 2001 10:19:00 +0000 Subject: [PATCH] Add note about profile fix. --- Misc/NEWS | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Misc/NEWS b/Misc/NEWS index 6e8f9fccf71..1d437d09874 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -21,6 +21,11 @@ Library - doctest now excludes functions and classes not defined by the module being tested, thanks to Tim Hochberg. +- profile now produces correct output in situations where an exception + raised in Python is cleared by C code (e.g. hasattr()). This used + to cause wrong output, including spurious claims of recursive + functions and attribution of time spent to the wrong function. + - quopri's encode and decode methods take an optional header parameter, which indicates whether output is intended for the header 'Q' encoding.