From: Guido van Rossum Date: Thu, 4 Oct 2001 10:19:00 +0000 (+0000) Subject: Add note about profile fix. X-Git-Tag: v2.2.1c1~1468 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c4b09b4417a41163eb0c0f7df985d6b39ea1f552;p=python Add note about profile fix. --- diff --git a/Misc/NEWS b/Misc/NEWS index 6e8f9fccf7..1d437d0987 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.