summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-09-13 16:56:43 (GMT)
committerFred Drake <fdrake@acm.org>2001-09-13 16:56:43 (GMT)
commitb9a96282f16fddece6200ec8c0bfd8d0acfcc0e3 (patch)
tree8852e40c315ca706cbca5860f14c2e0aead922fc /Python
parent02fac83ba173330fda5237fceb517b8c67110015 (diff)
downloadcpython-b9a96282f16fddece6200ec8c0bfd8d0acfcc0e3.zip
cpython-b9a96282f16fddece6200ec8c0bfd8d0acfcc0e3.tar.gz
cpython-b9a96282f16fddece6200ec8c0bfd8d0acfcc0e3.tar.bz2
Admit that we'll never add the args for a "call" event to the profile
and trace functions; this now declares that None will be passed for the "call" event. This closes SF bug/suggestion #460315.
Diffstat (limited to 'Python')
-rw-r--r--Python/ceval.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index f948942..bbbdcf3 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -2,7 +2,6 @@
/* Execute compiled code */
/* XXX TO DO:
- XXX how to pass arguments to profile and trace functions?
XXX speed up searching for keywords by using a dictionary
XXX document it!
*/
@@ -605,7 +604,6 @@ eval_frame(PyFrameObject *f)
whenever an exception is detected. */
if (call_trace(tstate->c_tracefunc, tstate->c_traceobj,
f, PyTrace_CALL, Py_None)) {
- /* XXX Need way to compute arguments?? */
/* Trace function raised an error */
return NULL;
}
@@ -616,7 +614,6 @@ eval_frame(PyFrameObject *f)
if (call_trace(tstate->c_profilefunc,
tstate->c_profileobj,
f, PyTrace_CALL, Py_None)) {
- /* XXX Need way to compute arguments?? */
/* Profile function raised an error */
return NULL;
}