cpython/Python
Fred Drake 9e3ad78444 This change adjusts the profiling/tracing support so that the common
path (with no profile/trace function) through eval_code2() and
eval_frame() avoids several checks.

In the common cases of calls, returns, and exception propogation,
eval_code2() and eval_frame() used to test two values in the
thread-state: the profiling function and the tracing function.  With
this change, a flag is set in the thread-state if either of these is
active, allowing a single check to suffice when both are NULL.  This
also simplifies the code needed when either function is in use but is
already active (to avoid profiling/tracing the profiler/tracer); the
flag is set to 0 when the profile/trace code is entered, allowing the
same check to suffice for "already in the tracer" for call/return/
exception events.
2001-07-03 23:39:52 +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 This change adjusts the profiling/tracing support so that the common 2001-07-03 23:39:52 +00:00
codecs.c
compile.c Another "if 0:" hack, this time to complain about otherwise invisible 2001-06-28 01:52:22 +00:00
dup2.c
dynload_aix.c
dynload_beos.c
dynload_dl.c
dynload_hpux.c
dynload_mac.c Use #if TARGET_API_MAC_CARBON to determine carbon/classic macos, not #ifdef. 2001-01-19 23:34:06 +00:00
dynload_next.c
dynload_os2.c
dynload_shlib.c Oops, one more part of the cygwin patch (SF patch #102409 by jlt63: 2001-01-10 21:17:27 +00:00
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 When iterating over the names imported in a future statement, ignore the 2001-03-10 02:15:37 +00:00
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 Move distributed and duplicated config for stat() and fstat() into pyport.h. 2001-01-18 03:03:16 +00:00
getopt.c Move our own getopt() implementation to _PyOS_GetOpt(), and use it 2000-11-03 08:18:37 +00:00
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 This change adjusts the profiling/tracing support so that the common 2001-07-03 23:39:52 +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 SF bug http://sourceforge.net/bugs/?func=detailbug&bug_id=130242&group_id=5470 2001-01-27 06:20:08 +00:00
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 Fix syntax error. Submitted by Bill Bumgarner. Apparently this is 2000-11-13 19:45:45 +00:00
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