This is my patch

[ 587993 ] SET_LINENO killer

Remove SET_LINENO.  Tracing is now supported by inspecting co_lnotab.

Many sundry changes to document and adapt to this change.
diff --git a/Misc/NEWS b/Misc/NEWS
index 5abfb42..2c9d83f 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -57,6 +57,11 @@
 
 Core and builtins
 
+- SET_LINENO is gone.  co_lnotab is now consulted to determine when to
+  call the trace function.  C code that accessed f_lineno should call
+  PyCode_Addr2Line instead (f_lineno is still there, but not kept up
+  to date).
+
 - There's a new warning category, FutureWarning.  This is used to warn
   about a number of situations where the value or sign of an integer
   result will change in Python 2.4 as a result of PEP 237 (integer