cpython/Python
Fred Drake 5755ce693d Revise the interface to the profiling and tracing support for the
Python interpreter.

This change adds two new C-level APIs:  PyEval_SetProfile() and
PyEval_SetTrace().  These can be used to install profile and trace
functions implemented in C, which can operate at much higher speeds
than Python-based functions.  The overhead for calling a C-based
profile function is a very small fraction of a percent of the overhead
involved in calling a Python-based function.

The machinery required to call a Python-based profile or trace
function been moved to sysmodule.c, where sys.setprofile() and
sys.setprofile() simply become users of the new interface.

As a side effect, SF bug #436058 is fixed; there is no longer a
_PyTrace_Init() function to declare.
2001-06-27 19:19:46 +00:00
..
.cvsignore
atof.c
bltinmodule.c use Py_UNICODE_WIDE instead of USE_UCS4_STORAGE and Py_UNICODE_SIZE 2001-06-27 18:59:43 +00:00
ceval.c Revise the interface to the profiling and tracing support for the 2001-06-27 19:19:46 +00:00
codecs.c
compile.c SF bug #436207: "if 0: yield x" is ignored. 2001-06-26 03:36:28 +00:00
dup2.c
dynload_aix.c
dynload_beos.c
dynload_dl.c
dynload_hpux.c
dynload_mac.c
dynload_next.c
dynload_os2.c
dynload_shlib.c
dynload_stub.c
dynload_win.c Always pass a full path name to LoadLibraryEx(). Fixes some Windows 9x problems. As discussed on python-dev 2001-05-09 00:50:59 +00:00
errors.c PyErr_Occurred(): Use PyThreadState_GET(), which saves a tiny function call 2001-05-30 06:09:50 +00:00
exceptions.c Iterators phase 1. This comprises: 2001-04-20 19:13:02 +00:00
fmod.c
frozen.c
frozenmain.c
future.c
getargs.c Change cascaded if stmts to switch stmt in vgetargs1(). 2001-05-29 17:46:19 +00:00
getcompiler.c
getcopyright.c Because this code was derived from Python 1.6.1 (amongst others), the 2001-04-12 20:53:31 +00:00
getcwd.c
getmtime.c
getopt.c
getplatform.c
getversion.c
graminit.c Merging the gen-branch into the main line, at Guido's direction. Yay! 2001-06-18 22:08:13 +00:00
hypot.c
import.c SF bug #417093: Case sensitive import: dir and .py file w/ same name 2001-04-29 22:21:25 +00:00
importdl.c
importdl.h
marshal.c Merging the gen-branch into the main line, at Guido's direction. Yay! 2001-06-18 22:08:13 +00:00
memmove.c
modsupport.c Py_BuildValue(): Add "D" conversion to create a Python complex value from 2001-03-12 21:03:26 +00:00
mystrtoul.c
pyfpe.c
pystate.c Revise the interface to the profiling and tracing support for the 2001-06-27 19:19:46 +00:00
pythonmain.c
pythonrun.c Temporarily disable the message to stderr. Jeremy will know what to do 2001-06-13 17:18:06 +00:00
sigcheck.c
strdup.c
strerror.c
strtod.c
structmember.c
symtable.c Merging the gen-branch into the main line, at Guido's direction. Yay! 2001-06-18 22:08:13 +00:00
sysmodule.c Revise the interface to the profiling and tracing support for the 2001-06-27 19:19:46 +00:00
thread.c
thread_beos.h
thread_cthread.h
thread_foobar.h
thread_lwp.h
thread_nt.h
thread_os2.h
thread_pth.h
thread_pthread.h
thread_sgi.h
thread_solaris.h
thread_wince.h
traceback.c